Report "Calc. Phys. Invt. Order Lines"

ID 5880
Namespace: Microsoft.Inventory.Counting.Document

Properties

Name Value
Caption Calc. Phys. Invt. Order Lines
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"

InitializeRequest

procedure InitializeRequest(ZeroQty2: Boolean, CalcQtyExpected2: Boolean)

Parameters

Name Type Description
ZeroQty2 Boolean
CalcQtyExpected2 Boolean

InitializeRequest

procedure InitializeRequest(ZeroQty2: Boolean, CalcQtyExpected2: Boolean, IncludeItemWithNoTransaction2: Boolean)

Parameters

Name Type Description
ZeroQty2 Boolean
CalcQtyExpected2 Boolean
IncludeItemWithNoTransaction2 Boolean

InitializeInvtCount

procedure InitializeInvtCount(InvtCountCode2: Code[10], CycleSourceType2: Option)

Parameters

Name Type Description
InvtCountCode2 Code[10]
CycleSourceType2 Option

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", ItemLedgerEntry: Record "Item Ledger Entry", PhysInvtOrderHeader: Record "Phys. Invt. Order Header", var PhysInvtOrderLine: Record "Phys. Invt. Order Line", var ErrorText: Text[250], var NextLineNo: Integer, InvtCountCode: Code[10], CycleSourceType: Option, 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"
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
PhysInvtOrderHeader Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Header"
PhysInvtOrderLine Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Line"
ErrorText Text[250]
NextLineNo Integer
InvtCountCode Code[10]
CycleSourceType Option
CalcQtyExpected Boolean
LastItemLedgEntryNo Integer
LineCount Integer
IsHandled Boolean

OnBeforeCalcItemPhysInvtOrderLines

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcItemPhysInvtOrderLines(var Item: Record Item, var IsHandled: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
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, ItemLedgerEntry: Record "Item Ledger Entry", PhysInvtOrderLine: Record "Phys. Invt. Order Line", var InsertLine: Boolean, WarehouseEntry: Record "Warehouse Entry")

Parameters

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

OnAfterSetPhysInvtOrderHeader

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

Parameters

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

OnBeforeOnPreDataItemItem

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

Parameters

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

OnAfterOpenPage

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

Parameters

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

OnAfterSetItemLedgEntryFilters

[IntegrationEvent(False,False)]
local procedure OnAfterSetItemLedgEntryFilters(var ItemLedgEntry: Record "Item Ledger Entry", Item: Record Item)

Parameters

Name Type Description
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
Item Table Microsoft.Inventory.Item.Item

OnAfterIsNewItemLedgEntryGroup

[IntegrationEvent(True,False)]
local procedure OnAfterIsNewItemLedgEntryGroup(ItemLedgEntry: Record "Item Ledger Entry", LastItemLedgEntry: Record "Item Ledger Entry", var Result: Boolean, var Item: Record Item)

Parameters

Name Type Description
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
LastItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
Result Boolean
Item Table Microsoft.Inventory.Item.Item

OnAfterIsNewWhseEntryGroup

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

Parameters

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

OnAfterSetWhseEntryFilters

[IntegrationEvent(False,False)]
local procedure OnAfterSetWhseEntryFilters(var WhseEntry: Record "Warehouse Entry", ItemLedgEntry: Record "Item Ledger Entry", var Item: Record Item)

Parameters

Name Type Description
WhseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"
ItemLedgEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"
Item Table Microsoft.Inventory.Item.Item

OnBeforeCreateNewPhysInvtOrderLineForItemWithNoTransactionAfterSetItemVariantFilters

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateNewPhysInvtOrderLineForItemWithNoTransactionAfterSetItemVariantFilters(var Item: Record Item, var ItemVariant: Record "Item Variant")

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
ItemVariant Table Microsoft.Inventory.Item."Item Variant"

OnBeforeCreateNewPhysInvtOrderLineForItemWithNoTransaction

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateNewPhysInvtOrderLineForItemWithNoTransaction(var Item: Record Item, var ItemVariantExists: Boolean, Location: Record Location)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
ItemVariantExists Boolean
Location Table Microsoft.Inventory.Location.Location

OnCreatePhysInvtOrderLineForItemsWithoutTransactions

[IntegrationEvent(False,False)]
local procedure OnCreatePhysInvtOrderLineForItemsWithoutTransactions(var WarehouseEntry: Record "Warehouse Entry")

Parameters

Name Type Description
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"

OnCreatePhysInvtOrderLineForItemsWithoutTransactionsBeforeCreateNewPhysInvtOrderLine

[IntegrationEvent(False,False)]
local procedure OnCreatePhysInvtOrderLineForItemsWithoutTransactionsBeforeCreateNewPhysInvtOrderLine(var WarehouseEntry: Record "Warehouse Entry", var ItemLedgerEntry: Record "Item Ledger Entry")

Parameters

Name Type Description
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"
ItemLedgerEntry Table Microsoft.Inventory.Ledger."Item Ledger Entry"

OnAfterCreatePhysInvtOrderLines

[IntegrationEvent(False,False)]
local procedure OnAfterCreatePhysInvtOrderLines(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header", var Item: Record Item, var ItemBlocked: Boolean, var LineCount: Integer, var NextLineNo: Integer)

Parameters

Name Type Description
PhysInvtOrderHeader Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Header"
Item Table Microsoft.Inventory.Item.Item
ItemBlocked Boolean
LineCount Integer
NextLineNo Integer

OnAfterGetRecordItemOnAfterCalcShouldCalcItemPhysInvtOrderLines

[IntegrationEvent(False,False)]
local procedure OnAfterGetRecordItemOnAfterCalcShouldCalcItemPhysInvtOrderLines(var Item: Record Item, PhysInvtOrderHeader: Record "Phys. Invt. Order Header", var ShouldCalcItemPhysInvtOrderLines: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
PhysInvtOrderHeader Table Microsoft.Inventory.Counting.Document."Phys. Invt. Order Header"
ShouldCalcItemPhysInvtOrderLines Boolean

See also