Codeunit 5884 Phys. Invt. Order-Post

Base Application, Microsoft.Inventory.Counting.Document

Source AL, 782 lines

src/Layers/W1/BaseApp/Inventory/Counting/Document/PhysInvtOrderPost.Codeunit.allines 26 to 41 of 782, Copyright (c) Microsoft Corporation. MIT

codeunit 5884 "Phys. Invt. Order-Post"{    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.Invt.Order.Tracking" = rimd;    TableNo = "Phys. Invt. Order Header";    trigger OnRun()    var        SequenceNoMgt: Codeunit "Sequence No. Mgt.";    begin        SequenceNoMgt.SetPreviewMode(PreviewMode);

All 782 lines

Events 26 in 29

[IntegrationEvent] OnAfterOnRun(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var PstdPhysInvtOrderHdr: Record "Pstd. Phys. Invt. Order Hdr")17-29
[IntegrationEvent] 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)17-29
[IntegrationEvent] OnInsertEntryRelationOnBeforeInsert(var ItemEntryRelation: Record "Item Entry Relation"; TrackingSpecification: Record "Tracking Specification"; PstdPhysInvtOrderLine: Record "Pstd. Phys. Invt. Order Line")17-29
[IntegrationEvent] OnBeforeInsertPostedHeader(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header")17-29
[IntegrationEvent] 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)17-29
[IntegrationEvent] OnInsertPostedHeaderOnAfterTransferfields(PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var PstdPhysInvtOrderHdr: Record "Pstd. Phys. Invt. Order Hdr")17-29
[IntegrationEvent] OnInsertPostedHeaderOnBeforeInsert(PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var PstdPhysInvtOrderHdr: Record "Pstd. Phys. Invt. Order Hdr"; var IsHandled: Boolean)17-29

All 28 events in 17-29

Public procedures 3 in 29

Code()17-29
SetSuppressCommit(NewSuppressCommit: Boolean)new in 18
SetHideProgressWindow(NewHideProgressWindow: Boolean)new in 20

All 4 procedures in 17-29

Changes 1 in 27

List17181920212223242526272829
Procedures111
Events4751
[IntegrationEvent] OnPostItemJnlLineOnBeforeTransferResEntry(var ItemJournalLine: Record "Item Journal Line"; PhysInvtOrderLine: Record "Phys. Invt. Order Line"; Qty: Decimal; Positive: Boolean)new in 27
added

All 20 changes in 17-29