{"title":"Page 6115 New E-Documents API, extension points 29","url":"https://jonas-paprotka.de/ref/page/6115-new-e-documents-api/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":"page","id":6115,"name":"New E-Documents API","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/page/6115-new-e-documents-api/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/6115-new-e-documents-api/source/","path":"src/Apps/W1/EDocument/App/src/Processing/API/Endpoints/NewEDocumentsAPI.Page.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:419":{"name":"File Management","url":"https://jonas-paprotka.de/ref/codeunit/419-file-management/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"codeunit:6140":{"name":"E-Doc. Import","url":"https://jonas-paprotka.de/ref/codeunit/6140-e-doc-import/"},"codeunit:4110":{"name":"Base64 Convert","url":"https://jonas-paprotka.de/ref/codeunit/4110-base64-convert/"}},"procs":[{"name":"OnInsertRecord","line":92,"kind":"trigger","steps":[[101,"call","IsFieldsValid",0],[107,"ext","codeunit",419,"GetExtension",1],[118,"call","GetFileContent",2],[119,"ext","codeunit",4100,"CreateInStream",2],[120,"ext","codeunit",6140,"CreateFromType",5],[122,"ext","codeunit",6140,"ProcessAutomaticallyIncomingEDocument",1]]},{"name":"GetFileContent","line":141,"kind":"procedure","access":"local","params":2,"steps":[[148,"ext","codeunit",4110,"FromBase64",2],[148,"ext","codeunit",4100,"CreateOutStream",1],[149,"ext","codeunit",4100,"HasValue",0]]}]}