Skip to content

Page WSB_DepositOnWhseShipmentDI

A page to add deposit item lines on a Warehouse Shipment.

Properties

Name Value
ApplicationArea #All
Caption Deposit on Warehouse Shipment
PageType Card
SourceTable 7321
UsageCategory None

Codeunit WSB_DIPublic

Exposes additional event publishers and procedures next to the event publishers that are available from the public objects.

Properties

Name Value
Access Public

Methods

wgFncTransferLineDeleteLineWithDepositItem

Decouples the related Deposit Line and deletes it.

Parameters

Type Name Description
Record "Transfer Line" vRecTransLine The "Transfer Line" Record.

wgFncTransferLineInsertLineWithDepositItem

Inserts the Deposit Line bases on the given line.

Parameters

Type Name Description
Record "Transfer Line" vRecTransLine The "Transfer Line" record.

wgEvpOnAfterSetQtyPerUOMFromItemJournalLine

Event is raised on VerifyLineChange you can set the Quantity per Unit of Meassure.

Parameters

Type Name Description
Record "Item Journal Line" vRecItemJnlLine The "Item Journal Line" record.
Record "Item Journal Line" vRecItemJournalDepositLine The "Item Journal Line" record.
Decimal vQtyPerUOM The quantity per unit of measure.

wgEvpOnAfterSetQtyPerUOMFromPurchLine

Event is raised on VerifyLineChange you can set the Quantity per Unit of Meassure.

Parameters

Type Name Description
Record "Purchase Line" vRecPurchLine The "Purchase Line" record.
Record "Purchase Line" vRecPurchDepositLine The deposit "Purchase Line" record.
Decimal vQtyPerUOM The quantity per unit of measure.

wgEvpOnAfterSetQtyPerUOMFromSalesLine

Event is raised on VerifyLineChange you can set the Quantity per Unit of Meassure.

Parameters

Type Name Description
Record "Sales Line" vRecSalesLine The "Sales Line" record.
Record "Sales Line" vRecSalesDepositLine The deposit "Sales Line" record.
Decimal vQtyPerUOM The quantity per unit of measure.

wgEvpOnAfterSetQtyPerUOMFromTransferLine

Event is raised on VerifyLineChange you can set the Quantity per Unit of Meassure.

Parameters

Type Name Description
Record "Transfer Line" vRecTransferLine The "Transfer Line" record.
Record "Transfer Line" vRecTransferDepositLine The deposit "Transfer Line" record.
Decimal vQtyPerUOM The quantity per unit of measure.

wgEvpOnAfterSetQtyPerUOMFromWhseShptLine

Event is raised on VerifyLineChange you can set the Quantity per Unit of Meassure.

Parameters

Type Name Description
Record "Warehouse Shipment Line" vRecWhseShptLine The "Warehouse Shipment Line" record.
Record "Warehouse Shipment Line" vRecWhseShptDepositLine The deposit "Warehouse Shipment Line" record.
Decimal vQtyPerUOM The quantity per unit of measure.

wgEvpOnBeforeInsertItemJournalLine

Event is raised on before the new deposit line is inserted.

Parameters

Type Name Description
Record "Item Journal Line" vRecOrgItemJnlLine The "Item Journal Line" record.
Record "Item Journal Line" vRecDepositLineToInsert The deposit "Item Journal Line" record to insert.

wgEvpOnBeforeInsertPurchaseLine

Event is raised on before the new deposit line is inserted.

Parameters

Type Name Description
Record "Purchase Line" vRecOrgPurchLine The "Purchase Line" record.
Record "Purchase Line" vRecToPurchDepositLine The deposit "Purchase Line" record to insert.

wgEvpOnBeforeInsertSalesLine

Event is raised on before the new deposit line is inserted.

Parameters

Type Name Description
Record "Sales Line" vRecOrgSalesLine The "Sales Line" record.
Record "Sales Line" vRecDepositLineToInsert The deposit "Sales Line" record to insert.

wgEvpOnBeforeInsertServiceLine

Event is raised on before the new deposit line is inserted.

Parameters

Type Name Description
Record "Service Line" vRecOrgServiceLine The "Service Line" record.
Record "Service Line" vRecToServiceDepositLine The deposit "Service Line" record to insert.

wgEvpOnBeforeInsertTransferLine

Event is raised on before the new deposit line is inserted.

Parameters

Type Name Description
Record "Transfer Line" vRecOrgTransLine The "Transfer Line" record.
Record "Transfer Line" vRecToTransDepositLine The deposit "Transfer Line" record to insert.

wgEvpOnBeforeInsertWhseActivityLine

Event is raised on before the new deposit line is inserted.

Parameters

Type Name Description
Record "Warehouse Activity Line" vRecOrgWhseActivLine The "Whse. Activity Line" record.
Record "Warehouse Activity Line" vRecToWhseActDepositLine The deposit "Whse. Activity Line" record to insert.

wgEvpOnBeforeSetQtyBaseFromItemJournalLine

