Properties

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

Events

OnBeforeGetWhseReceipt()

OnBeforeGetWhseReceipt event executes inside GetReceiptDocument procedure in Warehouse Insight’s Receiving Management Codeunit before the procedure get the warehouse receipt document by its default process. Subscribing to this event, the developer can customize the process to get warehouse receipt document.

Syntax

OnBeforeGetWhseReceipt(var precWhseReceiptHeader: Record “Warehouse Receipt Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbHandled: Boolean)

Parameters
Parameter Type Description
precWhseReceiptHeader Record “Warehouse Receipt Header” Record variable with all fields from warehouse receipt header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbHandled Boolean Boolean variable to check if warehouse receipt document is handled. Set the value to true to skip the default process.

OnBeforeGetWarehouseReceipt()

OnBeforeGetWarehouseReceipt event executes inside GetReceiptDocument procedure in Warehouse Insight’s Receiving Management Codeunit before the procedure gets the warehouse receipt document by its default process. Subscribing to this event, the developer can customize the process to get warehouse receipt document.

Syntax

OnBeforeGetWarehouseReceipt(var precWhseReceiptHeader: Record “Warehouse Receipt Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbsOutput: BigText, var pbHandled: Boolean)

Parameters
Parameter Type Description
precWhseReceiptHeader Record “Warehouse Receipt Header” Record variable with all fields from warehouse receipt header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbsOutput BigText The output text to return back to the device.
pbHandled Boolean Boolean variable to check if warehouse receipt document is handled. Set the value to true to skip the default process.

OnAfterFilterWhseReceiptLines()

OnAfterFilterWhseReceiptLines event executes inside GetReceiptDocument procedure in Warehouse Insight’s Receiving Management Codeunit after warehouse receipt lines are filtered with sorting sequence number and receipt number. Subscribing to this event, developers can customize and/or extend the default process with additional filters. Preparation of record references is the next step in GetReceiptDocument procedure after OnAfterFilterWhseReceiptLines event.

Syntax

