Codeunit 5880 Phys. Invt. Order-Finish

Base Application, Microsoft.Inventory.Counting.Document

Source AL, 541 lines

src/Layers/W1/BaseApp/Inventory/Counting/Document/PhysInvtOrderFinish.Codeunit.allines 13 to 28 of 541, Copyright (c) Microsoft Corporation. MIT

codeunit 5880 "Phys. Invt. Order-Finish"{    TableNo = "Phys. Invt. Order Header";    trigger OnRun()    begin        OnBeforeOnRun(Rec);        PhysInvtOrderHeader.Copy(Rec);        Code();        Rec := PhysInvtOrderHeader;        OnAfterOnRun(Rec);    end;    var        LastPhysInvtOrderLine: Record "Phys. Invt. Order Line";

All 541 lines

Events 23 in 29

[IntegrationEvent] OnAfterOnRun(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header")17-29
[IntegrationEvent] OnBeforePhysInvtOrderLineModify(var PhysInvtOrderLine: Record "Phys. Invt. Order Line")17-29
[IntegrationEvent] OnBeforeOnRun(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header")17-29
[IntegrationEvent] OnCodeOnBeforeCreateReservEntries(var PhysInvtOrderLine2: Record "Phys. Invt. Order Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnCodeOnAfterSetFilters(var PhysInvtOrderLine: Record "Phys. Invt. Order Line")new in 18
[IntegrationEvent] OnBeforeCode(var PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var HideProgressWindow: Boolean)new in 20
[IntegrationEvent] OnBeforeGetSamePhysInvtOrderLine(var PhysInvtOrderLine: Record "Phys. Invt. Order Line"; PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; var IsHandled: Boolean; var PhysInvtOrderLine2: Record "Phys. Invt. Order Line")new in 20

All 33 events in 17-29

Public procedures 4 in 29

Code()17-29
SetHideProgressWindow(NewHideProgressWindow: Boolean)new in 20
CreateOrderTrackingBufferLines(DocNo: Code[20]; LineNo: Integer)new in 24
CreateReservationEntries(DocNo: Code[20]; LineNo: Integer; AllBufferLines: Boolean; MaxQtyToTransfer: Decimal)new in 24

All 6 procedures in 17-29

Changes 15 in 27

List17181920212223242526272829
Procedures142
Events25231213
CreateTrackingBufferLines(DocNo: Code[20]; LineNo: Integer)gone after 26
gone
CreateReservEntries(DocNo: Code[20]; LineNo: Integer; AllBufferLines: Boolean; MaxQtyToTransfer: Decimal)gone after 26
gone
[IntegrationEvent] OnAfterCalcQtyToTransfer(var TempPhysInvtTrackingBuffer: Record "Phys. Invt. Tracking" temporary; AllBufferLines: Boolean; MaxQtyToTransfer: Decimal; var QtyToTransfer: Decimal)gone after 26
gone
[IntegrationEvent] OnCodeOnAfterUpdateFromPhysInvtRecordLine(var PhysInvtTracking: Record "Phys. Invt. Tracking"; PhysInvtRecordLine: Record "Phys. Invt. Record Line")gone after 26
gone
[IntegrationEvent] OnCreateReservEntriesOnBeforeInsert(var ReservationEntry: Record "Reservation Entry"; PhysInvtTracking: Record "Phys. Invt. Tracking"; PhysInvtOrderHeader: Record "Phys. Invt. Order Header"; PhysInvtOrderLine: Record "Phys. Invt. Order Line")gone after 26
gone
[IntegrationEvent] OnCreateReservEntriesOnAfterTempPhysInvtTrackingBufferModify(AllBufferLines: Boolean; var MaxQtyToTransfer: Decimal; QtyToTransfer: Decimal)gone after 26
gone

All 44 changes in 17-29