{"title":"Codeunit 5857 Copy Invt. Document Mgt., events","url":"https://jonas-paprotka.de/ref/codeunit/5857-copy-invt-document-mgt/events/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":5857,"name":"Copy Invt. Document Mgt.","app":"Base Application","versions":"18-29","url":"https://jonas-paprotka.de/ref/codeunit/5857-copy-invt-document-mgt/","json":"https://jonas-paprotka.de/ref/codeunit/5857-copy-invt-document-mgt.json"},"aspect":"events","total":5,"rows":[{"name":"OnCopyInvtDocLineOnBeforeCopyItemTrackingAndAppliesValues","sig":"(var Record Invt. Document Header, var Record Invt. Document Line, var Record Invt. Document Header, var Record Invt. Document Line, Enum Invt. Doc. Document Type From, var Boolean, var Boolean)","named":"(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)","returns":"","kind":"integrationevent","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(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)","returns":"","kind":"integrationevent","access":"public","obsolete":null}]},{"name":"OnAfterCopyInvtDocLine","sig":"(var Record Invt. Document Line, var Record Invt. Document Header, var Record Invt. Document Line)","named":"(var ToInvtDocumentLine: Record \"Invt. Document Line\"; var FromInvtDocumentHeader: Record \"Invt. Document Header\"; var FromInvtDocumentLine: Record \"Invt. Document Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var ToInvtDocumentLine: Record \"Invt. Document Line\"; var FromInvtDocumentHeader: Record \"Invt. Document Header\"; var FromInvtDocumentLine: Record \"Invt. Document Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCopyItemDocOnBeforeLoopFromInventoryDocumentLine","sig":"(var Record Invt. Document Line)","named":"(var FromInvtDocumentLine: Record \"Invt. Document Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var FromInvtDocumentLine: Record \"Invt. Document Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCopyItemDocOnBeforeLoopFromInventoryReceiptLine","sig":"(var Record Invt. Receipt Line)","named":"(var FromInvtReceiptLine: Record \"Invt. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var FromInvtReceiptLine: Record \"Invt. Receipt Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCopyItemDocOnBeforeLoopFromInventoryShipmentLine","sig":"(var Record Invt. Shipment Line)","named":"(var FromInvtShipmentLine: Record \"Invt. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var FromInvtShipmentLine: Record \"Invt. Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}