codeunitInventoryofficial - Microsoftderived - from the source, no model text

Codeunit 23 "Item Jnl.-Post Batch"

Base Application · Microsoft.Inventory.Posting

Across versions

  1. BC23-24present
  2. BC253 events added, 1 procedures added
  3. BC2612 procedures added, 1 procedures removed
  4. BC274 procedures removed, 3 procedures added
  5. BC282 events added, 1 procedures added
  6. BC29unchanged
  7. BC301 procedures removed, 1 events removed

Neighbourhood 29 connected objects and pages

Table 83 "Item Journal Line" (relates to)Item Journal LineCodeunit 99000823 "Mfg. Item Jnl.-Post Batch" (event subscribers, 4 links)Mfg. Item Jnl.-Post BatchCodeunit 22 "Item Jnl.-Post Line" (calls, 5 links)Item Jnl.-Post LineCodeunit 242 "Item Jnl.-Post+Print" (calls, 4 links)Item Jnl.-Post+PrintCodeunit 244 "Item Jnl.-B.Post+Print" (calls, 3 links)Item Jnl.-B.Post+PrintCodeunit 308 "No. Series - Batch" (calls, 3 links)No. Series - BatchCodeunit 7302 "WMS Management" (calls, 3 links)WMS ManagementCodeunit 7380 "Phys. Invt. Count.-Management" (calls, 3 links)Codeunit 241 "Item Jnl.-Post" (calls, 2 links)Item Jnl.-PostCodeunit 1327 "Adjust Item Inventory" (calls)Adjust Item InventoryCodeunit 20454 "Qlty. Item Journal Management" (calls)Qlty. Item Journal ManagementCodeunit 21 "Item Jnl.-Check Line" (calls)Codeunit 243 "Item Jnl.-B.Post" (calls)Item Jnl.-B.PostCodeunit 27 "Confirm Management" (calls)Confirm ManagementCodeunit 40108 "GP PO Migrator" (calls)GP PO MigratorCodeunit 4037 "Helper Functions" (calls)Helper FunctionsCodeunit 410 "Update Analysis View" (calls)Codeunit 447 "Record Link Management" (calls)Codeunit 46949 "BC14 Item Journal Post Action" (calls)Codeunit 47023 "SL Helper Functions" (calls)Codeunit 4779 "Create Mfg Item Jnl Line" (calls)Codeunit 5110 "Create Svc Item Jnl Lines" (calls)Codeunit 5189 "Create Job Item Jnl Lines" (calls)Codeunit 5538 "Create Item Jnl Line" (calls)Codeunit 5894 "Inventory Adjustment Handler" (calls)Codeunit 6500 "Item Tracking Management" (calls)Codeunit 7150 "Update Item Analysis View" (calls)Codeunit 7301 "Whse. Jnl.-Register Line" (calls)Codeunit 9500 "Sequence No. Mgt." (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Inventory.Posting · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
TableNo Item Journal Line
Permissions TableData “Item Journal Batch” = rimd, TableData “Warehouse Register” = r, TableData “Value Entry” = rm

Events published

  • OnAfterCheckLines(var ItemJnlLine: Record "Item Journal Line") (integration)
  • OnAfterCheckJnlLine(var ItemJournalLine: Record "Item Journal Line"; CommitIsSuppressed: Boolean) (integration)
  • OnAfterCode(var ItemJournalLine: Record "Item Journal Line"; ItemJournalBatch: Record "Item Journal Batch"; ItemRegNo: Integer; WhseRegNo: Integer) (integration)
  • OnAfterConstructPostingNumber(var ItemJournalLine: Record "Item Journal Line") (integration)
  • OnAfterCopyRegNos(var ItemJournalLine: Record "Item Journal Line"; var ItemRegNo: Integer; var WhseRegNo: Integer) (integration)
  • OnAfterGetLocation(var Location: Record Location; var ItemJnlLine: Record "Item Journal Line") (integration)
  • OnAfterItemJnlPostSumLine(var ItemJournalLine: Record "Item Journal Line") (integration)
  • OnBeforePostLines(var ItemJournalLine: Record "Item Journal Line"; var ItemRegNo: Integer; var WhseRegNo: Integer) (integration)
  • OnBeforeValidateDocumentNo(var ItemJournalLine: Record "Item Journal Line"; var ItemJournalBatch: Record "Item Journal Batch"; LastDocNo2: Code[20]; var IsHandled: Boolean) + BC28 (integration)
  • OnAfterPostLines(var ItemJournalLine: Record "Item Journal Line"; var ItemRegNo: Integer; var WhseRegNo: Integer) (integration)
  • OnAfterPostJnlLines(var ItemJournalBatch: Record "Item Journal Batch"; var ItemJournalLine: Record "Item Journal Line"; ItemRegNo: Integer; WhseRegNo: Integer; var WindowIsOpen: Boolean) (integration)
  • OnAfterPostWhseJnlLine(ItemJournalLine: Record "Item Journal Line"; CommitIsSuppressed: Boolean) (integration)
  • OnAfterUpdateAnalysisViews(var ItemRegister: Record "Item Register") (integration)
  • OnBeforeCode(var ItemJournalLine: Record "Item Journal Line"; var ItemLedgerEntry: Record "Item Ledger Entry") + BC26 − BC26 (integration)
  • OnBeforeCheckItemAvailability(var ItemJournalLine: Record "Item Journal Line"; var StockkeepingUnit: Record "Stockkeeping Unit") (integration)
  • OnBeforeCheckItemAvailabilityHandled(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean) (integration)
  • OnBeforeCheckLines(var ItemJnlLine: Record "Item Journal Line"; var WindowIsOpen: Boolean) (integration)
  • OnBeforeCheckWMSBin(ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean) (integration)
  • OnBeforeOpenProgressDialog(var ItemJnlLine: Record "Item Journal Line"; var Window: Dialog; var WindowIsOpen: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforePostWhseJnlLines(ItemJnlLine: Record "Item Journal Line"; var TempTrackingSpecification: Record "Tracking Specification" temporary; ItemJnlTemplateType: Enum "Item Journal Template Type"; ToTransfer: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeRaiseExceedLengthError(var ItemJournalBatch: Record "Item Journal Batch"; var RaiseError: Boolean) (integration)
  • OnBeforeWhseJnlPostLineRun(ItemJournalLine: Record "Item Journal Line"; var TempWarehouseJournalLine: Record "Warehouse Journal Line" temporary; var IsHandled: Boolean) (integration)
  • OnPostLinesOnAfterPostWhseJnlLine(var ItemJournalLine: Record "Item Journal Line"; CommitIsSuppressed: Boolean) (integration)
  • OnPostLinesBeforePostWhseJnlLine(var ItemJournalLine: Record "Item Journal Line"; CommitIsSuppressed: Boolean) (integration)
  • OnBeforeHandleNonRecurringLine(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean; var OldEntryType: Enum "Item Ledger Entry Type") (integration)
  • OnBeforeHandleRecurringLine(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean) (integration)
  • OnBeforeIncrBatchName(var ItemJournalLine: Record "Item Journal Line"; var IncrBatchName: Boolean) (integration)
  • OnBeforeItemJnlPostSumLine(var ItemJournalLine: Record "Item Journal Line"; ItemLedgerEntry: Record "Item Ledger Entry") (integration)
  • OnBeforeUpdateDeleteLines(var ItemJournalLine: Record "Item Journal Line"; var ItemRegNo: Integer; var WhseRegNo: Integer) + BC28 − BC28 (integration)
  • OnCodeOnBeforePostLines(var ItemJournalLine: Record "Item Journal Line"; var NoOfRecords: Integer) (integration)
  • OnHandleNonRecurringLineOnInsertNewLine(var ItemJournalLine: Record "Item Journal Line") (integration)
  • OnItemJnlPostSumLineOnAfterGetItem(var Item: Record Item; ItemJournalLine: Record "Item Journal Line") (integration)
  • OnItemJnlPostSumLineOnAfterCalcThrowPostingsExistError(var ItemJournalLine: Record "Item Journal Line"; RemQuantity: Decimal; var ThrowPostingsExistError: Boolean) (integration)
  • OnItemJnlPostSumLineOnBeforeIncludeEntry(var ItemJournalLine: Record "Item Journal Line"; ItemLedgEntry: Record "Item Ledger Entry"; var IncludeExpectedCost: Boolean) (integration)
  • OnItemJnlPostSumLineOnBeforeCalcAppliedAmount(var ItemJournalLine: Record "Item Journal Line"; ItemLedgEntry: Record "Item Ledger Entry") (integration)
  • OnPostLinesOnAfterPostLine(var ItemJournalLine: Record "Item Journal Line"; var SuppressCommit: Boolean) (integration)
  • OnPostLinesOnBeforePostLine(var ItemJournalLine: Record "Item Journal Line"; var SuppressCommit: Boolean; var WindowIsOpen: Boolean) (integration)
  • OnPostWhseJnlLineOnBeforeCreateWhseJnlLines(ItemJournalLine: Record "Item Journal Line"; var ItemJnlTemplateType: Option; var IsHandled: Boolean) (integration)
  • OnHandleRecurringLineOnBeforeItemJnlLineModify(var ItemJournalLine: Record "Item Journal Line") (integration)
  • OnHandleRecurringLineOnBeforeItemJnlLine2Loop(var ItemJnlLine: Record "Item Journal Line"; var ItemJnlLine2: Record "Item Journal Line"; var WindowIsOpen: Boolean) (integration)
  • OnBeforeInsertTempSKU(var TempStockkeepingUnit: Record "Stockkeeping Unit" temporary; ItemJournalLine: Record "Item Journal Line") (integration)
  • OnHandleNonRecurringLineOnAfterItemJnlLineModify(var ItemJournalLine: Record "Item Journal Line") (integration)
  • OnBeforeSelfReservedQty(SKU: Record "Stockkeeping Unit"; ItemJnlLine: Record "Item Journal Line"; var Result: Decimal; var IsHandled: Boolean) Δ BC27 − BC30 (integration, obsolete 27.0)
  • OnHandleNonRecurringLineOnBeforeSetItemJnlBatchName(ItemJnlTemplate: Record "Item Journal Template"; var IsHandled: Boolean) (integration)
  • OnHandleNonRecurringLineOnAfterCopyItemJnlLine3(var ItemJournalLine: Record "Item Journal Line"; var ItemJournalLine3: Record "Item Journal Line") (integration)
  • OnBeforeCheckJnlLine(var ItemJournalLine: Record "Item Journal Line"; SuppressCommit: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforePostJnlLine(var ItemJournalLine: Record "Item Journal Line"; SuppressCommit: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeConstructPostingNumber(var ItemJournalLine: Record "Item Journal Line"; ItemJnlBatch: Record "Item Journal Batch"; var LastDocNo: Code[20]; var LastPostedDocNo: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeUpdateItemTracking(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean) (integration)
  • OnBeforeItemJournalPostSumLine(var ItemJnlLine: Record "Item Journal Line"; var ItemJnlLine4: Record "Item Journal Line"; var LineCount: Integer; WindowIsOpen: Boolean; var Window: Dialog; NoOfRecords: Integer; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line"; var IsHandled: Boolean) (integration)
  • OnBeforeOnRun(var ItemJournalLine: Record "Item Journal Line") (integration)
  • OnAfterOnRun(var ItemJournalLine: Record "Item Journal Line") (integration)
  • OnBeforeOnPostLinesOnBeforePostLineUpdateItemTracking(var ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean) + BC25 (integration)
  • OnAfterUpdateStdCostSKUValidate(var ItemJnlLine: Record "Item Journal Line"; var SKU: Record "Stockkeeping Unit") + BC25 (integration)
  • OnBeforeCheckRemainingQty(var ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean) + BC25 (integration)
  • OnHandleWhsePutAwayForProdOutput(var ItemJnlLine: Record "Item Journal Line") + BC27 (internal)
  • OnCheckItemAvailabilityOnAfterSetAvailableQty(var TempSKU: Record "Stockkeeping Unit" temporary; var ItemJnlLine: Record "Item Journal Line"; var AvailableQty: Decimal) + BC27 (internal)
  • OnAfterIncludeEntryInCalc(ItemLedgEntry: Record "Item Ledger Entry"; PostingDate: Date; IncludeExpectedCost: Boolean; var ShouldIncludeEntryInCalc: Boolean) + BC27 (integration)

Event subscriptions

  • OnBeforePostValueEntryToGL subscribes to Codeunit “Item Jnl.-Post Line” OnBeforePostValueEntryToGL
  • OnAfterInsertItemLedgEntry subscribes to Codeunit “Item Jnl.-Post Line” OnAfterInsertItemLedgEntry
  • OnAfterInsertValueEntry subscribes to Codeunit “Item Jnl.-Post Line” OnAfterInsertValueEntry
  • OnAfterInsertPhysInventoryEntry subscribes to Codeunit “Item Jnl.-Post Line” OnAfterInsertPhysInventoryEntry
  • OnAfterInsertCapLedgEntry subscribes to Codeunit “Item Jnl.-Post Line” OnAfterInsertCapLedgEntry
  • OnAfterInsertWhseEntry subscribes to Codeunit “Whse. Jnl.-Register Line” OnAfterInsertWhseEntry
  • OnSetItemAdjmtPropertiesOnBeforeCheckModifyItem subscribes to Codeunit “Item Jnl.-Post Line” OnSetItemAdjmtPropertiesOnBeforeCheckModifyItem

Procedures

  • PostWhseJnlLine(ItemJnlLine: Record "Item Journal Line"; OriginalQuantity: Decimal; OriginalQuantityBase: Decimal; var TempTrackingSpecification: Record "Tracking Specification" temporary)
  • GetWhseRegNo(): Integer
  • GetItemRegNo(): Integer
  • SetSuppressCommit(NewSuppressCommit: Boolean)
  • RunOnBeforeSelfReservedQty(SKU: Record "Stockkeeping Unit"; ItemJnlLine2: Record "Item Journal Line"; var Result: Decimal; var IsHandled: Boolean) + BC27 − BC30 (internal)

Plus 29 local procedures.

Triggers

OnRun

Relations

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.

Called by

Recent changes

Deprecations

  • procedure RunOnBeforeSelfReservedQty: guarded (#if not CLEAN27)
  • procedure OnBeforeSelfReservedQty: Pending 27.0 (#if not CLEAN27), “Moved to codeunit MfgItemJnlPostBatch”

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

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: "Item Jnl.-Post Batch"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources