{"title":"Codeunit 6162 E-Doc. DED PEPPOL Subscribers, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6162-e-doc-ded-peppol-subscribers/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-16","object":{"type":"codeunit","id":6162,"name":"E-Doc. DED PEPPOL Subscribers","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/codeunit/6162-e-doc-ded-peppol-subscribers/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6162-e-doc-ded-peppol-subscribers/source/","path":"src/Apps/W1/EDocument/App/src/DataExchange/PEPPOL Data Exchange Definition/EDocDEDPEPPOLSubscribers.Codeunit.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:324":{"name":"VAT Product Posting Group","url":"https://jonas-paprotka.de/ref/table/324-vat-product-posting-group/"},"codeunit:37200":{"name":"PEPPOL30","url":"https://jonas-paprotka.de/ref/codeunit/37200-peppol30/"},"table:37":{"name":"Sales Line","url":"https://jonas-paprotka.de/ref/table/37-sales-line/"},"table:1233":{"name":"Data Exch. Table Filter","url":"https://jonas-paprotka.de/ref/table/1233-data-exch-table-filter/"},"table:6122":{"name":"E-Doc. Service Supported Type","url":"https://jonas-paprotka.de/ref/table/6122-e-doc-service-supported-type/"}},"procs":[{"name":"ClearInstance","line":24,"kind":"procedure","params":0,"steps":[[27,"write",290,"DeleteAll"],[28,"write",324,"DeleteAll"]]},{"name":"OnAfterDataExchangeInsert","line":64,"kind":"procedure","access":"local","params":5,"steps":[[66,"call","ClearInstance",0]]},{"name":"OnBeforeDataExchangeExport","line":70,"kind":"procedure","access":"local","params":5,"steps":[[72,"call","InitInstance",2]]},{"name":"OnBeforeCreateRootElement","line":76,"kind":"procedure","access":"local","params":7,"steps":[[78,"call","IsEDocExport",1]]},{"name":"OnBeforeCreateXMLNodeWithoutAttributes","line":96,"kind":"procedure","access":"local","params":5,"steps":[[100,"call","IsEDocExport",1],[103,"call","PrepareHeaderAndVAT",1],[114,"ext","codeunit",37200,"GetTaxTotalInfoLCY",4],[116,"ext","codeunit",37200,"GetCrMemoBillingReferenceInfo",3],[126,"ext","codeunit",37200,"GetAccountingSupplierPartyInfoBIS",3],[131,"ext","codeunit",37200,"GetAccountingSupplierPartyPostalAddr",8],[141,"ext","codeunit",37200,"GetAccountingSupplierPartyTaxSchemeBIS",4],[147,"ext","codeunit",37200,"GetAccountingSupplierPartyLegalEntityBIS",6],[155,"ext","codeunit",37200,"GetAccountingSupplierPartyContact",6],[193,"ext","codeunit",37200,"GetAccountingCustomerPartyInfoBIS",6],[201,"ext","codeunit",37200,"GetAccountingCustomerPartyTaxSchemeBIS",4],[207,"ext","codeunit",37200,"GetAccountingCustomerPartyLegalEntityBIS",4],[213,"ext","codeunit",37200,"GetAccountingCustomerPartyContact",6],[242,"ext","codeunit",37200,"GetTaxRepresentativePartyInfo",4],[254,"ext","codeunit",37200,"GetGLNDeliveryInfo",4],[265,"ext","codeunit",37200,"GetPaymentMeansInfo",8],[275,"ext","codeunit",37200,"GetPaymentMeansPayeeFinancialAccBIS",3],[295,"ext","codeunit",37200,"GetPaymentTermsInfo",2],[308,"ext","codeunit",37200,"GetAllowanceChargeInfo"],[337,"ext","codeunit",37200,"GetTaxTotalInfo",4],[355,"ext","codeunit",37200,"GetTaxSubtotalInfo"],[369,"ext","codeunit",37200,"GetTaxExemptionReason",3],[384,"ext","codeunit",37200,"GetLegalMonetaryInfo"],[422,"ext","codeunit",37200,"GetLineAllowanceChargeInfo",6],[440,"call","PrepareLine",1],[444,"ext","codeunit",37200,"GetLineItemInfo",8],[454,"ext","codeunit",37200,"GetLineItemClassifiedTaxCategoryBIS",5],[461,"ext","codeunit",37200,"GetLineAdditionalItemPropertyInfo",3],[492,"ext","codeunit",37200,"GetLinePriceInfo",6],[512,"ext","codeunit",37200,"GetAdditionalDocRefInfo"]]},{"name":"OnBeforeCreateXMLAttribute","line":535,"kind":"procedure","access":"local","params":5,"steps":[[537,"call","IsEDocExport",1]]},{"name":"PrepareHeaderAndVAT","line":613,"kind":"procedure","access":"local","params":1,"steps":[[630,"call","IsRoundingLine",1],[632,"write",37,"Insert"],[634,"ext","codeunit",37200,"GetTaxTotals",2],[635,"ext","codeunit",37200,"GetTaxCategories",2],[646,"ext","codeunit",37200,"TransferHeaderToSalesHeader",2],[652,"ext","codeunit",37200,"TransferLineToSalesLine",2],[653,"ext","codeunit",37200,"MapServiceLineTypeToSalesLineType",1],[654,"call","IsRoundingLine",1],[656,"write",37,"Insert"],[658,"ext","codeunit",37200,"GetTaxTotals",2],[659,"ext","codeunit",37200,"GetTaxCategories",2],[677,"call","IsRoundingLine",1],[679,"write",37,"Insert"],[681,"ext","codeunit",37200,"GetTaxTotals",2],[682,"ext","codeunit",37200,"GetTaxCategories",2],[693,"ext","codeunit",37200,"TransferHeaderToSalesHeader",2],[699,"ext","codeunit",37200,"TransferLineToSalesLine",2],[700,"ext","codeunit",37200,"MapServiceLineTypeToSalesLineType",1],[701,"call","IsRoundingLine",1],[703,"write",37,"Insert"],[705,"ext","codeunit",37200,"GetTaxTotals",2],[706,"ext","codeunit",37200,"GetTaxCategories",2],[721,"write",1233,"Insert"]]},{"name":"PrepareLine","line":724,"kind":"procedure","access":"local","params":1,"steps":[[740,"ext","codeunit",37200,"TransferLineToSalesLine",2],[741,"ext","codeunit",37200,"MapServiceLineTypeToSalesLineType",1],[756,"ext","codeunit",37200,"TransferLineToSalesLine",2],[757,"ext","codeunit",37200,"MapServiceLineTypeToSalesLineType",1]]},{"name":"OnAfterValidateDocumentFormat","line":763,"kind":"procedure","access":"local","params":3,"steps":[[774,"ext","table",6122,"InsertDefaultIfMissing",3],[775,"ext","table",6122,"InsertDefaultIfMissing",3],[776,"ext","table",6122,"InsertDefaultIfMissing",3],[777,"ext","table",6122,"InsertDefaultIfMissing",3]]}]}