{"title":"XmlPort 1611 Sales Cr.Memo - PEPPOL BIS 3.0, extension points 29","url":"https://jonas-paprotka.de/ref/xmlport/1611-sales-cr-memo-peppol-bis-3-0/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":"xmlport","id":1611,"name":"Sales Cr.Memo - PEPPOL BIS 3.0","app":"Base Application","url":"https://jonas-paprotka.de/ref/xmlport/1611-sales-cr-memo-peppol-bis-3-0/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/xmlport/1611-sales-cr-memo-peppol-bis-3-0/source/","path":"src/Layers/W1/BaseApp/Sales/Peppol/SalesCrMemoPEPPOLBIS30.XmlPort.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:1605":{"name":"PEPPOL Management","url":"https://jonas-paprotka.de/ref/codeunit/1605-peppol-management/"}},"procs":[{"name":"OnBeforePassVariable","line":91,"kind":"trigger","steps":[[93,"ext","codeunit",1605,"GetTaxTotalInfoLCY",4]]},{"name":"OnBeforePassVariable","line":112,"kind":"trigger","steps":[[114,"ext","codeunit",1605,"GetBuyerReference",1]]},{"name":"OnBeforePassVariable","line":131,"kind":"trigger","steps":[[133,"ext","codeunit",1605,"GetInvoicePeriodInfo",2]]},{"name":"OnBeforePassVariable","line":150,"kind":"trigger","steps":[[152,"ext","codeunit",1605,"GetOrderReferenceInfo",2]]},{"name":"OnBeforePassVariable","line":190,"kind":"trigger","steps":[[192,"ext","codeunit",1605,"GetCrMemoBillingReferenceInfo",3]]},{"name":"OnBeforePassVariable","line":220,"kind":"trigger","steps":[[225,"ext","codeunit",1605,"GetContractDocRefInfo",5]]},{"name":"OnAfterGetRecord","line":309,"kind":"trigger","steps":[[312,"ext","codeunit",1605,"GetAdditionalDocRefInfo"],[325,"ext","codeunit",1605,"GeneratePDFAttachmentAsAdditionalDocRef",7]]},{"name":"OnBeforePassVariable","line":394,"kind":"trigger","steps":[[396,"ext","codeunit",1605,"GetAccountingSupplierPartyIdentificationID",2]]},{"name":"OnBeforePassVariable","line":608,"kind":"trigger","steps":[[614,"ext","codeunit",1605,"GetAccountingSupplierPartyInfoBIS",3],[619,"ext","codeunit",1605,"GetAccountingSupplierPartyPostalAddr",8],[629,"ext","codeunit",1605,"GetAccountingSupplierPartyTaxSchemeBIS",4],[635,"ext","codeunit",1605,"GetAccountingSupplierPartyLegalEntityBIS",6],[643,"ext","codeunit",1605,"GetAccountingSupplierPartyContact",6]]},{"name":"OnBeforePassVariable","line":886,"kind":"trigger","steps":[[888,"ext","codeunit",1605,"GetAccountingCustomerPartyInfoBIS",6],[896,"ext","codeunit",1605,"GetAccountingCustomerPartyPostalAddr",8],[906,"ext","codeunit",1605,"GetAccountingCustomerPartyTaxSchemeBIS",4],[912,"ext","codeunit",1605,"GetAccountingCustomerPartyLegalEntityBIS",4],[918,"ext","codeunit",1605,"GetAccountingCustomerPartyContact",6]]},{"name":"OnBeforePassVariable","line":971,"kind":"trigger","steps":[[973,"ext","codeunit",1605,"GetTaxRepresentativePartyInfo",4]]},{"name":"OnBeforePassVariable","line":1100,"kind":"trigger","steps":[[1102,"ext","codeunit",1605,"GetGLNDeliveryInfo",4],[1108,"ext","codeunit",1605,"GetDeliveryAddress",8],[1118,"ext","codeunit",1605,"GetDeliveryPartyName",2]]},{"name":"OnBeforePassVariable","line":1185,"kind":"trigger","steps":[[1187,"ext","codeunit",1605,"GetPaymentMeansInfo",8],[1197,"ext","codeunit",1605,"GetPaymentMeansPayeeFinancialAccBIS",3]]},{"name":"OnAfterGetRecord","line":1214,"kind":"trigger","steps":[[1216,"ext","codeunit",1605,"GetPaymentTermsInfo",2]]},{"name":"OnAfterGetRecord","line":1283,"kind":"trigger","steps":[[1285,"call","FindNextVATAmtRec",2],[1288,"ext","codeunit",1605,"GetAllowanceChargeInfo"]]},{"name":"OnAfterGetRecord","line":1367,"kind":"trigger","steps":[[1369,"call","FindNextVATAmtRec",2],[1372,"ext","codeunit",1605,"GetAllowanceChargeInfoPaymentDiscount"]]},{"name":"OnAfterGetRecord","line":1459,"kind":"trigger","steps":[[1464,"call","FindNextVATAmtRec",2],[1467,"ext","codeunit",1605,"GetTaxSubtotalInfo"],[1481,"ext","codeunit",1605,"GetTaxExemptionReason",3]]},{"name":"OnBeforePassVariable","line":1485,"kind":"trigger","steps":[[1487,"ext","codeunit",1605,"GetTaxTotalInfo",4]]},{"name":"OnBeforePassVariable","line":1600,"kind":"trigger","steps":[[1602,"ext","codeunit",1605,"GetLegalMonetaryInfo"]]},{"name":"OnBeforePassVariable","line":1687,"kind":"trigger","steps":[[1689,"ext","codeunit",1605,"GetLineInvoicePeriodInfo",2]]},{"name":"OnBeforePassVariable","line":1817,"kind":"trigger","steps":[[1819,"ext","codeunit",1605,"GetLineDeliveryInfo",3],[1824,"ext","codeunit",1605,"GetLineDeliveryPostalAddr",7]]},{"name":"OnAfterGetRecord","line":1865,"kind":"trigger","steps":[[1867,"ext","codeunit",1605,"GetLineAllowanceChargeInfo",6]]},{"name":"OnAfterGetRecord","line":1988,"kind":"trigger","steps":[[1990,"ext","codeunit",1605,"GetLineItemCommodityClassficationInfo",4]]},{"name":"OnBeforePassVariable","line":2035,"kind":"trigger","steps":[[2037,"ext","codeunit",1605,"GetLineItemClassfiedTaxCategoryBIS",5]]},{"name":"OnAfterGetRecord","line":2064,"kind":"trigger","steps":[[2066,"ext","codeunit",1605,"GetLineAdditionalItemPropertyInfo",3]]},{"name":"OnBeforePassVariable","line":2081,"kind":"trigger","steps":[[2083,"ext","codeunit",1605,"GetLineItemInfo",8]]},{"name":"OnAfterGetRecord","line":2144,"kind":"trigger","steps":[[2146,"ext","codeunit",1605,"GetLinePriceAllowanceChargeInfo",5]]},{"name":"OnBeforePassVariable","line":2163,"kind":"trigger","steps":[[2165,"ext","codeunit",1605,"GetLinePriceInfo",6]]},{"name":"OnAfterGetRecord","line":2175,"kind":"trigger","steps":[[2177,"call","FindNextCreditMemoLineRec",1],[2180,"event","OnCreditMemoLineLoopOnAfterGetRecordOnBeforeGetLineGeneralInfo",0],[2181,"ext","codeunit",1605,"GetLineGeneralInfo",8],[2190,"ext","codeunit",1605,"GetLineUnitCodeInfo",3]]},{"name":"OnAfterGetRecord","line":2194,"kind":"trigger","steps":[[2196,"call","FindNextCreditMemoRec",1],[2199,"call","GetTotals",0],[2201,"ext","codeunit",1605,"GetGeneralInfoBIS",8],[2211,"call","GetCustomizationID",0],[2212,"call","GetProfileID",0]]},{"name":"GetTotals","line":2269,"kind":"procedure","access":"local","params":0,"steps":[[2278,"event","OnGetTotalsOnBeforeGetSalesLineTotals",0],[2279,"ext","codeunit",1605,"GetTotals",2],[2280,"ext","codeunit",1605,"GetTaxCategories",2],[2284,"event","OnGetTotals",0]]},{"name":"FindNextCreditMemoRec","line":2288,"kind":"procedure","access":"local","params":1,"steps":[[2292,"ext","codeunit",1605,"FindNextSalesCreditMemoRec",3],[2294,"event","OnFindNextCreditMemoRec",0]]},{"name":"FindNextCreditMemoLineRec","line":2298,"kind":"procedure","access":"local","params":1,"steps":[[2302,"ext","codeunit",1605,"FindNextSalesCreditMemoLineRec",3],[2304,"event","OnFindNextCreditMemoLineRec",0]]},{"name":"Initialize","line":2319,"kind":"procedure","params":1,"steps":[[2334,"event","OnBeforeFindSalesCrMemoLine",0],[2338,"event","OnInitializeOnBeforeGetInvoiceRoundingLine",0],[2339,"ext","codeunit",1605,"GetInvoiceRoundingLine",2],[2351,"event","OnInitialize",1]]}]}