OnAfterFilterWhseReceiptLines(var precWhseReceiptLine: Record “Warehouse Receipt Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precWhseReceiptLine Record “Warehouse Receipt Line” Record variable with access to all fields from warehouse receipt line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterGetWhseReceipt()

OnAfterGetWhseReceipt event executes inside GetReceiptDocument procedure in Warehouse Insight’s Receiving Management Codeunit after the procedure get the warehouse receipt document by its default process. Subscribing to this event, the developer can customize and/or extend the process after getting warehouse receipt document.

Syntax

OnAfterGetWhseReceipt(var precWhseReceiptHeader: Record “Warehouse Receipt Header”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precWhseReceiptHeader Record “Warehouse Receipt Header” Record variable with access to all fields from warehouse receipt header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterGetWarehouseReceipt()

OnAfterGetWhseReceipt event executes inside GetReceiptDocument procedure in Warehouse Insight’s Receiving Management Codeunit after the procedure get the warehouse receipt document by its default process. Subscribing to this event, the developer can customize and/or extend the process after getting warehouse receipt document.

Syntax

OnAfterGetWarehouseReceipt(var precWhseReceiptHeader: Record “Warehouse Receipt Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbsOutput: BigText)

Parameters
Parameter Type Description
precWhseReceiptHeader Record “Warehouse Receipt Header” Record variable with access to all fields from warehouse receipt header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbsOutput BigText The output text to return back to the device.

OnBeforeUpdateWhseReceiptLine()

OnBeforeUpdateWhseReceiptLine event executes inside UpdateReceiptLine procedure in Warehouse Insight’s Receiving Management Codeunit before the default process of the warehouse receipt line update begins. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforeUpdateWhseReceiptLine(var precWhseReceiptLine: Record “Warehouse Receipt Line”, var pdQtyToReceive: 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
precWhseReceiptLine Record “Warehouse Receipt Line” Record variable with all fields from warehouse receipt line table.
pdQtyToReceive Decimal Decimal variable of quantity to receive 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 receipt is handled. Set the value to true to skip the default update process.

OnBeforeUpdateWarehouseReceiptLine()

OnBeforeUpdateWarehouseReceiptLine event executes inside UpdateReceiptLine procedure in WHI Receiving Management Codeunit before the default process of the warehouse receipt line update begins. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforeUpdateWarehouseReceiptLine(var precWhseReceiptLine: Record “Warehouse Receipt Line”, var pdQtyToReceive: 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 pbsOutput: BigText, var pbHandled: Boolean)

Parameters
Parameter Type Description
precWhseReceiptLine Record “Warehouse Receipt Line” Record variable with all fields from warehouse receipt line table.
pdQtyToReceive Decimal Decimal variable of quantity to receive 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.
pbsOutput BigText The output text to return back to the device.
pbHandled Boolean Boolean variable to check if warehouse receipt is handled. Set the value to true to skip the default update process.

OnAfterUpdateWhseReceiptLine()

OnAfterUpdateWhseReceiptLine event executes inside UpdateReceiptLine procedure in Warehouse Insight’s Receiving Management Codeunit after the default process of the warehouse receipt line update finishes. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnAfterUpdateWhseReceiptLine(var precWhseReceiptLine: Record “Warehouse Receipt Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precWhseReceiptLine Record “Warehouse Receipt Line” Record variable with all fields from warehouse receipt line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterUpdateWarehouseReceiptLine()

OnAfterUpdateWarehouseReceiptLine event executes inside UpdateReceiptLine procedure in Warehouse Insight’s Receiving Management Codeunit after the default process of the warehouse receipt line update finishes. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnAfterUpdateWarehouseReceiptLine(var precWhseReceiptLine: Record “Warehouse Receipt Line”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbsOutput: BigText)

Parameters
Parameter Type Description
precWhseReceiptLine Record “Warehouse Receipt Line” Record variable with all fields from warehouse receipt line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbsOutput BigText The output text to return back to the device.

OnBeforePostWhseReceipt()

OnBeforePostWhseReceipt event executes inside postWhseReceipt procedure in Warehouse Insight’s Receiving Management Codeunit before the default process of the warehouse receipt line post begins. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforePostWhseReceipt(var precWhseReceiptHeader: Record “Warehouse Receipt Header”, var precWhseReceiptLine: Record “Warehouse Receipt Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precWhseReceiptHeader Record “Warehouse Receipt Header” Record variable with all fields from warehouse receipt header table.
precWhseReceiptLine Record “Warehouse Receipt Line” Record variable with all fields from warehouse receipt line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterFilterLookupWhseRcptHeaders()

OnAfterFilterLookupWhseRcptHeaders event executes inside searchWhseReceipts procedure in Warehouse Insight’s Receiving Management Codeunit after warehouse receipts are filtered with location code, assigned docs and user if applicable. Developers can customize and/or extend the default process for the warehouse receipt list lookup by subscribing to this event. The following default search process will not proceed if there are return results in precWhseReceiptHeader after the event runs.

Syntax

OnAfterFilterLookupWhseRcptHeaders(var precWhseReceiptHeader: Record “Warehouse Receipt Header”, var pbOnlyAssignedDocs: Boolean, var pcodUser: Code[50], var psFilter: Text)

Parameters
Parameter Type Description
precWhseReceiptHeader Record “Warehouse Receipt Header” Record variable with all fields from warehouse receipt 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.

OnAfterFilterLookupWhseRcptLines()

OnAfterFilterLookupWhseRcptLines event executes inside searchWhseReceipts procedure in Warehouse Insight’s Receiving Management Codeunit after warehouse receipt lines are filtered with warehouse receipt header number, quantity outstanding, and item number if applicable. Developers can customize and/or extend the default process for the warehouse receipt line lookup by subscribing to this event. The following default search process on warehouse receipt line does not proceed if there are return results in precWhseReceiptLine after the event runs.

Syntax

OnAfterFilterLookupWhseRcptLines(var precWhseReceiptLine: Record “Warehouse Receipt Line”, var psFilter: Text, var pcodItemNumber: Code[20])

Parameters
Parameter Type Description
precWhseReceiptLine Record “Warehouse Receipt Line” Record variable with all fields from warehouse receipt line table.
psFilter Text Text variable of filter input information.
pcodItemNumber Code[20] Code variable of item number.

OnBeforeGetPurchaseOrder()

OnBeforeGetPurchaseOrder event executes inside GetPurchaseOrder procedure in Warehouse Insight’s Receiving Management Codeunit before the default process begins to get the purchase order. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforeGetPurchaseOrder(var precPurchaseHeader: Record “Purchase Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbHandled: Boolean)

Parameters
Parameter Type Description
precPurchaseHeader Record “Purchase Header” Record variable with all fields from warehouse receipt header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbHandled Boolean Boolean variable to check if purchase order is handled. Set the value to true to skip the default get process.

OnBeforeGetPurchaseOrderDocument()

OnBeforeGetPurchaseOrderDocument event executes inside GetPurchaseOrder procedure in WHI Receiving Management Codeunit before the default process begins to get the purchase order. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforeGetPurchaseOrderDocument(var precPurchaseHeader: Record “Purchase Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbsOutput: BigText, var pbHandled: Boolean)

Parameters
Parameter Type Description
precPurchaseHeader Record “Purchase Header” Record variable with all fields from warehouse receipt header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbsOutput BigText The output text to return back to the device.
pbHandled Boolean Boolean variable to check if purchase order is handled. Set the value to true to skip the default get process.

OnAfterFilterPurchaseLines()

OnAfterFilterPurchaseLines event executes inside GetPurchaseOrder procedure in Warehouse Insight’s Receiving Management Codeunit after the default filter process to get purchase order lines based on document, product, and order information. Developers can customize and/or extend the default process with additional filters by subscribing to this event.

Syntax

OnAfterFilterPurchaseLines(var precPurchaseLine: Record “Purchase Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precPurchaseLine Record “Purchase Line” Record variable of all fields from purchase line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterGetPurchaseOrder()

OnAfterGetPurchaseOrder event executes inside GetPurchaseOrder procedure in Warehouse Insight’s Receiving Management Codeunit after the default process has already retrieved purchase order information. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnAfterGetPurchaseOrder(var precPurchaseHeader: Record “Purchase Header”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precPurchaseHeader Record “Purchase Header” Record variable of all fields from purchase header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterGetPurchaseOrderDocument()

OnAfterGetPurchaseOrderDocument event executes inside GetPurchaseOrder procedure in Warehouse Insight’s Receiving Management Codeunit after the default process has already retrieved purchase order information. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnAfterGetPurchaseOrderDocument(var precPurchaseHeader: Record “Purchase Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbsOutput: BigText)

Parameters
Parameter Type Description
precPurchaseHeader Record “Purchase Header” Record variable of all fields from purchase header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbsOutput BigText The output text to return back to the device.

OnBeforeUpdatePurchaseLine()

OnBeforeUpdatePurchaseLine event executes inside UpdatePurchaseLine procedure in Warehouse Insight’s Receiving Management Codeunit before the default process of the purchase line update begins. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforeUpdatePurchaseLine(var precPurchaseLine: Record “Purchase Line”, var pdQtyToReceive: 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
precPurchaseLine Record “Purchase Line” Record variable with all fields from purchase line table.
pdQtyToReceive Decimal Decimal variable of quantity to receive 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 purchase line is handled. Set the value to true to skip the default update process.

OnBeforeUpdatePurchaseDocumentLine()

OnBeforeUpdatePurchaseDocumentLine event executes inside UpdatePurchaseLine procedure in WHI Receiving Management Codeunit before the default process of the purchase line update begins. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforeUpdatePurchaseDocumentLine(var precPurchaseLine: Record “Purchase Line”, var pdQtyToReceive: 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 pbsOutput: BigText, var pbHandled: Boolean)

Parameters
Parameter Type Description
precPurchaseLine Record “Purchase Line” Record variable with all fields from purchase line table.
pdQtyToReceive Decimal Decimal variable of quantity to receive 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.
pbsOutput BigText The output text to return back to the device.
pbHandled Boolean Boolean variable to check if purchase line is handled. Set the value to true to skip the default update process.

OnAfterUpdatePurchaseLine()

OnAfterUpdatePurchaseLine event executes inside UpdatePurchaseLine procedure in Warehouse Insight’s Receiving Management Codeunit after the default process has updated purchase line information. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnAfterUpdatePurchaseLine(var precPurchaseLine: Record “Purchase Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precPurchaseLine Record “Purchase Line” Record variable of all fields from purchase line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterUpdatePurchaseDocumentLine()

OnAfterUpdatePurchaseDocumentLine event executes inside UpdatePurchaseLine procedure in WHI Receiving Management Codeunit after the default process has updated purchase line information. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnAfterUpdatePurchaseDocumentLine(var precPurchaseLine: Record “Purchase Line”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbsOutput: BigText)

Parameters
Parameter Type Description
precPurchaseLine Record “Purchase Line” Record variable of all fields from purchase line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbsOutput BigText The output text to return back to the device.

OnBeforePostPurchaseOrder()

OnBeforePostPurchaseOrder event executes inside postPurchaseOrder procedure in Warehouse Insight’s Receiving Management Codeunit before the default process posts the purchase order after setting purchase line and purchase header. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforePostPurchaseOrder(var precPurchaseHeader: Record “Purchase Header”, var precPurchaseLine: Record “Purchase Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precPurchaseHeader Record “Purchase Header” Record variable of all fields from purchase header table.
precPurchaseLine Record “Purchase Line” Record variable of all fields from purchase line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterFilterLookupPurchaseHeaders()

OnAfterFilterLookupPurchaseHeaders event executes inside searchPurchaseOrders procedure in Warehouse Insight’s Receiving Management Codeunit after the default filter process to get purchase header based on document, user, and order status information. Developers can customize and/or extend the default process with additional filters by subscribing to this event.

Syntax

OnAfterFilterLookupPurchaseHeaders(var precPurchaseHeader: Record “Purchase Header”, var pbOnlyAssignedDocs: Boolean, var pcodUser: Code[50], var psFilter: Text)

Parameters
Parameter Type Description
precPurchaseHeader Record “Purchase Header” Record variable of all fields from purchase 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.

OnAfterFilterLookupPurchaseLines()

OnAfterFilterLookupPurchaseLines event executes inside searchPurchaseOrders procedure in Warehouse Insight’s Receiving Management Codeunit after the default filter process to get purchase lines based on document, user, and order status information. Developers can customize and/or extend the default process with additional filters by subscribing to this event.

Syntax

OnAfterFilterLookupPurchaseLines(var precPurchaseLine: Record “Purchase Line”, var psFilter: Text, var pcodItemNumber: Code[20])

Parameters
Parameter Type Description
precPurchaseLine Record “Purchase Line” Record variable of all fields from purchase line table.
psFilter Text Text variable of filter input information.
pcodItemNumber Code[20] Code variable of item number.

OnBeforeGetTransferOrder()

OnBeforeGetTransferOrder event executes inside postPurchaseOrder procedure in Warehouse Insight’s Receiving Management Codeunit before the default process begins to get transfer order. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforeGetTransferOrder(var precTransferHeader: Record “Transfer Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbHandled: Boolean)

Parameters
Parameter Type Description
precTransferHeader Record “Transfer Header” Record variable of all fields from transfer order table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbHandled Boolean Boolean variable to check if transfer order is handled. Set the value to true to skip the default get process.

OnBeforeGetTransferOrderDocument()

OnBeforeGetTransferOrderDocument event executes inside postPurchaseOrder procedure in Warehouse Insight’s Receiving Management Codeunit before the default process begins to get transfer order. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforeGetTransferOrderDocument(var precTransferHeader: Record “Transfer Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbsOutput: BigText, var pbHandled: Boolean)

Parameters
Parameter Type Description
precTransferHeader Record “Transfer Header” Record variable of all fields from transfer order table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbsOutput BigText The output text to return back to the device.
pbHandled Boolean Boolean variable to check if transfer order is handled. Set the value to true to skip the default get process.

OnAfterFilterTransferLines()

OnAfterFilterTransferLines event executes inside GetTransferOrder procedure in Warehouse Insight’s Receiving Management Codeunit after the default filter process to get transfer lines based on document, item, and transfer code information. Developers can customize and/or extend the default process with additional filters by subscribing to this event.

Syntax

OnAfterFilterTransferLines(var precTransferLine: Record “Transfer Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precTransferLine Record “Transfer Line” Record variable of all fields from transfer line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterGetTransferOrder()

OnAfterGetTransferOrder event executes inside GetTransferOrder procedure in Warehouse Insight’s Receiving Management Codeunit after the default process finishes getting the transfer order. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnAfterGetTransferOrder(var precTransferHeader: Record “Transfer Header”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precTransferHeader Record “Transfer Header” Record variable of all fields from transfer header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterGetTransferOrderDocument()

OnAfterGetTransferOrderDocument event executes inside GetTransferOrder procedure in Warehouse Insight’s Receiving Management Codeunit after the default process finishes getting the transfer order. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnAfterGetTransferOrderDocument(var precTransferHeader: Record “Transfer Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbsOutput: BigText)

Parameters
Parameter Type Description
precTransferHeader Record “Transfer Header” Record variable of all fields from transfer header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbsOutput BigText The output text to return back to the device.

OnBeforeUpdateTransferLine()

OnBeforeUpdateTransferLine event executes inside UpdateTransferLine procedure in Warehouse Insight’s Receiving Management Codeunit before the default process of the purchase line update begins. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforeUpdateTransferLine(var precTransferLine: Record “Transfer Line”, var pdQtyToReceive: 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
precTransferLine Record “Transfer Line” Record variable of all fields from transfer line table.
pdQtyToReceive Decimal Decimal variable of quantity to receive 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 transfer line is handled. Set the value to true to skip the default update process.

OnBeforeUpdateTransferDocumentLine()

OnBeforeUpdateTransferDocumentLine event executes inside UpdateTransferLine procedure in Warehouse Insight’s Receiving Management Codeunit before the default process of the purchase line update begins. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforeUpdateTransferDocumentLine(var precTransferLine: Record “Transfer Line”, var pdQtyToReceive: 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 pbsOutput: BigText, var pbHandled: Boolean)

Parameters
Parameter Type Description
precTransferLine Record “Transfer Line” Record variable of all fields from transfer line table.
pdQtyToReceive Decimal Decimal variable of quantity to receive 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.
pbsOutput BigText The output text to return back to the device.
pbHandled Boolean Boolean variable to check if transfer line is handled. Set the value to true to skip the default update process.

OnAfterUpdateTransferLine()

OnAfterUpdateTransferLine event executes inside UpdateTransferLine procedure in Warehouse Insight’s Receiving Management Codeunit after the default process has already updated transfer line information. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnAfterUpdateTransferLine(var precTransferLine: Record “Transfer Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precTransferLine Record “Transfer Line” Record variable of all fields from transfer line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterUpdateTransferDocumentLine()

OnAfterUpdateTransferDocumentLine event executes inside UpdateTransferLine procedure in Warehouse Insight’s Receiving Management Codeunit after the default process has already updated transfer line information. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnAfterUpdateTransferDocumentLine(var precTransferLine: Record “Transfer Line”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbsOutput: BigText)

Parameters
Parameter Type Description
precTransferLine Record “Transfer Line” Record variable of all fields from transfer line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.
pbsOutput BigText The output text to return back to the device.

OnBeforePostTransferOrder()

OnBeforePostTransferOrder event executes inside postTransferOrder procedure in Warehouse Insight’s Receiving Management Codeunit before the default process posts the transfer order after setting transfer line and transfer header. Developers can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforePostTransferOrder(var precTransferHeader: Record “Transfer Header”, var precTransferLine: Record “Transfer Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters
Parameter Type Description
precTransferHeader Record “Transfer Header” Record variable of all fields from transfer header table.
precTransferLine Record “Transfer Line” Record variable of all fields from transfer line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterFilterLookupTransferHeaders()

OnAfterFilterLookupTransferHeaders event executes inside searchTransferOrders procedure in Warehouse Insight’s Receiving Management Codeunit after the default filter process to get transfer header based on document, user, and order status information. Developers can customize and/or extend the default process with additional filters by subscribing to this event.

Syntax

OnAfterFilterLookupTransferHeaders(var precTransferHeader: Record “Transfer Header”, var pbOnlyAssignedDocs: Boolean, var pcodUser: Code[50], var psFilter: Text)

Parameters
Parameter Type Description
precTransferHeader Record “Transfer Header” Record variable with all fields from transfer 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.

OnAfterFilterLookupTransferLines()

OnAfterFilterLookupTransferLines event executes inside searchTransferOrders procedure in Warehouse Insight’s Receiving Management Codeunit after the default filter process to get transfer lines based on document, quantity, and item information. Developers can customize and/or extend the default process with additional filters by subscribing to this event.

Syntax

OnAfterFilterLookupTransferLines(var precTransferLine: Record “Transfer Line”, var psFilter: Text, var pcodItemNumber: Code[20])

Parameters
Parameter Type Description
precTransferLine Record “Transfer Line” Record variable with all fields from transfer line table.
psFilter Text Text variable of filter input information.
pcodItemNumber Code[20] Code variable of item number.

OnBeforeAddDocToLookupList()

OnBeforeAddDocToLookupList event executes inside addDocumentToList procedure in Warehouse Insight’s Receiving Management Codeunit before the default insert process of the document list begins. The event happens after the field assignments for ptrecDocList. Developers can customize and/or extend the default insert process with additional functionalities by subscribing to this event.

Syntax

OnBeforeAddDocToLookupList(var ptrecDocList: Record “WHI Document List Buffer”, var pbHandled: Boolean)

Parameters
Parameter Type Description
ptrecDocList Record “WHI Document List Buffer” Record variable of all fields from Warehouse Insight’s Document List Buffer table
pbHandled Boolean Boolean variable to check if document list is handled. Set the value to true to skip the default insert process.

OnBeforeAddRemoveTransferTracking()

Called before adding or removing item tracking for a transfer line.

Syntax

OnBeforeAddRemoveTransferTracking(var precTransferLine: Record “Transfer Line”, var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdChangeQty: Decimal, var pcodUOM: Code[10], var pbHandled: Boolean)

Parameters
Parameter Type Description
precTransferLine Record “Transfer Line” The transfer line.
pcodSerialNumber Code[50] The serial number.
pcodLotNumber Code[50] The lot number.
pcodPackageNumber Code[50] The package number.
pdtExpirationDate Date The expiration date.
pdChangeQty Decimal The item tracking quantity.
pcodUOM Code[10] The item tracking quantity unit of measure.
pbHandled Boolean Set to true if the procedure has been handled. False if the base code should continue to execute.

OnAfterAddRemoveTransferTracking()

Called after adding or removing item tracking for a transfer line.

Syntax

OnAfterAddRemoveTransferTracking(var precTransferLine: Record “Transfer Line”, var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdChangeQty: Decimal, var pcodUOM: Code[10])

Parameters
Parameter Type Description
precTransferLine Record “Transfer Line” The transfer line.
pcodSerialNumber Code[50] The serial number.
pcodLotNumber Code[50] The lot number.
pcodPackageNumber Code[50] The package number.
pdtExpirationDate Date The expiration date.
pdChangeQty Decimal The item tracking quantity.
pcodUOM Code[10] The item tracking quantity unit of measure.

OnBeforeAddRemoveWhseReceiptTracking()

Called before adding or removing item tracking for a warehouse receipt line.

Syntax

OnBeforeAddRemoveWhseReceiptTracking(var precWhseReceiptLine: Record “Warehouse Receipt Line”, var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdChangeQty: Decimal, var pcodUOM: Code[10], var pbHandled: Boolean)

Parameters
Parameter Type Description
precWhseReceiptLine Record “Warehouse Receipt Line” The warehouse receipt line.
pcodSerialNumber Code[50] The serial number.
pcodLotNumber Code[50] The lot number.
pcodPackageNumber Code[50] The package number.
pdtExpirationDate Date The expiration date.
pdChangeQty Decimal The item tracking quantity.
pcodUOM Code[10] The item tracking quantity unit of measure.
pbHandled Boolean Set to true if the procedure has been handled. False if the base code should continue to execute.

OnAfterAddRemoveWhseReceiptTracking()

Called after adding or removing item tracking for a warehouse receipt line.

Syntax

OnAfterAddRemoveWhseReceiptTracking(var precWhseReceiptLine: Record “Warehouse Receipt Line”, var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdChangeQty: Decimal, var pcodUOM: Code[10])

Parameters
Parameter Type Description
precWhseReceiptLine Record “Warehouse Receipt Line” The warehouse receipt line.
pcodSerialNumber Code[50] The serial number.
pcodLotNumber Code[50] The lot number.
pcodPackageNumber Code[50] The package number.
pdtExpirationDate Date The expiration date.
pdChangeQty Decimal The item tracking quantity.
pcodUOM Code[10] The item tracking quantity unit of measure.

OnBeforeAddRemovePurchaseTracking()

Called before adding or removing item tracking for a purchase line.

Syntax

OnBeforeAddRemovePurchaseTracking(var precPurchaseLine: Record “Purchase Line”, var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdChangeQty: Decimal, var pcodUOM: Code[10], var pbHandled: Boolean)

Parameters
Parameter Type Description
precPurchaseLine Record “Purchase Line” The purchase line.
pcodSerialNumber Code[50] The serial number.
pcodLotNumber Code[50] The lot number.
pcodPackageNumber Code[50] The package number.
pdtExpirationDate Date The expiration date.
pdChangeQty Decimal The item tracking quantity.
pcodUOM Code[10] The item tracking quantity unit of measure.
pbHandled Boolean Set to true if the procedure has been handled. False if the base code should continue to execute.

OnAfterAddRemovePurchaseTracking()

Called after adding or removing item tracking for a purchase line.

Syntax

OnAfterAddRemovePurchaseTracking(var precPurchaseLine: Record “Purchase Line”, var pcodSerialNumber: Code[50], var pcodLotNumber: Code[50], var pcodPackageNumber: Code[50], var pdtExpirationDate: Date, var pdChangeQty: Decimal, var pcodUOM: Code[10])

Parameters
Parameter Type Description
precPurchaseLine Record “Purchase Line” The purchase line.
pcodSerialNumber Code[50] The serial number.
pcodLotNumber Code[50] The lot number.
pcodPackageNumber Code[50] The package number.
pdtExpirationDate Date The expiration date.
pdChangeQty Decimal The item tracking quantity.
pcodUOM Code[10] The item tracking quantity unit of measure.

OnBeforeAddPurchaseOrderToLookupList()

Called prior to determining if the document should be added to the lookup list.

Syntax

OnBeforeAddPurchaseOrderToLookupList(var precPurchHeader: Record “Purchase Header”, var precPurchLine: Record “Purchase Line”, var pbIncludeResult: Boolean)

Parameters
Parameter Type Description
precPurchHeader Record “Purchase Header” The purchase header.
precPurchLine Record “Purchase Line” The purchase line.
pbIncludeResult Boolean Set to true if the document should be added; set to false if not.

OnBeforeAddTransferOrderToLookupList()

Called prior to determining if the document should be added to the lookup list.

Syntax

OnBeforeAddTransferOrderToLookupList(var precTransferHeader: Record “Transfer Header”, var precTransferLine: Record “Transfer Line”, var pbIncludeResult: Boolean)

Parameters
Parameter Type Description
precTransferHeader Record “Transfer Header” The transfer header.
precTransferLine Record “Transfer Line” The transfer line.
pbIncludeResult Boolean Set to true if the document should be added; set to false if not.

OnBeforeAddWhseReceiptToLookupList()

Called prior to determining if the document should be added to the lookup list.

Syntax

OnBeforeAddWhseReceiptToLookupList(var precWhseReceiptHeader: Record “Warehouse Receipt Header”, var precWhseReceiptLine: Record “Warehouse Receipt Line”, var pbIncludeResult: Boolean)

Parameters
Parameter Type Description
precWhseReceiptHeader Record “Warehouse Receipt Header” The warehouse receipt header.
precWhseReceiptLine Record “Warehouse Receipt Line” The warehouse receipt line.
pbIncludeResult Boolean Set to true if the document should be added; set to false if not.