Codeunit 1327 "Adjust Item Inventory"
Base Application · Microsoft.Inventory.Item
Across versions
- BC23-30present
Neighbourhood 10 connected objects and pages
Base Application · Microsoft.Inventory.Item · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnPostMultipleAdjustmentsToItemLedgerOnAfterItemSetFilters(var TempItemJournalLine: Record "Item Journal Line" temporary; var Item: Record Item)(integration)OnPostMultipleAdjustmentsToItemLedgerOnBeforeInsertItemJnlLine(var TempItemJournalLine: Record "Item Journal Line" temporary; var ItemJournalLine: Record "Item Journal Line")(integration)
Procedures
PostAdjustmentToItemLedger(Item: Record Item; NewInventory: Decimal): TextPostMultipleAdjustmentsToItemLedger(var TempItemJournalLine: Record "Item Journal Line" temporary): TextCreateItemJnlLine(var ItemJnlLine: Record "Item Journal Line"; var Item: Record Item; ItemTemplate: Code[10]; ItemBatch: Code[10]; NewInventory: Decimal)PostItemJnlLines(var ItemJournalLine: Record "Item Journal Line"): TextSelectItemTemplateForAdjustment(): Code[10]FindOrCreateItemBatchWithCustomNameDesc(TemplateName: Code[10]; BatchName: Code[10]; BatchDescription: Text[50]): Code[10]GetInventoryAdjustmentAllowed(): Boolean
Plus 3 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 23 “Item Jnl.-Post Batch” (1 call:
PostItemJnlLines → (object)) - Codeunit 240 “ItemJnlManagement” (1 call:
SelectItemTemplateForAdjustment → TemplateSelection)
Called by
- Codeunit 47026 “SL Item Migrator” (3 calls:
CreateItemJnlLine → SelectItemTemplateForAdjustment,CreateItemJnlLineItemCost → SelectItemTemplateForAdjustment,CreateItemJnlLineLotSerMst → SelectItemTemplateForAdjustment) - Page 30 “Item Card” (2 calls:
EnableControls → GetInventoryAdjustmentAllowed,OnOpenPageFunc → GetInventoryAdjustmentAllowed) - Codeunit 1811 “Excel Post Processor” (1 call:
PostProcessItem → PostAdjustmentToItemLedger) - Codeunit 1920 “MigrationQB Item Migrator” (1 call:
MigrateInventoryTransactions → PostAdjustmentToItemLedger) - Codeunit 40108 “GP PO Migrator” (1 call:
CreateNegativeAdjustment → SelectItemTemplateForAdjustment) - Codeunit 4019 “GP Item Migrator” (1 call:
CreateItemJnlLine → SelectItemTemplateForAdjustment) - Page 1327 “Adjust Inventory” (1 call:
OnQueryClosePage → PostMultipleAdjustmentsToItemLedger) - Page 31 “Item List” (1 call:
OnOpenPage → GetInventoryAdjustmentAllowed)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Adjust Item Inventory"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.