Properties
Property | Value |
Object Type | Codeunit |
Object Subtype | Normal |
Object ID | 23044920 |
Accessibility Level | Public |
Events
OnBeforeGetWhseActivityDocument()
OnBeforeGetWhseActivityDocument event executes inside getWarehouseActivityDocument procedure in Warehouse Insight’s Activity Management Codeunit before the procedure get the warehouse activity document by its default process. Subscribing to this event, the developer can customize the process to get warehouse activity document.
Syntax
OnBeforeGetWhseActivityDocument(var precWhseActivityHeader: Record “Warehouse Activity Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbHandled: Boolean)
Parameters
Parameter | Type | Description |
precWhseActivityHeader | Record “Warehouse Activity Header” | Record variable with all fields from warehouse activity header table. |
ptrecEventParams | Record “IWX Event Param” | The event context with all variables from the scanner. |
pbHandled | Boolean | Boolean variable to check if document list is handled. Set the value to true to skip the default get process. |
OnAfterFilterWhseActivityLines()
OnAfterFilterWhseActivityLines event executes inside getWarehouseActivityDocument procedure in Warehouse Insight’s Activity Management Codeunit after warehouse activity lines are filtered with location, sorting sequence, and tracking information. Subscribing to this event, the developers can customize and/or extend the default process with additional filters. Preparation of record references is the next step in getWarehouseActivityDocument procedure after OnAfterFilterWhseActivityLines event.
Syntax
OnAfterFilterWhseActivityLines(var precWhseActivityLine: Record “Warehouse Activity Line”, var ptrecEventParams: Record “IWX Event Param” temporary)
Parameters
Parameter | Type | Description |
precWhseActivityLine | Record “Warehouse Activity Line” | Record variable with all fields from warehouse activity line table. |
ptrecEventParams | Record “IWX Event Param” | The event context with all variables from the scanner. |
OnAfterGetWhseActivityDocument()
OnAfterGetWhseActivityDocument event executes inside getWarehouseActivityDocument procedure in Warehouse Insight’s Activity Management Codeunit after the procedure gets the warehouse activity document by its default process. Subscribing to this event, the developer can customize and/or extend the process after getting warehouse activity document.
Syntax
OnAfterGetWhseActivityDocument(var precWhseActivityHeader: Record “Warehouse Activity Header”, var ptrecEventParams: Record “IWX Event Param” temporary)
Parameters
Parameter | Type | Description |
precWhseActivityHeader | Record “Warehouse Activity Header” | Record variable with all fields from warehouse activity header table. |
ptrecEventParams | Record “IWX Event Param” | The event context with all variables from the scanner. |
OnBeforeRegisterWhseActivity()
OnBeforeRegisterWhseActivity event executes inside registerActivityDocument procedure in Warehouse Insight’s Activity Management Codeunit before the default process of the warehouse activity line register or post begins. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.
Syntax
OnBeforeRegisterWhseActivity(var precWhseActivityHeader: Record “Warehouse Activity Header”, var precWhseActivityLine: Record “Warehouse Activity Line”, var ptrecEventParams: Record “IWX Event Param” temporary)
Parameters
Parameter | Type | Description |
precWhseActivityHeader | Record “Warehouse Activity Header” | Record variable with all fields from warehouse activity header table. |
precWhseActivityLine | Record “Warehouse Activity Line” | Record variable with all fields from warehouse activity line table. |
ptrecEventParams | Record “IWX Event Param” | The event context with all variables from the scanner. |
OnBeforeUpdateWhseActivityLine()
OnBeforeUpdateWhseActivityLine event executes inside UpdateWarehouseActivtyLine procedure in Warehouse Insight’s Activity Management Codeunit before the default process of the warehouse shipment line update begins. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.
Syntax
OnBeforeUpdateWhseActivityLine(var precWhseActivityLine: Record “Warehouse Activity Line”, var pdQtyToShip: Decimal, var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pdtExpirationDate: Date, var lcodBinCode: Code[20], var lcodLPNumber: Code[20], var ptrecEventParams: Record “IWX Event Param” temporary, var pbHandled: Boolean)
Parameters
Parameter | Type | Description |
precWhseActivityLine | Record “Warehouse Activity Line” | Record variable with all fields from warehouse activity line table. |
pdQtyToShip | Decimal | Decimal variable of quantity to ship from ptrecEventParams. |
pcodSerialNumber | Code[50] | Code variable of serial number from ptrecEventParams. |
pcodLotNumber | Code[50] | Code variable of lot number from ptrecEventParams. |
pdtExpirationDate | Date | Date variable of expiration date from ptrecEventParams. |
lcodBinCode | Code[20] | Code variable of bin from ptrecEventParams. |
lcodLPNumber | Code[20] | Code variable of license plate number from ptrecEventParams. |
ptrecEventParams | Record “IWX Event Param” | The event context with all variables from the scanner. |
pbHandled | Boolean | Boolean variable to check if warehouse activity line is handled. Set the value to true to skip the default update process. |
OnAfterUpdateWhseActivityLine()
OnAfterUpdateWhseActivityLine event executes inside UpdateWarehouseActivtyLine procedure in Warehouse Insight’s Activity Management Codeunit after the default process of the warehouse activity line update finishes. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.
Syntax
OnAfterUpdateWhseActivityLine(var precWhseActivityLine: Record “Warehouse Activity Line”, var ptrecEventParams: Record “IWX Event Param” temporary)
Parameters
Parameter | Type | Description |
precWhseActivityLine | Record “Warehouse Activity Line” | Record variable with all fields from warehouse activity line table. |
ptrecEventParams | Record “IWX Event Param” | The event context with all variables from the scanner. |
OnAfterFilterLookupWhseActivityHeaders()
OnAfterFilterLookupWhseActivityHeaders event executes inside searchActivityDocuments procedure in Warehouse Insight’s Activity Management Codeunit after warehouse activity documents are filtered with location code, document type, assigned docs and user (if applicable). Developers can customize and/or extend the process for the warehouse activity document lookup by subscribing to this event. The following default search process on warehouse activity header does not proceed if there are return results in precWhseActivityHeader after the event runs.
Syntax
OnAfterFilterLookupWhseActivityHeaders(var precWhseActivityHeader: Record “Warehouse Activity Header”, var pbOnlyAssignedDocs: Boolean, var pcodUser: Code[50], var psFilter: Text)
Parameters
Parameter | Type | Description |
precWhseActivityHeader | Record “Warehouse Activity Header” | Record variable with all fields from warehouse activity header table. |
pbOnlyAssignedDocs | Boolean | Boolean variable of assigned docs for permission check. |
pcodUser | Code[50] | Code variable of user. |
psFilter | Text | Text variable of filter input information. |
OnAfterFilterLookupWhseActivityLines()
OnAfterFilterLookupWhseActivityLines event executes inside searchActivityDocuments procedure in Warehouse Insight’s Activity Management Codeunit after warehouse activity lines are filtered with warehouse activity header number, quantity outstanding, item, serial and lot number if applicable. Developers can customize and/or extend the default process for the warehouse activity line lookup by subscribing to this event. The following default search process on warehouse activity line does not proceed if there are return results in precWhseActivityLine after the event runs.
Syntax
OnAfterFilterLookupWhseActivityLines(var precWhseShiprecWhseActivityLinepmentLine: Record “Warehouse Activity Line”, var psFilter: Text, var pcodItemNumber: Code[20], var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50])
Parameters
Parameter | Type | Description |
precWhseShiprecWhseActivityLinepmentLine | Record “Warehouse Activity Line” | Record variable with all fields from warehouse activity header table. |
psFilter | Text | Text variable of filter input information. |
pcodItemNumber | Code[20] | Code variable of item number. |
pcodSerialNumber | Code[50] | Code variable of serial number. |
pcodLotNumber | Code[50] | Code variable of lot number. |