Properties

Property Value
Object Type Codeunit
Object Subtype Normal
Object ID 23044914
Accessibility Level Public

Events

OnBeforeGenerateSerialNumber()

OnBeforeGenerateSerialNumber event executes inside generateSerialNumber Procedure in Warehouse Insight’s Misc. Management Codeunit before the procedure generates a new serial number for an item by default. Developers can subscribe to this event to customize the process for creating a new serial number.

Syntax
OnBeforeGenerateSerialNumber(pcodItemNumber: Code[20], pcodVariantCode: Code[10], pcodSerialNumberOut: Code[50])
Parameters
Parameter Type Description
pcodItemNumber Code[20] Code variable to identify the product with item number.
pcodVariantCode Code[10] Code variable to identify the product with variant code.
pcodSerialNumberOut Code[50] Code variable to store product serial number information.

OnBeforeGenerateLotNumber()

OnBeforeGenerateLotNumber event executes inside generateLotNumber Procedure in Warehouse Insight’s Misc. Management Codeunit before the procedure generates a new lot number for an item by default. Developers can subscribe to this event to customize the process for creating a new lot number.

Syntax
OnBeforeGenerateLotNumber(pcodItemNumber: Code[20], pcodVariantCode: Code[10], pcodLotNumberOut: Code[50])
Parameters
Parameter Type Description
pcodItemNumber Code[20] Code variable to identify the product with item number.
pcodVariantCode Code[10] Code variable to identify the product with variant code.
pcodLotNumberOut Code[50] Code variable to store product lot number information.