OnGenerateCustomLotName
Problem to be solved
Composite containers can hold only one sublot at a time. If the composite container holds a sublot of LOT_A and a sublot of LOT_B is added to the container, the sublots are assumed to be mixed together and become a single sublot. What lot should the mixture belong to?
This insertion point allows you to define the lot to which a sublot formed by combining sublots of different lots will belong. This can be an existing lot or a new lot.
Specifics about this routine
This insertion point is only called when sublots of different lots are being combined by a composite container. These are the parameters for this function:
Param Name | Data Type | Direction | Description |
---|---|---|---|
DistributionAmount | Double | In | Amount of the distribution |
MaterialName | String | In | Name of Material |
DistributionLotName | String | In | Lot name given to the distribution |
AreaName | String | In | Area Name |
StepName | String | In | Step Name |
ProcessCell* | String | In | Process Cell |
UnitName* | String | In | Unit Name |
BatchID | String | In | Batch ID |
EqModule | String | In | Equipment Module |
RecipePath | String | In | Recipe Path |
ContainerName | String | In | Container name of the distribution |
ExistingLotName | String | In | Lot name that exists in the Container |
CustomLotName | String | Out | Returned value from the event This value represents what the custom Lot name will be based on in the insertion code. |
Related insertion points
Other insertion points that could work with this function include:
- OnGenerateCustomLabelName
- AfterSublotDelete
- AfterSublotInsert
- AfterCombinedLotInsert
Provide Feedback