{"title":"Report 407 Purchase - Credit Memo, extension points 29","url":"https://jonas-paprotka.de/ref/report/407-purchase-credit-memo/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":407,"name":"Purchase - Credit Memo","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/407-purchase-credit-memo/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/407-purchase-credit-memo/source/","path":"src/Layers/W1/BaseApp/Purchases/History/PurchaseCreditMemo.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:290":{"name":"VAT Amount Line","url":"https://jonas-paprotka.de/ref/table/290-vat-amount-line/"},"table:330":{"name":"Currency Exchange Rate","url":"https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/"},"codeunit:368":{"name":"Format Document","url":"https://jonas-paprotka.de/ref/codeunit/368-format-document/"},"codeunit:320":{"name":"PurchCrMemo-Printed","url":"https://jonas-paprotka.de/ref/codeunit/320-purchcrmemo-printed/"},"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: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/"}},"procs":[{"name":"LineDimensionsCaption.OnAfterGetRecord","line":507,"kind":"trigger","steps":[[524,"ext","table",290,"InsertLine",0]]},{"name":"LineDimensionsCaption.OnPreDataItem","line":540,"kind":"trigger","steps":[[545,"write",290,"DeleteAll"]]},{"name":"InvDiscAmtCaption.OnAfterGetRecord","line":617,"kind":"trigger","steps":[[619,"ext","table",290,"GetLine",1]]},{"name":"VATAmtLineVATIdentifier_VATCounterLCY.OnAfterGetRecord","line":652,"kind":"trigger","steps":[[654,"ext","table",290,"GetLine",1],[656,"ext","table",290,"GetBaseLCY",3],[660,"ext","table",290,"GetAmountLCY",3]]},{"name":"VATAmtLineVATIdentifier_VATCounterLCY.OnPreDataItem","line":665,"kind":"trigger","steps":[[681,"ext","table",330,"FindCurrency",3]]},{"name":"ShipToPhoneNo.OnAfterGetRecord","line":744,"kind":"trigger","steps":[[748,"ext","codeunit",368,"GetCOPYText",0]]},{"name":"ShipToPhoneNo.OnPostDataItem","line":760,"kind":"trigger","steps":[[762,"call","IsReportInPreviewMode",0],[763,"run","codeunit",320]]},{"name":"ShipToPhoneNo.OnAfterGetRecord","line":776,"kind":"trigger","steps":[[779,"ext","codeunit",43,"GetLanguageIdOrDefault",1],[780,"ext","codeunit",43,"GetFormatRegionOrDefault",1],[781,"ext","codeunit",365,"SetLanguageCode",1],[783,"call","FormatAddressFields",1],[784,"call","FormatDocumentFields",1]]},{"name":"ShipToPhoneNo.OnPreDataItem","line":793,"kind":"trigger","steps":[[796,"event","OnAfterPostDataItem",0]]},{"name":"OnInit","line":839,"kind":"trigger","steps":[[841,"call","InitLogInteraction",0]]},{"name":"OnInitReport","line":860,"kind":"trigger","steps":[[866,"event","OnAfterInitReport",0]]},{"name":"OnPostReport","line":869,"kind":"trigger","steps":[[871,"call","IsReportInPreviewMode",0],[874,"ext","codeunit",5051,"LogDocument",10]]},{"name":"InitLogInteraction","line":992,"kind":"procedure","params":0,"steps":[[994,"ext","codeunit",5051,"FindInteractionTemplateCode",1]]},{"name":"IsReportInPreviewMode","line":1011,"kind":"procedure","access":"local","params":0,"steps":[[1015,"ext","codeunit",9520,"IsHandlingGetEmailBody",0]]},{"name":"FormatAddressFields","line":1018,"kind":"procedure","access":"local","params":1,"steps":[[1020,"ext","codeunit",365,"GetCompanyAddr",4],[1021,"ext","codeunit",365,"PurchCrMemoPayTo",2],[1022,"ext","codeunit",365,"PurchCrMemoShipTo",2]]},{"name":"FormatDocumentFields","line":1025,"kind":"procedure","access":"local","params":1,"steps":[[1027,"ext","codeunit",368,"SetTotalLabels",4],[1028,"ext","codeunit",368,"SetPurchaser",3],[1030,"ext","codeunit",368,"SetText",2],[1031,"ext","codeunit",368,"SetText",2],[1032,"ext","codeunit",368,"SetText",2],[1034,"ext","codeunit",368,"SetText",2]]}]}