{"title":"Codeunit 6401 E-Document PEPPOL Utility, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6401-e-document-peppol-utility/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":"codeunit","id":6401,"name":"E-Document PEPPOL Utility","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/codeunit/6401-e-document-peppol-utility/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6401-e-document-peppol-utility/source/","path":"src/Apps/W1/EDocument/App/src/Processing/Import/StructureReceivedEDocument/EDocumentPEPPOLUtility.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":{"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"codeunit:4110":{"name":"Base64 Convert","url":"https://jonas-paprotka.de/ref/codeunit/4110-base64-convert/"},"codeunit:6169":{"name":"E-Doc. Attachment Processor","url":"https://jonas-paprotka.de/ref/codeunit/6169-e-doc-attachment-processor/"},"table:98":{"name":"General Ledger Setup","url":"https://jonas-paprotka.de/ref/table/98-general-ledger-setup/"}},"procs":[{"name":"SetStringValueInField","line":90,"kind":"procedure","params":5,"steps":[[94,"call","TryGetStringValue",4]]},{"name":"SetCurrencyValueInField","line":150,"kind":"procedure","params":5,"steps":[[154,"call","TryGetStringValue",4],[157,"call","SetCurrencyIfForeign",2]]},{"name":"GetNodeValue","line":167,"kind":"procedure","params":3,"steps":[[171,"call","TryGetStringValue",4]]},{"name":"PopulateSupplierInfo","line":187,"kind":"procedure","access":"internal","params":4,"steps":[[192,"call","TryGetStringValue",4],[195,"call","TryGetStringValue",4],[197,"call","TryGetStringValue",4],[199,"call","TryGetStringValue",4],[201,"call","TryGetStringValue",4],[203,"call","TryGetStringValue",4],[205,"call","TryGetStringValue",4],[210,"call","TryGetStringValue",4]]},{"name":"PopulateCustomerInfo","line":219,"kind":"procedure","access":"internal","params":4,"steps":[[226,"call","TryGetStringValue",4],[229,"call","TryGetStringValue",4],[231,"call","TryGetStringValue",4],[233,"call","TryGetStringValue",4],[235,"call","TryGetStringValue",4],[238,"call","TryGetStringValue",4]]},{"name":"PopulateAmountsAndDates","line":254,"kind":"procedure","access":"internal","params":5,"steps":[[256,"call","SetNumberValueInField",4],[257,"call","SetNumberValueInField",4],[258,"call","SetNumberValueInField",4],[261,"call","SetDateValueInField",4],[262,"call","SetDateValueInField",4]]},{"name":"PopulateCurrency","line":268,"kind":"procedure","access":"internal","params":4,"steps":[[272,"call","TryGetStringValue",4],[273,"call","SetCurrencyIfForeign",2]]},{"name":"PopulatePurchaseLine","line":284,"kind":"procedure","access":"internal","params":5,"steps":[[288,"call","SetNumberValueInField",4],[289,"call","TryGetStringValue",4],[291,"call","SetNumberValueInField",4],[292,"call","SetNumberValueInField",4],[297,"call","TryGetStringValue",4],[300,"call","TryGetStringValue",4],[306,"call","TryGetStringValue",4],[309,"call","TryGetStringValue",4],[313,"call","SetNumberValueInField",4],[314,"call","SetNumberValueInField",4],[316,"call","PopulateLineCurrency",4]]},{"name":"PopulateLineCurrency","line":319,"kind":"procedure","access":"local","params":4,"steps":[[323,"call","TryGetStringValue",4],[324,"call","SetCurrencyIfForeign",2]]},{"name":"ExtractAttachment","line":336,"kind":"procedure","access":"internal","params":3,"steps":[[351,"call","TryGetStringValue",4],[357,"call","TryGetStringValue",4],[358,"call","TryGetStringValue",4],[364,"call","TryGetStringValue",4],[365,"call","MimeToFileExtension",1],[370,"ext","codeunit",4100,"CreateOutStream",1],[371,"ext","codeunit",4110,"FromBase64",2],[372,"ext","codeunit",4100,"CreateInStream",1],[373,"ext","codeunit",6169,"Insert",3]]},{"name":"SetCurrencyIfForeign","line":404,"kind":"procedure","params":2,"steps":[[411,"ext","table",98,"GetRecordOnce",0]]}]}