Event is raised when creating the Deposit Line before validating the "Quantity (Base)" of the deposit line.

Parameters

Type Name Description
Record "Item Journal Line" vRecItemJnlLine The "Item Journal Line" record.
Record "Item Journal Line" vRecItemJnlDepositLine The deposit "Item Journal Line" record.
Boolean vIsHandled Set to true to suppress the deposit line Qty Base assignment.

wgEvpOnBeforeSetQtyBaseFromPurchLine

Event is raised when creating the Deposit Line before validating the "Quantity (Base)" of the deposit line.

Parameters

Type Name Description
Record "Purchase Line" vRecPurchLine The "Purchase Line" record.
Record "Purchase Line" vRecPurchDepositLine The deposit "Purchase Line" record.
Boolean vIsHandled Set to true to suppress the deposit line Qty Base assignment.

wgEvpOnBeforeSetQtyBaseFromSalesLine

Event is raised when creating the Deposit Line before validating the "Quantity (Base)" of the deposit line.

Parameters

Type Name Description
Record "Sales Line" vRecSalesLine The "Sales Line" record.
Record "Sales Line" vRecSalesDepositLine The deposit "Sales Line" record.
Boolean vIsHandled Set to true to suppress the deposit line Qty Base assignment.

wgEvpOnBeforeSetQtyBaseFromServiceLine

Event is raised when creating the Deposit Line before validating the "Quantity (Base)" of the deposit line.

Parameters

Type Name Description
Record "Service Line" pRecServiceLine The "Service Line" record.
Record "Service Line" vRecTargetServiceLine The deposit "Service Line" record.
Boolean vIsHandled Set to true to suppress the deposit line Qty Base assignment.

wgEvpOnBeforeSetQtyBaseFromTransferLine

Event is raised when creating the Deposit Line before validating the "Quantity (Base)" of the deposit line.

Parameters

Type Name Description
Record "Transfer Line" vRecTransferLine The "Transfer Line" record.
Record "Transfer Line" vRecTransferDepositLine The deposit "Transfer Line" record.
Boolean vIsHandled Set to true to suppress the deposit line Qty Base assignment.

wgEvpOnBeforeSetQtyBaseFromWhseActivityLine

Event is raised when creating the Deposit Line before validating the "Quantity (Base)" of the deposit line.

Parameters

Type Name Description
Record "Warehouse Activity Line" pRecNewWhseActivLine The "Whse. Activity Line" record.
Record "Warehouse Activity Line" vRecTargetWhseActivLine The deposit "Whse. Activity Line" record.
Boolean vIsHandled Set to true to suppress the deposit line Qty Base assignment.

wgEvpOnBeforeSetQtyPhysInventoryFromItemJournalLine

Event is raised before setting the "Qty. Phys Inventory".

Parameters

Type Name Description
Record "Item Journal Line" pRecItemJnlLine The "Item Journal Line" record.
Record "Item Journal Line" vRecTargetItemJnlLine The target "Item Journal Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. Phys Inventory" assignment.

wgEvpOnBeforeSetQtyToInvoiceFromPurchLine

Event is raised before setting the "Qty. to Invoice".

Parameters

Type Name Description
Record "Purchase Line" pRecPurchaseLine The "Purchase Line" record.
Record "Purchase Line" vRecTargetPurchaseLine The target "Purchase Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. to Invoice" assignment.

wgEvpOnBeforeSetQtyToInvoiceFromSalesLine

Event is raised before setting the "Qty. to Invoice".

Parameters

Type Name Description
Record "Sales Line" pRecSalesLine The "Sales Line" record.
Record "Sales Line" vRecTargetSalesLine The target "Sales Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. to Invoice" assignment.

wgEvpOnBeforeSetQtyToInvoiceFromServiceLine

Event is raised before setting the "Qty. to Invoice".

Parameters

Type Name Description
Record "Service Line" pRecServiceLine The "Service Line" record.
Record "Service Line" vRecTargetServiceLine The target "Service Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. to Invoice" assignment.

wgEvpOnBeforeSetQtyToReceiveBaseFromPurchLine

Event is raised before setting the "Qty. to Receive (Base)".

Parameters

Type Name Description
Record "Purchase Line" pRecPurchaseLine The "Purchase Line" record.
Record "Purchase Line" vRecTargetPurchaseLine The target "Purchase Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. to Receive (Base)" assignment.

wgEvpOnBeforeSetQtyToReceiveBaseFromTransferLine

Event is raised before setting the "Qty. to Receive (Base)".

Parameters

Type Name Description
Record "Transfer Line" pRecTransferLine The "Transfer Line" record.
Record "Transfer Line" vRecTargetTransferLine The target "Transfer Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. to Receive (Base)" assignment.

wgEvpOnBeforeSetQtyToShipBaseFromSalesLine

Event is raised before setting the "Qty. to Ship (Base)".

Parameters

