Codeunit 24 Inventory Setup
Source AL, 53 lines
src/Layers/W1/BaseApp/Inventory/Setup/InventorySetup.Codeunit.allines 7 to 22 of 53, Copyright (c) Microsoft Corporation. MIT
codeunit 24 "Inventory Setup"{ SingleInstance = true; var InventorySetup: Record "Inventory Setup"; RecordHasBeenRead: Boolean; RecordWasReadTime: DateTime; internal procedure GetSetup(var NewInventorySetup: Record "Inventory Setup") begin if RecordWasReadTime = 0DT then RecordWasReadTime := CurrentDateTime(); // because time calculations not allowed when 0DT if not RecordHasBeenRead or (CurrentDateTime() > RecordWasReadTime + 60000) then begin InventorySetup.Get(); RecordHasBeenRead := true;Procedures 1
| Procedure | Versions |
|---|---|
| internal Get | new in 26 |