{"title":"Report 6697 Create Ret.-Related Documents, extension points 29","url":"https://jonas-paprotka.de/ref/report/6697-create-ret-related-documents/points/","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":"report","id":6697,"name":"Create Ret.-Related Documents","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/6697-create-ret-related-documents/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/6697-create-ret-related-documents/source/","path":"src/Layers/W1/BaseApp/Utilities/CreateRetRelatedDocuments.Report.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:6670":{"name":"Returns-Related Document","url":"https://jonas-paprotka.de/ref/table/6670-returns-related-document/"},"codeunit:6620":{"name":"Copy Document Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/6620-copy-document-mgt/"},"page:6670":{"name":"Returns-Related Documents","url":"https://jonas-paprotka.de/ref/page/6670-returns-related-documents/"}},"procs":[{"name":"OnPreReport","line":96,"kind":"trigger","steps":[[100,"write",6670,"DeleteAll"],[105,"ext","codeunit",6620,"SetProperties",7],[106,"event","OnPreReportOnBeforeCopySalesDoc",0],[107,"ext","codeunit",6620,"CopySalesDoc",3],[108,"event","OnPreReportOnAfterCopySalesDoc",0],[112,"write",6670,"Insert"],[118,"ext","codeunit",6620,"SetProperties",7],[120,"event","OnPreReportOnBeforeCopyPurchReturnDoc",1],[122,"ext","codeunit",6620,"CopyFromSalesToPurchDoc",3],[123,"event","OnPreReportOnAfterCopyPurchReturnDoc",0],[127,"write",6670,"Insert"],[134,"ext","codeunit",6620,"SetProperties",7],[135,"event","OnPreReportOnBeforeCopyPurchDoc",0],[136,"ext","codeunit",6620,"CopyFromSalesToPurchDoc",3],[137,"event","OnPreReportOnAfterCopyPurchDoc",0],[141,"write",6670,"Insert"]]},{"name":"ShowDocuments","line":165,"kind":"procedure","params":0,"steps":[[168,"run","page",6670]]}]}