Codeunit 6503 "Item Tracking Doc. Management"
Base Application · Microsoft.Inventory.Tracking
Across versions
- BC23present
- BC242 procedures changed
- BC253 procedures removed, 1 events changed
- BC26unchanged
- BC271 procedures changed, 1 events added
- BC28-29unchanged
- BC301 procedures removed
Neighbourhood 39 connected objects and pages
Base Application · Microsoft.Inventory.Tracking · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnAddTempRecordToSetOnAfterTempItemLedgEntrySetFilters(var TempItemLedgEntry: Record "Item Ledger Entry" temporary; TempItemLedgEntry2: Record "Item Ledger Entry" temporary)(integration)OnAddTempRecordToSetOnAfterApplySignFactor(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary; SignFactor: Integer)(integration)OnAddTempRecordToSetOnBeforeTempItemLedgEntryModify(var TempItemLedgEntry: Record "Item Ledger Entry" temporary; TempItemLedgEntry2: Record "Item Ledger Entry" temporary)(integration)OnAddTempRecordToSetOnAfterRetrieveAppliedExpirationDate(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary)(integration)OnAfterAddTempRecordToSet(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary; var TempItemLedgerEntry2: Record "Item Ledger Entry" temporary; SignFactor: Integer)(integration)OnAfterFillTrackingSpecBufferFromItemLedgEntry(var TempTrackingSpecification: Record "Tracking Specification" temporary; var TempItemLedgerEntry: Record "Item Ledger Entry" temporary)(integration)OnAfterFillTrackingSpecBufferFromReservEntry(var TempTrackingSpecification: Record "Tracking Specification" temporary; var ReservationEntry: Record "Reservation Entry")(integration)OnAfterFillTrackingSpecBufferFromTrackingEntries(var TempTrackingSpecification: Record "Tracking Specification" temporary; var TrackingSpecification: Record "Tracking Specification")(integration)OnBeforeRetrieveDocumentItemTracking(var TempTrackingSpecBuffer: Record "Tracking Specification" temporary; SourceID: Code[20]; SourceType: Integer; SourceSubType: Option; var IsHandled: Boolean)(integration)OnRetrieveDocumentItemTracking(var TempTrackingSpecBuffer: Record "Tracking Specification" temporary; SourceID: Code[20]; var Found: Boolean; SourceType: Integer; SourceSubType: Option; RetrieveAsmItemTracking: Boolean)Δ BC25 (integration)- subscribers: Codeunit 6482 “Serv. Item Tracking Doc. Mgt.” OnRetrieveDocumentItemTracking
OnRetrieveEntriesFromPostedInvOnBeforeAddTempRecordToSet(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary; ValueEntry: Record "Value Entry")(integration)OnRetrieveTrackingPurchaseOnAfterSetFilters(var PurchaseLine: Record "Purchase Line"; SourceID: Code[20]; SourceSubType: Option)(integration)OnRetrieveTrackingPurchaseReceiptOnAfterSetFilters(var PurchRcptLine: Record "Purch. Rcpt. Line"; SourceID: Code[20])(integration)OnRetrieveTrackingPurchCrMemoHeaderOnAfterSetFilters(var PurchCrMemoLine: Record "Purch. Cr. Memo Line"; SourceID: Code[20])(integration)OnRetrieveTrackingPurhInvHeaderOnAfterSetFilters(var PurchInvLine: Record "Purch. Inv. Line"; SourceID: Code[20])(integration)OnRetrieveTrackingSalesOnAfterSetFilters(var SalesLine: Record "Sales Line"; SourceID: Code[20]; SourceSubType: Option)(integration)OnRetrieveTrackingSalesCrMemoHeaderOnAfterSetFilters(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; SourceID: Code[20])(integration)OnRetrieveTrackingSalesInvoiceOnAfterSetFilters(var SalesInvoiceLine: Record "Sales Invoice Line"; SourceID: Code[20])(integration)OnRetrieveTrackingSalesShipmentOnAfterSetFilters(var SalesShipmentLine: Record "Sales Shipment Line"; SourceID: Code[20])(integration)OnCollectItemTrkgPerPostedDocLineOnBeforeTempItemLedgEntryInsert(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary; var TempReservationEntry: Record "Reservation Entry" temporary; ItemLedgerEntry: Record "Item Ledger Entry"; FromPurchase: Boolean)(integration)OnCreateTrackingInformationOnAfterTrackingSpecLoop(TrackingSpecification: Record "Tracking Specification"; ItemTrackingCode: Record "Item Tracking Code"; Inbound: Boolean)(integration)- subscribers: Codeunit 6515 “Package Info. Management” ItemTrackingDocManagementOnCreateTrackingInformationOnAfterTrackingSpecLoop
OnItemTrackingExistsInBufferOnAfterTempTrackingSpecBufferSetFilters(var TempTrackingSpecBuffer: Record "Tracking Specification" temporary)(integration)OnShowItemTrackingForEntityOnBeforeTempItemLedgEntryInsert(var TempItemLedgerEntry: Record "Item Ledger Entry" temporary; Item: Record Item)(integration)OnAfterTableSignFactor(TableNo: Integer; var Sign: Integer)+ BC25 (integration)- subscribers: Codeunit 6482 “Serv. Item Tracking Doc. Mgt.” OnAfterTableSignFactor, Codeunit 935 “Asm. Item Tracking Mgt.” OnAfterTableSignFactor, Codeunit 99000891 “Mfg. Item Tracking Mgt.” OnAfterTableSignFactor
OnRetrieveTrackingSalesShipmentForAssembly(SalesShipmentLine: Record "Sales Shipment Line"; var TempTrackingSpecBuffer: Record "Tracking Specification" temporary)+ BC27 (integration)- subscribers: Codeunit 935 “Asm. Item Tracking Mgt.” OnRetrieveTrackingSalesShipmentForAssembly
Procedures
AddTempRecordToSet(var TempItemLedgEntry: Record "Item Ledger Entry" temporary; SignFactor: Integer)Δ BC24CollectItemTrkgPerPostedDocLine(var TempReservEntry: Record "Reservation Entry" temporary; var TempItemLedgEntry: Record "Item Ledger Entry" temporary; FromPurchase: Boolean; DocNo: Code[20]; LineNo: Integer)CopyItemLedgerEntriesToTemp(var TempItemLedgEntry: Record "Item Ledger Entry" temporary; var FromItemLedgEntry: Record "Item Ledger Entry")FillTrackingSpecBufferFromILE(var TempItemLedgEntry: Record "Item Ledger Entry" temporary; var TempTrackingSpecBuffer: Record "Tracking Specification" temporary; Type: Integer; Subtype: Integer; ID: Code[20]; BatchName: Code[10]; ProdOrderLine: Integer; RefNo: Integer; Description: Text[100])FindReservEntries(var TempTrackingSpecBuffer: Record "Tracking Specification" temporary; Type: Integer; Subtype: Integer; ID: Code[20]; BatchName: Code[10]; ProdOrderLine: Integer; RefNo: Integer; Description: Text[100])FindTrackingEntries(var TempTrackingSpecBuffer: Record "Tracking Specification" temporary; Type: Integer; Subtype: Integer; ID: Code[20]; BatchName: Code[10]; ProdOrderLine: Integer; RefNo: Integer; Description: Text[100])FindShptRcptEntries(var TempTrackingSpecBuffer: Record "Tracking Specification" temporary; Type: Integer; Subtype: Integer; ID: Code[20]; BatchName: Code[10]; ProdOrderLine: Integer; RefNo: Integer; Description: Text[100])FindInvoiceEntries(var TempTrackingSpecBuffer: Record "Tracking Specification" temporary; Type: Integer; Subtype: Integer; ID: Code[20]; BatchName: Code[10]; ProdOrderLine: Integer; RefNo: Integer; Description: Text[100])RetrieveDocumentItemTracking(var TempTrackingSpecBuffer: Record "Tracking Specification" temporary; SourceID: Code[20]; SourceType: Integer; SourceSubType: Option): IntegerRetrieveEntriesFromShptRcpt(var TempItemLedgEntry: Record "Item Ledger Entry" temporary; Type: Integer; Subtype: Integer; ID: Code[20]; BatchName: Code[10]; ProdOrderLine: Integer; RefNo: Integer)RetrieveEntriesFromPostedInvoice(var TempItemLedgEntry: Record "Item Ledger Entry" temporary; InvoiceRowID: Text[250])SetRetrieveAsmItemTracking(RetrieveAsmItemTracking2: Boolean)ShowItemTrackingForInvoiceLine(InvoiceRowID: Text[250]): BooleanShowItemTrackingForEntity(SourceType: Integer; SourceNo: Code[20]; ItemNo: Code[20]; VariantCode: Code[20]; LocationCode: Code[10]; ItemTrackingSetup: Record "Item Tracking Setup")ShowItemTrackingForEntity(SourceType: Integer; SourceNo: Code[20]; ItemNo: Code[20]; VariantCode: Code[20]; LocationCode: Code[10])ShowItemTrackingForProdOrderComp(Type: Integer; ID: Code[20]; ProdOrderLine: Integer; RefNo: Integer): BooleanΔ BC27 − BC30 (obsolete 27.0: Moved to codeunit Mfg. Item Tracking Mgt.)ShowItemTrackingForJobPlanningLine(Type: Integer; ID: Code[20]; RefNo: Integer): Boolean(internal)ShowItemTrackingForShptRcptLine(Type: Integer; Subtype: Integer; ID: Code[20]; BatchName: Code[10]; ProdOrderLine: Integer; RefNo: Integer): BooleanTableSignFactor(TableNo: Integer): IntegerΔ BC24CreateTrackingInfo(TableID: Integer; DocumentType: Integer; DocumentNo: Code[20])CopyDocTrkgFromReservation(SourceType: Integer; SourceSubtype: Integer; SourceID: Code[20]; HideDialog: Boolean)
Plus 13 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 6500 “Item Tracking Management” (3 calls:
AddTempRecordToSet → RetrieveAppliedExpirationDate,CreateLineTrkgFromReservation → GetItemTrackingSetup,FindInvoiceEntries → ComposeRowID) - Page 6511 “Posted Item Tracking Lines” (3 calls:
ShowItemTrackingForInvoiceLine → (object),ShowItemTrackingForJobPlanningLine → (object),ShowItemTrackingForShptRcptLine → (object)) - Page 6501 “Item Tracking Entries” (1 call:
ShowItemTrackingForEntity → (object))
Called by
- Codeunit 6620 “Copy Document Mgt.” (16 calls:
CopyItemLedgEntryTrackingToSalesLine → CollectItemTrkgPerPostedDocLine,CopyItemLedgEntryTrackingToSalesLine → CopyItemLedgerEntriesToTemp,CopyPurchCrMemoLinesToDoc → CollectItemTrkgPerPostedDocLine, …) - Codeunit 6482 “Serv. Item Tracking Doc. Mgt.” (4 calls:
RetrieveTrackingService → FindReservEntries,RetrieveTrackingService → FindTrackingEntries,RetrieveTrackingServiceInvoice → FindInvoiceEntries, …) - Report 6521 “Item Tracking Appendix” (4 calls:
HandleInvoice → RetrieveDocumentItemTracking,HandlePurchase → RetrieveDocumentItemTracking,HandleSales → RetrieveDocumentItemTracking, …) - Codeunit 5819 “Undo Service Consumption Line” (2 calls:
CollectItemLedgerEntries → CopyItemLedgerEntriesToTemp,CollectItemLedgerEntries → RetrieveDocumentItemTracking) - Codeunit 5826 “Matched Order Line Mgmt.” (2 calls:
LoadOneLineForPurchaseInvoice → RetrieveEntriesFromShptRcpt,ValidateQtyToInvoiceForPurchaseInvoice → RetrieveEntriesFromShptRcpt) - Table 115 “Sales Cr.Memo Line” (2 calls:
FindItemLedgerEntryFromItemApplicationEntry → RetrieveEntriesFromPostedInvoice,ShowItemTrackingLines → ShowItemTrackingForInvoiceLine) - Table 125 “Purch. Cr. Memo Line” (2 calls:
FindItemLedgerEntryFromItemApplicationEntry → RetrieveEntriesFromPostedInvoice,ShowItemTrackingLines → ShowItemTrackingForInvoiceLine) - Codeunit 1032 “Job Planning Line-Reserve” (1 call:
CallItemTracking → ShowItemTrackingForJobPlanningLine) - Codeunit 20412 “Qlty. Assembly Integration” (1 call:
HandleOnAfterPost → FindShptRcptEntries) - Codeunit 20441 “Qlty. Disp. Purchase Return” (1 call:
FindPurchaseReceiptLineForInspection → RetrieveEntriesFromShptRcpt) - Codeunit 5829 “PO Matching Group” (1 call:
ReceiptHasItemTracking → RetrieveEntriesFromShptRcpt) - Codeunit 5831 “PO Matching” (1 call:
ReceiptHasItemTracking → RetrieveEntriesFromShptRcpt) - Codeunit 900 “Assembly-Post” (1 call:
FindItemLedgerEntryAndWhseItemTrackingLine → RetrieveEntriesFromShptRcpt) - Codeunit 935 “Asm. Item Tracking Mgt.” (1 call:
OnRetrieveTrackingSalesShipmentForAssembly → FindShptRcptEntries) - Table 111 “Sales Shipment Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForShptRcptLine) - Table 113 “Sales Invoice Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForInvoiceLine) - Table 121 “Purch. Rcpt. Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForShptRcptLine) - Table 123 “Purch. Inv. Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForInvoiceLine) - Table 5740 “Transfer Header” (1 call:
AddTransferLineFromReceiptLine → CopyItemLedgerEntriesToTemp) - Table 5745 “Transfer Shipment Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForShptRcptLine) - Table 5747 “Transfer Receipt Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForShptRcptLine) - Table 5853 “Invt. Receipt Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForInvoiceLine) - Table 5855 “Invt. Shipment Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForInvoiceLine) - Table 5857 “Direct Trans. Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForShptRcptLine) - Table 5880 “Pstd. Phys. Invt. Order Line” (1 call:
ShowPostedItemTrackingLines → ShowItemTrackingForShptRcptLine) - Table 5991 “Service Shipment Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForShptRcptLine) - Table 5993 “Service Invoice Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForInvoiceLine) - Table 5995 “Service Cr.Memo Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForInvoiceLine) - Table 6651 “Return Shipment Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForShptRcptLine) - Table 6661 “Return Receipt Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForShptRcptLine) - Table 910 “Posted Assembly Header” (1 call:
ShowItemTrackingLines → ShowItemTrackingForShptRcptLine) - Table 911 “Posted Assembly Line” (1 call:
ShowItemTrackingLines → ShowItemTrackingForShptRcptLine)
Recent changes
- 2026-10-02 #12066 Bugs/remove asm inv mfg clean27 tags for wave2 2026 (main, BC30, obsoletion)
Deprecations
- procedure ShowItemTrackingForProdOrderComp: Pending 27.0 (#if not CLEAN27), “Moved to codeunit Mfg. Item Tracking Mgt.”
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 Tracking Doc. Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.