codeunitInventoryofficial - Microsoftderived - from the source, no model text

Codeunit 5857 "Copy Invt. Document Mgt."

Base Application · Microsoft.Inventory.Document

Across versions

  1. BC23-24present
  2. BC253 events added
  3. BC26-30unchanged

Neighbourhood 4 connected objects and pages

Report 5850 "Copy Invt. Document" (calls, 4 links)Copy Invt. DocumentCodeunit 311 "Item-Check Avail." (calls)Item-Check Avail.Codeunit 379 "Transfer Old Ext. Text Lines" (calls)Transfer Old Ext. Text LinesCodeunit 6500 "Item Tracking Management" (calls)Item Tracking Management

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.Document · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnCopyInvtDocLineOnBeforeCopyItemTrackingAndAppliesValues(var ToInvtDocumentHeader: Record "Invt. Document Header"; var ToInvtDocumentLine: Record "Invt. Document Line"; var FromInvtDocumentHeader: Record "Invt. Document Header"; var FromInvtDocumentLine: Record "Invt. Document Line"; FromInvtDocType: Enum "Invt. Doc. Document Type From"; var CopyThisLine: Boolean; var IsHandled: Boolean) (integration)
  • OnAfterCopyInvtDocLine(var ToInvtDocumentLine: Record "Invt. Document Line"; var FromInvtDocumentHeader: Record "Invt. Document Header"; var FromInvtDocumentLine: Record "Invt. Document Line") (integration)
  • OnCopyItemDocOnBeforeLoopFromInventoryDocumentLine(var FromInvtDocumentLine: Record "Invt. Document Line") + BC25 (integration)
  • OnCopyItemDocOnBeforeLoopFromInventoryReceiptLine(var FromInvtReceiptLine: Record "Invt. Receipt Line") + BC25 (integration)
  • OnCopyItemDocOnBeforeLoopFromInventoryShipmentLine(var FromInvtShipmentLine: Record "Invt. Shipment Line") + BC25 (integration)

Procedures

  • SetProperties(NewIncludeHeader: Boolean; NewRecalculateLines: Boolean; NewCreateToHeader: Boolean; NewHideDialog: Boolean; NewFillAppliesFields: Boolean)
  • SetCopyItemTracking(NewCopyItemTracking: Boolean)
  • CopyAsCorrection(NewIsCorrection: Boolean)
  • CopyItemDoc(FromDocType: Enum "Invt. Doc. Document Type From"; FromDocNo: Code[20]; var ToInvtDocHeader: Record "Invt. Document Header")
  • CheckItemAvailable(var ToInvtDocHeader: Record "Invt. Document Header"; var ToInvtDocLine: Record "Invt. Document Line")
  • GetItemDocLedgerEntryNo(DocNo: Code[20]; DocType: Integer; DocLineNo: Integer): Integer

Plus 8 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.

Called by

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: "Copy Invt. Document Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources