Codeunit 5884 "Phys. Invt. Order-Post"
Base Application · Microsoft.Inventory.Counting.Document
Across versions
- BC23present
- BC24declaration changed
- BC25-26unchanged
- BC271 events added
- BC28-30unchanged
Neighbourhood 15 connected objects and pages
Base Application · Microsoft.Inventory.Counting.Document · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Phys. Invt. Order Header |
| Permissions | TableData “Item Entry Relation” = ri, TableData “Pstd. Phys. Invt. Order Hdr” = rimd, TableData “Pstd. Phys. Invt. Order Line” = rimd, TableData “Pstd. Phys. Invt. Record Hdr” = rimd, TableData “Pstd. Phys. Invt. Record Line” = rimd, TableData “Pstd. Phys. Invt. Tracking” = rimd, TableData “Pstd.Exp… |
Events published
OnAfterOnRun(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var PstdPhysInvtOrderHdr: Record "Pstd. Phys. Invt. Order Hdr")(integration)OnBeforeCode(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var HideProgressWindow: Boolean; var SuppressCommit: Boolean)(integration)OnBeforeItemJnlPostLine(var ItemJournalLine: Record "Item Journal Line"; PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line"; Positive: Boolean)(integration)OnPostItemJnlLineOnBeforeTransferResEntry(var ItemJournalLine: Record "Item Journal Line"; PhysInvtOrderLine: Record "Phys. Invt. Order Line"; Qty: Decimal; Positive: Boolean)+ BC27 (integration)OnBeforeChecLocationDirectedPutAwayAndPick(PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var IsHandled: Boolean)(integration)OnCheckOrderLineOnBeforeGetSamePhysInvtOrderLine(PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var PhysInvtOrderLine2: Record "Phys. Invt. Order Line"; var ErrorText: Text[250]; var IsHandled: Boolean)(integration)OnInsertEntryRelationOnBeforeInsert(var ItemEntryRelation: Record "Item Entry Relation"; TrackingSpecification: Record "Tracking Specification"; PstdPhysInvtOrderLine: Record "Pstd. Phys. Invt. Order Line")(integration)OnBeforeInsertPostedHeader(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header")(integration)OnBeforeInsertPostedLine(PstdPhysInvtOrderHdr: Record "Pstd. Phys. Invt. Order Hdr"; PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var PstdPhysInvtOrderLine: Record "Pstd. Phys. Invt. Order Line"; var IsHandled: Boolean)(integration)OnCodeOnAfterSetFilters(var PhysInvtOrderLine: Record "Phys. Invt. Order Line")(integration)OnInsertPostedHeaderOnAfterTransferfields(PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var PstdPhysInvtOrderHdr: Record "Pstd. Phys. Invt. Order Hdr")(integration)OnInsertPostedHeaderOnBeforeInsert(PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var PstdPhysInvtOrderHdr: Record "Pstd. Phys. Invt. Order Hdr"; var IsHandled: Boolean)(integration)OnInsertPostedRecordingsOnBeforeInsertHdr(PhysInvtRecordHeader: Record "Phys. Invt. Record Header"; var PstdPhysInvtRecordHdr: Record "Pstd. Phys. Invt. Record Hdr"; var IsHandled: Boolean)(integration)OnInsertPostedRecordingsOnBeforeInsertLine(PstdPhysInvtRecordHdr: Record "Pstd. Phys. Invt. Record Hdr"; PhysInvtRecordLine: Record "Phys. Invt. Record Line"; var PstdPhysInvtRecordLine: Record "Pstd. Phys. Invt. Record Line"; var IsHandled: Boolean)(integration)OnPostWhseJnlLineOnBeforeCheckWhseJnlLine(var TempWhseJnlLine2: Record "Warehouse Journal Line" temporary; Positive: Boolean; Location: Record Location; PhysInvtOrderLine: Record "Phys. Invt. Order Line")(integration)OnPostPhysInventoryOrderLineOnAfterInsertPostedLine(PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var IsHandled: Boolean)(integration)OnPostPhysInventoryOrderLineOnBeforePostPositiveItemJnlLine(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; WhsePosting: Boolean; var ItemJnlLine: Record "Item Journal Line"; var PstdPhysInvtOrderHdr: Record "Pstd. Phys. Invt. Order Hdr"; var PstdPhysInvtOrderLine: Record "Pstd. Phys. Invt. Order Line")(integration)OnBeforePostWhseJnlLine(var ItemJnlLine: Record "Item Journal Line"; var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var PstdPhysInvtOrderHdr: Record "Pstd. Phys. Invt. Order Hdr"; var OriginalQuantity: Decimal; var OriginalQuantityBase: Decimal; var Positive: Boolean; var IsHandled: Boolean)(integration)OnAfterIsDifference(PhysInvtOrderLine: Record "Phys. Invt. Order Line")(integration)OnThrowDifferenceError(PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var ErrorMsg: Text)(integration)OnCheckOrderLineOnBeforeTestFieldItemBlocked(Item: Record "Item"; var IsHandled: Boolean)(integration)OnCheckOrderLineOnBeforeTestFieldItemVariantBlocked(ItemVariant: Record "Item Variant"; var IsHandled: Boolean)(integration)OnCodeOnAferPostPhysInventoryOrderLineNonNegative(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line")(integration)OnAfterCode(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var PstdPhysInvtOrderHdr: Record "Pstd. Phys. Invt. Order Hdr")(integration)OnCodeOnBeforeCheckLinesToPost(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var LinesToPost: Boolean; var IsHandled: Boolean)(integration)OnCodeOnAfterMakeInventoryAdjustment(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header")(integration)
Procedures
Code()SetSuppressCommit(NewSuppressCommit: Boolean)SetHideProgressWindow(NewHideProgressWindow: Boolean)SetPreviewMode(NewPreviewMode: Boolean)(internal)
Plus 17 local procedures.
Triggers
OnRun
Relations
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 408 “DimensionManagement” (4 calls:
CheckDimComb → CheckDimIDComb,CheckDimComb → GetDimCombErr,CheckDimValuePosting → CheckDimValuePosting, …) - Codeunit 7380 “Phys. Invt. Count.-Management” (3 calls:
Code → AddToTempItemSKUList,Code → InitTempItemSKUList,Code → UpdateItemSKUListPhysInvtCount) - Codeunit 22 “Item Jnl.-Post Line” (2 calls:
InsertEntryRelation → CollectTrackingSpecification,PostItemJnlLine → RunWithCheck) - Codeunit 7302 “WMS Management” (2 calls:
PostWhseJnlLine → CheckWhseJnlLine,PostWhseJnlLine → CreateWhseJnlLine) - Codeunit 19 “Gen. Jnl.-Post Preview” (1 call:
Code → ThrowError) - Codeunit 5889 “Phys. Invt. Tracking Mgt.” (1 call:
PostItemJnlLine → TransferResEntryToItemJnlLine) - Codeunit 5894 “Inventory Adjustment Handler” (1 call:
MakeInventoryAdjustment → MakeInventoryAdjustment) - Codeunit 6500 “Item Tracking Management” (1 call:
PostWhseJnlLine → SplitWhseJnlLine) - Codeunit 7301 “Whse. Jnl.-Register Line” (1 call:
PostWhseJnlLine → (object)) - Codeunit 9070 “Document Errors Mgt.” (1 call:
Code → GetNothingToPostErrorMsg) - Codeunit 9500 “Sequence No. Mgt.” (1 call:
OnRun → SetPreviewMode) - Page 456 “No. Series” (1 call:
Code → (object))
Called by
- Codeunit 5883 “Phys. Invt. Order-Post (Y/N)” (3 calls:
OnRun → (object),OnRunPreview → (object),OnRunPreview → SetPreviewMode) - Codeunit 5885 “Phys. Invt. Order-Post + Print” (1 call:
OnRun → (object))
Recent changes
- 2026-10-05 #9180 Copy record links to posted Phys. Invt. Order and Recording headers (main, BC30, fix)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Phys. Invt. Order-Post"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.