Codeunit 1327 Adjust Item Inventory

Base Application, Microsoft.Inventory.Item

Source AL, 191 lines

src/Layers/W1/BaseApp/Inventory/Item/AdjustItemInventory.Codeunit.allines 11 to 26 of 191, Copyright (c) Microsoft Corporation. MIT

codeunit 1327 "Adjust Item Inventory"{    trigger OnRun()    begin    end;    var        CantFindTemplateOrBatchErr: Label 'Unable to find the correct item journal template or batch to post this change. Use the default item journal instead.';        SimpleInvJnlNameTxt: Label 'DEFAULT', Comment = 'The default name of the item journal';    procedure PostAdjustmentToItemLedger(Item: Record Item; NewInventory: Decimal) LastErrorText: Text    var        ItemJnlLine: Record "Item Journal Line";        ItemTemplate: Code[10];    begin

All 191 lines

Events 2 in 29

[IntegrationEvent] OnPostMultipleAdjustmentsToItemLedgerOnAfterItemSetFilters(var TempItemJournalLine: Record "Item Journal Line" temporary; var Item: Record Item)new in 18
[IntegrationEvent] OnPostMultipleAdjustmentsToItemLedgerOnBeforeInsertItemJnlLine(var TempItemJournalLine: Record "Item Journal Line" temporary; var ItemJournalLine: Record "Item Journal Line")new in 18

Public procedures 7 in 29

PostAdjustmentToItemLedger(Item: Record Item; NewInventory: Decimal): Text17-29
PostMultipleAdjustmentsToItemLedger(var TempItemJournalLine: Record "Item Journal Line" temporary): Text17-29
CreateItemJnlLine(var ItemJnlLine: Record "Item Journal Line"; var Item: Record Item; ItemTemplate: Code[10]; ItemBatch: Code[10]; NewInventory: Decimal)17-29
PostItemJnlLines(var ItemJournalLine: Record "Item Journal Line"): Text17-29
SelectItemTemplateForAdjustment(): Code[10]17-29
FindOrCreateItemBatchWithCustomNameDesc(TemplateName: Code[10]; BatchName: Code[10]; BatchDescription: Text[50]): Code[10]17-29

All 7 procedures

Changes 1 in 23

List17181920212223242526272829
Procedures1
Events2
GetInventoryAdjustmentAllowed(): Booleannew in 23
added

All 3 changes in 17-29