Codeunit 5820 Close Inventory Period

Base Application, Microsoft.Inventory.Setup

Source AL, 187 lines

src/Layers/W1/BaseApp/Inventory/Setup/CloseInventoryPeriod.Codeunit.allines 11 to 26 of 187, Copyright (c) Microsoft Corporation. MIT

codeunit 5820 "Close Inventory Period"{    Permissions = TableData "Inventory Period" = rimd,                  TableData "Inventory Period Entry" = rimd;    TableNo = "Inventory Period";    trigger OnRun()    begin        if not HideDialog then            if not ReOpen then begin                if not Confirm(                     Text002,                     false,                     Rec."Ending Date")                then                    exit

All 187 lines

Events 1 in 29

[IntegrationEvent] OnRunOnBeforeCheck(InventoryPeriod: Record "Inventory Period"; Reopen: Boolean)17-29

Public procedures 2 in 29

SetReOpen(NewReOpen: Boolean)17-29
SetHideDialog(NewHideDialog: Boolean)17-29