Type Name Description
Record "Sales Line" pRecSalesLine The "Sales Line" record.
Record "Sales Line" vRecTargetSalesLine The target "Sales Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. to Ship (Base)" assignment.

wgEvpOnBeforeSetQtyToShipBaseFromServiceLine

Event is raised before setting the "Qty. to Ship (Base)".

Parameters

Type Name Description
Record "Service Line" pRecServiceLine The "Service Line" record.
Record "Service Line" vRecTargetServiceLine The target "Service Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. to Ship (Base)" assignment.

wgEvpOnBeforeSetQtyToShipBaseFromTransferLine

Event is raised before setting the "Qty. to Ship (Base)".

Parameters

Type Name Description
Record "Transfer Line" pRecTransferLine The "Transfer Line" record.
Record "Transfer Line" vRecTargetTransferLine The target "Transfer Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. to Ship (Base)" assignment.

wgEvpOnBeforeSetQtyToShipFromServiceLine

Event is raised before setting the "Qty. to Ship".

Parameters

Type Name Description
Record "Service Line" pRecServiceLine The "Service Line" record.
Record "Service Line" vRecTargetServiceLine The target "Service Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. to Ship" assignment.

wgEvpOnBeforeSetQtyToShipFromTransferLine

Event is raised before setting the "Qty. to Ship".

Parameters

Type Name Description
Record "Transfer Line" pRecTransferLine The "Transfer Line" record.
Record "Transfer Line" vRecTargetTransferLine The target "Transfer Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Qty. to Ship" assignment.

wgEvpOnBeforeSetQuantityFromItemJournalLine

Event is raised before setting the "Quantity".

Parameters

Type Name Description
Record "Item Journal Line" pRecItemJnlLine The "Item Journal Line" record.
Record "Item Journal Line" vRecTargetItemJnlLine The target "Item Journal Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Quantity" assignment.

wgEvpOnBeforeSetQuantityFromPurchLine

Event is raised before setting the "Quantity".

Parameters

Type Name Description
Record "Purchase Line" pRecPurchaseLine The "Purchase Line" record.
Record "Purchase Line" vRecTargetPurchaseLine The target "Purchase Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Quantity" assignment.

wgEvpOnBeforeSetQuantityFromSalesLine

Event is raised before setting the "Quantity".

Parameters

Type Name Description
Record "Sales Line" pRecSalesLine The "Sales Line" record.
Record "Sales Line" vRecTargetSalesLine The target "Sales Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Quantity" assignment.

wgEvpOnBeforeSetQuantityFromServiceLine

Event is raised before setting the "Quantity".

Parameters

Type Name Description
Record "Service Line" pRecServiceLine The "Service Line" record.
Record "Service Line" vRecTargetServiceLine The target "Service Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Quantity" assignment.

wgEvpOnBeforeSetQuantityFromTransferLine

Event is raised before setting the "Quantity".

Parameters

Type Name Description
Record "Transfer Line" pRecTransferLine The "Transfer Line" record.
Record "Transfer Line" vRecTargetTransferLine The target "Transfer Line" record.
Boolean vIsHandled Set to true to suppress the deposit line "Quantity" assignment.

wgEvpOnUpdateNonInventoryDepositLineOnAfterCalcNewQtyToHandleFromWhseActLine

Event is raised after calculating Qty. to Handle from a Warehouse Activity Line.

Parameters

Type Name Description
Record "Warehouse Activity Line" pRecWhseActiveLine The Warehouse Activity Line record.
Decimal pQtyUnitOfMeasure The Qty. per UOM
Decimal vNewQtyToHandle The Qty. to Handle

wgEvpOnUpdateNonInventoryDepositLineOnAfterCalcNewQtyToReceiveFromWhseRcptLine

Event is raised after calculating Qty. to Receive from a Warehouse Receipt Line.

Parameters

Type Name Description
Record "Warehouse Receipt Line" pRecWarehouseReceiptLine The Warehouse Receipt Line record.
Decimal pQtyUnitOfMeasure The Qty. per UOM
Decimal vNewQtyToReceive The Qty. to Receive

wgEvpOnUpdateNonInventoryDepositLineOnAfterCalcNewQtyToReceiveFromWhseShptLine

Event is raised after calculating Qty. to Receive from a Warehouse Shipment Line.

Parameters

Type Name Description
Record "Warehouse Shipment Line" pRecWarehouseShipmentLine The Warehouse Shipment Line record.
Decimal pQtyUnitOfMeasure The Qty. per UOM
Decimal vNewQtyToReceive The Qty. to Receive

wgEvpOnUpdateNonInventoryDepositLineOnAfterCalcNewQtyToShipFromWhseShptLine

Event is raised after calculating Qty. to Ship from a Warehouse Shipment Line.

Parameters

Type Name Description
Record "Warehouse Shipment Line" pRecWarehouseShipmentLine The Warehouse Shipment Line record.
Decimal pQtyUnitOfMeasure The Qty. per UOM
Decimal vNewQtyToShip The Qty. to Ship