Properties

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

Events

OnBeforeGetWhseShipment()

OnBeforeGetWhseShipment event executes inside getWhseShipment procedure in Warehouse Insight’s Shipping Management Codeunit before the procedure get the warehouse shipment document by its default process. Subscribing to this event, the developer can customize the process to get warehouse shipment document.

Syntax

OnBeforeGetWhseShipment(var precWhseShipmentHeader: Record “Warehouse Shipment Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbHandled: Boolean)

Parameters

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

OnAfterFilterWhseShipmentLines()

OnAfterFilterWhseShipmentLines event executes inside getWhseShipment procedure in Warehouse Insight’s Shipping Management Codeunit after warehouse shipment lines are filtered by location, sorting sequence, and shipment number. Subscribing to this event, the developer can customize and/or extend the default process with additional filters. Preparation of record references is the next step in getWhseShipment procedure after OnAfterFilterWhseShipmentLines event.

Syntax

OnAfterFilterWhseShipmentLines(var precWhseShipmentLine: Record “Warehouse Shipment Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters

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

 

OnAfterGetWhseShipment()

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

Syntax

OnAfterGetWhseShipment(var precWhseShipmentHeader: Record “Warehouse Shipment Header”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters

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

 

OnBeforeUpdateWhseShipmentLine()

OnBeforeUpdateWhseShipmentLine event executes inside updateShipmentLine procedure in Warehouse Insight’s Shipping 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

OnBeforeUpdateWhseShipmentLine(var precWhseShipmentLine: Record “Warehouse Shipment 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
precWhseShipmentLine Record “Warehouse Shipment Line” Record variable with all fields from warehouse shipment 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 shipment line is handled. Set the value to true to skip the default update process.

 

OnAfterUpdateWhseShipmentLine()

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

Syntax

OnAfterUpdateWhseShipmentLine(var precWhseShipmentLine: Record “Warehouse Shipment Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters

Parameter Type Description
precWhseShipmentLine Record “Warehouse Shipment Line” Record variable with all fields from warehouse shipment line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnBeforePostWhseShipment()

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

Syntax

OnBeforePostWhseShipment(var precWhseShipmentHeader: Record “Warehouse Shipment Header”, var precWhseShipmentLine: Record “Warehouse Shipment Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters

Parameter Type Description
precWhseShipmentHeader Record “Warehouse Shipment Header” Record variable with all fields from warehouse shipment header table.
precWhseShipmentLine Record “Warehouse Shipment Line” Record variable with all fields from warehouse shipment line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

 

OnAfterFilterLookupWhseShipHeaders()

OnAfterFilterLookupWhseShipHeaders event executes inside searchWhseShipments procedure in Warehouse Insight’s Shipping Management Codeunit after warehouse shipments are filtered by location code, assigned docs, and user if applicable. Developers can customize and/or extend the process for the warehouse shipment document lookup by subscribing to this event. The following default search process on warehouse shipment header does not proceed if there are return results in precWhseShipmentHeader after the event runs.

Syntax

OnAfterFilterLookupWhseShipHeaders(var precWhseShipmentHeader: Record “Warehouse Shipment Header”, var pbOnlyAssignedDocs: Boolean, var pcodUser: Code[50], var psFilter: Text)

Parameters

Parameter Type Description
precWhseShipmentHeader Record “Warehouse Shipment Header” Record variable with all fields from warehouse shipment 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.

OnAfterFilterLookupWhseShipLines()

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

Syntax

OnAfterFilterLookupWhseShipLines(var precWhseShipmentLine: Record “Warehouse Shipment Line”, var psFilter: Text, var pcodItemNumber: Code[20])

Parameters

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

 

OnBeforeGetSalesOrder()

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

Syntax

OnBeforeGetSalesOrder(var precSalesHeader: Record “Sales Header”, var ptrecEventParams: Record “IWX Event Param” temporary, var pbHandled: Boolean)

Parameters

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

 

OnAfterFilterSalesLines()

OnAfterFilterSalesLines event executes inside getSalesOrder procedure in Warehouse Insight’s Shipping Management Codeunit after the default filter process to get sales 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

OnAfterFilterSalesLines(var precSalesLine: Record “Sales Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters

Parameter Type Description
precSalesLine Record “Sales Line” Record variable of all fields from sales line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterGetSalesOrder()

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

Syntax

OnAfterGetSalesOrder(var precSalesHeader: Record “Sales Header”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters

Parameter Type Description
precSalesHeader Record “Sales Header” Record variable of all fields from sales header table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

 

OnBeforeUpdateSalesLine()

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

Syntax

OnBeforeUpdateSalesLine(var precSalesLine: Record “Sales 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
precSalesLine Record “Sales Line” Record variable with all fields from sales 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 sales line is handled. Set the value to true to skip the default update process.

OnAfterUpdateSalesLine()

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

Syntax

OnAfterUpdateSalesLine(var precSalesLine: Record “Sales Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters

Parameter Type Description
precSalesLine Record “Sales Line” Record variable of all fields from sales line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

 

OnBeforePostSalesOrder()

OnBeforePostSalesOrder event executes inside postSalesOrder procedure in Warehouse Insight’s Shipping Management Codeunit before the default process posts the sales order after setting sales line and sales header. Developer can customize and/or extend the process with additional functionalities by subscribing to this event.

Syntax

OnBeforePostSalesOrder(var precSalesHeader: Record “Sales Header”, var precSalesLine: Record “Sales Line”, var ptrecEventParams: Record “IWX Event Param” temporary)

Parameters

Parameter Type Description
precSalesHeader Record “Sales Header” Record variable of all fields from sales header table.
precSalesLine Record “Sales Line” Record variable of all fields from sales line table.
ptrecEventParams Record “IWX Event Param” The event context with all variables from the scanner.

OnAfterFilterLookupSalesHeaders()

OnAfterFilterLookupSalesHeaders event executes inside searchSalesOrders procedure in Warehouse Insight’s Shipping Management Codeunit after the default filter process to get sales 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

OnAfterFilterLookupSalesHeaders(var precSalesHeader: Record “Sales Header”, var pbOnlyAssignedDocs: Boolean, var pcodUser: Code[50], var psFilter: Text)

Parameters

Parameter Type Description
precSalesHeader Record “Sales Header” Record variable of all fields from sales 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.

OnAfterFilterLookupSalesLines()

OnAfterFilterLookupSalesLines event executes inside searchSalesOrders procedure in Warehouse Insight’s Shipping Management Codeunit, after the default filter process to get sales 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

OnAfterFilterLookupSalesLines(var precSalesLine: Record “Sales Line”, var psFilter: Text, var pcodItemNumber: Code[20])

Parameters

Parameter Type Description
precSalesLine Record “Sales Line” Record variable of all fields from sales line table.
psFilter Text Text variable of filter input information.
pcodItemNumber Code[20] Code variable of item number.

 

OnBeforeGetTransferOrder()

OnBeforeGetTransferOrder event executes inside GetTransferOrder procedure in Warehouse Insight’s Shipping 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.

 

OnAfterFilterTransferLines()

OnAfterFilterTransferLines event executes inside GetTransferOrder procedure in Warehouse Insight’s Shipping 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 Shipping 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.

 

OnBeforeUpdateTransferLine()

OnBeforeUpdateTransferLine event executes inside UpdateTransferLine procedure in Warehouse Insight’s Shipping 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 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
precTransferLine Record “Transfer Line” Record variable of all fields from transfer 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 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 Shipping 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.

OnBeforePostTransferOrder()

OnBeforePostTransferOrder event executes inside postTransferOrder procedure in Warehouse Insight’s Shipping Management Codeunit before the default process posts the transfer order after setting transfer line and transfer header. Developer 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 Shipping Management Codeunit after the default filter process to get transfer header based on location, transfer status, and user 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 Shipping 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 Shipping 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.

OnBeforeAddRemoveWhseShipmentTracking()

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

Syntax

OnBeforeAddRemoveWhseShipmentTracking(var precWhseShipmentLine: Record “Warehouse Shipment 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
precWhseShipmentLine Record “Warehouse Shipment Line” The warehouse shipment 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.

OnAfterAddRemoveWhseShipmentTracking()

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

Syntax

OnAfterAddRemoveWhseShipmentTracking(var precWhseShipmentLine: Record “Warehouse Shipment 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
precWhseShipmentLine Record “Warehouse Shipment Line” The warehouse shipment 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.

OnBeforeAddRemoveSalesTracking()

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

Syntax

OnBeforeAddRemoveSalesTracking(var precSalesLine: Record “Sales 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
precSalesLine Record “Sales Line” The sales 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.

OnAfterAddRemoveSalesTracking()

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

Syntax

OnAfterAddRemoveSalesTracking(var precSalesLine: Record “Sales 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
precSalesLine Record “Sales Line” The sales 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.

OnBeforeAddSalesOrderToLookupList()

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

Syntax

OnBeforeAddSalesOrderToLookupList(var precSalesHeader: Record “Sales Header”, var precSalesLine: Record “Sales Line”, var pbIncludeResult: Boolean)

Parameters
Parameter Type Description
precSalesHeader Record “Sales Header” The sales header.
precSalesLine Record “Sales Line” The sales line.
pbIncludeResult Boolean Set to true if the document should be added; 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; false if not.

OnBeforeAddWhseShipmentToLookupList()

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

Syntax

OnBeforeAddWhseShipmentToLookupList(var precWhseShipmentHeader: Record “Warehouse Shipment Header”, var precWhseShipmentLine: Record “Warehouse Shipment Line”, var pbIncludeResult: Boolean)

Parameters
Parameter Type Description
precWhseShipmentHeader Record “Warehouse Shipment Header” The warehouse shipment header.
precWhseShipmentLine Record “Warehouse Shipment Line” The warehouse shipment line.
pbIncludeResult Boolean Set to true if the document should be added; false if not.