{"title":"Report 20504 Subc. Dispatching List, extension points 29","url":"https://jonas-paprotka.de/ref/report/20504-subc-dispatching-list/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":20504,"name":"Subc. Dispatching List","app":"Subcontracting","url":"https://jonas-paprotka.de/ref/report/20504-subc-dispatching-list/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/20504-subc-dispatching-list/source/","path":"src/Apps/W1/Subcontracting/App/src/Manufacturing/SubcDispatchingList.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":{"codeunit:368":{"name":"Format Document","url":"https://jonas-paprotka.de/ref/codeunit/368-format-document/"},"table:39":{"name":"Purchase Line","url":"https://jonas-paprotka.de/ref/table/39-purchase-line/"},"table:290":{"name":"VAT Amount Line","url":"https://jonas-paprotka.de/ref/table/290-vat-amount-line/"},"codeunit:90":{"name":"Purch.-Post","url":"https://jonas-paprotka.de/ref/codeunit/90-purch-post/"},"table:461":{"name":"Prepayment Inv. Line Buffer","url":"https://jonas-paprotka.de/ref/table/461-prepayment-inv-line-buffer/"},"codeunit:444":{"name":"Purchase-Post Prepayments","url":"https://jonas-paprotka.de/ref/codeunit/444-purchase-post-prepayments/"},"table:330":{"name":"Currency Exchange Rate","url":"https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/"},"codeunit:43":{"name":"Language","url":"https://jonas-paprotka.de/ref/codeunit/43-language/"},"codeunit:365":{"name":"Format Address","url":"https://jonas-paprotka.de/ref/codeunit/365-format-address/"},"codeunit:317":{"name":"Purch.Header-Printed","url":"https://jonas-paprotka.de/ref/codeunit/317-purch-header-printed/"},"codeunit:5063":{"name":"ArchiveManagement","url":"https://jonas-paprotka.de/ref/codeunit/5063-archivemanagement/"},"codeunit:20569":{"name":"Subc. Feature Flag Handler","url":"https://jonas-paprotka.de/ref/codeunit/20569-subc-feature-flag-handler/"},"codeunit:5051":{"name":"SegManagement","url":"https://jonas-paprotka.de/ref/codeunit/5051-segmanagement/"},"codeunit:9520":{"name":"Mail Management","url":"https://jonas-paprotka.de/ref/codeunit/9520-mail-management/"},"table:79":{"name":"Company Information","url":"https://jonas-paprotka.de/ref/table/79-company-information/"}},"procs":[{"name":"Prod__Order_Component_Status.OnAfterGetRecord","line":1076,"kind":"trigger","steps":[[1091,"ext","codeunit",368,"SetPurchaseLine",5],[1093,"call","BlankZero",1]]},{"name":"VATAmountText.OnAfterGetRecord","line":1164,"kind":"trigger","steps":[[1171,"write",39,"DeleteAll"],[1173,"write",290,"DeleteAll"],[1174,"ext","codeunit",90,"GetPurchLines",3],[1175,"ext","table",39,"CalcVATAmountLines",4],[1176,"ext","table",39,"UpdateVATOnLines",4],[1177,"ext","table",290,"GetTotalVATAmount",0],[1178,"ext","table",290,"GetTotalVATBase",0],[1180,"ext","table",290,"GetTotalVATDiscount",2],[1181,"ext","table",290,"GetTotalAmountInclVAT",0],[1184,"write",461,"DeleteAll"],[1185,"ext","codeunit",444,"GetPurchLines",3],[1187,"ext","codeunit",444,"GetPurchLinesToDeduct",2],[1189,"ext","codeunit",444,"CalcVATAmountLines",4],[1191,"ext","codeunit",444,"CalcVATAmountLines",4],[1192,"ext","table",290,"DeductVATAmountLine",1],[1193,"ext","codeunit",444,"UpdateVATOnLines",4],[1194,"ext","codeunit",444,"BuildInvLineBuffer",4],[1195,"ext","table",290,"GetTotalVATAmount",0],[1196,"ext","table",290,"GetTotalVATBase",0],[1197,"ext","table",290,"GetTotalAmountInclVAT",0],[1201,"ext","codeunit",368,"SetTotalLabels",4]]},{"name":"VATAmtLineVATIdentifier.OnAfterGetRecord","line":1243,"kind":"trigger","steps":[[1245,"ext","table",290,"GetLine",1]]},{"name":"VALVATBaseLCY.OnAfterGetRecord","line":1272,"kind":"trigger","steps":[[1274,"ext","table",290,"GetLine",1],[1276,"ext","table",290,"GetBaseLCY",3],[1279,"ext","table",290,"GetAmountLCY",3]]},{"name":"VALVATBaseLCY.OnPreDataItem","line":1283,"kind":"trigger","steps":[[1287,"ext","table",290,"GetTotalVATAmount",0],[1298,"ext","table",330,"FindCurrency",3]]},{"name":"PrepymtVATAmtSpecCaption.OnAfterGetRecord","line":1397,"kind":"trigger","steps":[[1399,"ext","table",290,"GetLine",1]]},{"name":"SubcVATPercentCaptionLbl.OnAfterGetRecord","line":1499,"kind":"trigger","steps":[[1502,"ext","codeunit",43,"GetLanguageIdOrDefault",1],[1503,"ext","codeunit",365,"SetLanguageCode",1],[1505,"call","FormatAddressFields",1],[1506,"call","FormatDocumentFields",1],[1510,"call","IsReportInPreviewMode",0],[1511,"run","codeunit",317],[1513,"ext","codeunit",5063,"StorePurchDocument",2],[1516,"ext","codeunit",365,"PurchHeaderShipTo",2],[1526,"call","SetTotalLabels",2],[1527,"call","SetInvDisAmountLbl",2],[1529,"call","FormatFooter",0],[1535,"call","SetLabels",0]]},{"name":"OnInitReport","line":1617,"kind":"trigger","steps":[[1627,"ext","codeunit",20569,"IsSubcontractingEnabled",0],[1637,"ext","codeunit",368,"SetLogoPosition",4]]},{"name":"OnPostReport","line":1640,"kind":"trigger","steps":[[1642,"call","IsReportInPreviewMode",0],[1645,"ext","codeunit",5051,"LogDocument",10]]},{"name":"OnPreReport","line":1651,"kind":"trigger","steps":[[1654,"call","InitLogInteraction",0]]},{"name":"IsReportInPreviewMode","line":1899,"kind":"procedure","access":"local","params":0,"steps":[[1903,"ext","codeunit",9520,"IsHandlingGetEmailBody",0]]},{"name":"FormatAddressFields","line":1906,"kind":"procedure","access":"local","params":1,"steps":[[1908,"ext","codeunit",365,"GetCompanyAddr",4],[1909,"ext","codeunit",365,"PurchHeaderBuyFrom",2],[1911,"ext","codeunit",365,"PurchHeaderPayTo",2],[1912,"ext","codeunit",365,"PurchHeaderShipTo",2]]},{"name":"FormatDocumentFields","line":1915,"kind":"procedure","access":"local","params":1,"steps":[[1917,"ext","codeunit",368,"SetTotalLabels",4],[1918,"ext","codeunit",368,"SetPurchaser",3],[1919,"ext","codeunit",368,"SetPaymentTerms",3],[1920,"ext","codeunit",368,"SetPaymentTerms",3],[1921,"ext","codeunit",368,"SetShipmentMethod",3],[1923,"ext","codeunit",368,"SetText",2],[1924,"ext","codeunit",368,"SetText",2]]},{"name":"InitLogInteraction","line":1927,"kind":"procedure","access":"local","params":0,"steps":[[1929,"ext","codeunit",5051,"FindInteractionTemplateCode",1]]},{"name":"FormatFooter","line":1950,"kind":"procedure","access":"local","params":0,"steps":[[1962,"ext","table",79,"GetVATRegistrationNumberLbl",0],[1967,"ext","table",79,"GetVATRegistrationNumber",0]]}]}