Report "Calc. Phys. Invt. Order (Bins)"

ID 5885
Namespace: Microsoft.Inventory.Counting.Document

Properties

Name Value
Caption Calc. Phys. Invt. Order (Bins)
ProcessingOnly True

Methods

SetPhysInvtOrderHeader

procedure SetPhysInvtOrderHeader(NewPhysInvtOrderHeader: Record "Phys. Invt. Order Header")

Parameters

Name Type Description
NewPhysInvtOrderHeader Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Header"

SetHideValidationDialog

procedure SetHideValidationDialog(NewHideValidationDialog: Boolean)

Parameters

Name Type Description
NewHideValidationDialog Boolean

CreateNewPhysInvtOrderLine

procedure CreateNewPhysInvtOrderLine()

Events

OnBeforeCreateNewPhysInvtOrderLineForWhseEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateNewPhysInvtOrderLineForWhseEntry(Item: Record Item, WarehouseEntry: Record "Warehouse Entry", PhysInvtOrderHeader: Record "Phys. Invt. Order Header", var PhysInvtOrderLine: Record "Phys. Invt. Order Line", var ErrorText: Text, var NextLineNo: Integer, CalcQtyExpected: Boolean, var LastItemLedgEntryNo: Integer, var LineCount: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"
PhysInvtOrderHeader Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Header"
PhysInvtOrderLine Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Line"
ErrorText Text
NextLineNo Integer
CalcQtyExpected Boolean
LastItemLedgEntryNo Integer
LineCount Integer
IsHandled Boolean

OnBeforePhysInvtOrderLineModify

[IntegrationEvent(False,False)]
local procedure OnBeforePhysInvtOrderLineModify(var PhysInvtOrderLine: Record "Phys. Invt. Order Line", CalcQtyExpected: Boolean)

Parameters

Name Type Description
PhysInvtOrderLine Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Line"
CalcQtyExpected Boolean

OnCreateNewPhysInvtOrderLineOnAfterCalcQtyAndLastItemLedgExpected

[IntegrationEvent(True,False)]
local procedure OnCreateNewPhysInvtOrderLineOnAfterCalcQtyAndLastItemLedgExpected(QtyExpected: Decimal, LastItemLedgEntryNo: Integer, WarehouseEntry: Record "Warehouse Entry", PhysInvtOrderLine: Record "Phys. Invt. Order Line", var InsertLine: Boolean)

Parameters

Name Type Description
QtyExpected Decimal
LastItemLedgEntryNo Integer
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"
PhysInvtOrderLine Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Line"
InsertLine Boolean

OnAfterGetRecordBinOnAfterCheckLocation

[IntegrationEvent(False,False)]
local procedure OnAfterGetRecordBinOnAfterCheckLocation(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header", var Bin: Record Bin)

Parameters

Name Type Description
PhysInvtOrderHeader Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Header"
Bin Table Microsoft.Warehouse.Structure.Bin

OnAfterSetPhysInvtOrderHeader

[IntegrationEvent(False,False)]
local procedure OnAfterSetPhysInvtOrderHeader(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header", var Location: Record Location, var Bin: Record Bin)

Parameters

Name Type Description
PhysInvtOrderHeader Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Header"
Location Table Microsoft.Inventory.Location.Location
Bin Table Microsoft.Warehouse.Structure.Bin

OnAfterIsNewWhseEntryGroup

[IntegrationEvent(False,False)]
local procedure OnAfterIsNewWhseEntryGroup(WhseEntry: Record "Warehouse Entry", LastWhseEntry: Record "Warehouse Entry", var Result: Boolean, Item: Record Item)

Parameters

Name Type Description
WhseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"
LastWhseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"
Result Boolean
Item Table Microsoft.Inventory.Item.Item

OnAfterGetRecordBinOnAfterWarehouseEntrySetFilters

[IntegrationEvent(False,False)]
local procedure OnAfterGetRecordBinOnAfterWarehouseEntrySetFilters(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header", var Bin: Record Bin, var WarehouseEntry: Record "Warehouse Entry")

Parameters

Name Type Description
PhysInvtOrderHeader Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Header"
Bin Table Microsoft.Warehouse.Structure.Bin
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"

See also