Codeunit 5857 "Copy Invt. Document Mgt."
Base Application · Microsoft.Inventory.Document
Across versions
- BC23-24present
- BC253 events added
- BC26-30unchanged
Neighbourhood 4 connected objects and pages
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.
- Codeunit 311 “Item-Check Avail.” (1 call:
CheckItemAvailable → InvtDocCheckLine) - Codeunit 379 “Transfer Old Ext. Text Lines” (1 call:
CopyItemDoc → ClearLineNumbers) - Codeunit 6500 “Item Tracking Management” (1 call:
InitReservEntry → ExistingExpirationDate)
Called by
- Report 5850 “Copy Invt. Document” (4 calls:
OnPreReport → CopyAsCorrection,OnPreReport → CopyItemDoc,OnPreReport → SetCopyItemTracking, …)
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.