AfterLotInsert
Problem to be solved
This insertion point provides a way for the customer to initialize properties and attributes of a new lot. For example, the assignment of an initial lot state could involve a calculation of several variables. This insertion point provides a place to do this calculation to assign the correct lot state.
Specifics about this routine
This insertion interface is called after a new lot is created in the database, with the exception of a new lot created as the result of combining sublots of different lots in a composite container. These are the parameters to this function:
Param Name | Data Type | Description |
---|---|---|
LotName | String | Lot Name |
CreationDate | Date | Creation Date of the Lot |
MaterialID | Long | Material ID for the Material this Lot is derived |
LotID | Long | Pkid of the Lot record in the database |
This event is not fired for the insertion of a lot when a lot combination event occurs. In that event the
AfterCombinedLotInsert
event is fired. This event is only called when a plain generic insertion of Lot is performed.Related insertion points
Other insertion points that could work with this function include:
- AfterCombinedLotInsert
Provide Feedback