{"title":"Table 61 Electronic Document Format, extension points 29","url":"https://jonas-paprotka.de/ref/table/61-electronic-document-format/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":"table","id":61,"name":"Electronic Document Format","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/61-electronic-document-format/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/61-electronic-document-format/source/","path":"src/Layers/W1/BaseApp/Foundation/Reporting/ElectronicDocumentFormat.Table.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:8703":{"name":"Feature Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/"},"codeunit:1605":{"name":"PEPPOL Management","url":"https://jonas-paprotka.de/ref/codeunit/1605-peppol-management/"},"table:62":{"name":"Record Export Buffer","url":"https://jonas-paprotka.de/ref/table/62-record-export-buffer/"},"table:700":{"name":"Error Message","url":"https://jonas-paprotka.de/ref/table/700-error-message/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"codeunit:425":{"name":"Data Compression","url":"https://jonas-paprotka.de/ref/codeunit/425-data-compression/"},"codeunit:419":{"name":"File Management","url":"https://jonas-paprotka.de/ref/codeunit/419-file-management/"},"codeunit:53":{"name":"Translation Helper","url":"https://jonas-paprotka.de/ref/codeunit/53-translation-helper/"},"codeunit:452":{"name":"Report Distribution Management","url":"https://jonas-paprotka.de/ref/codeunit/452-report-distribution-management/"},"table:61":{"name":"Electronic Document Format","url":"https://jonas-paprotka.de/ref/table/61-electronic-document-format/"}},"procs":[{"name":"Codeunit ID.OnValidate","line":53,"kind":"trigger","steps":[[58,"call","ShouldLogUptake",0],[59,"ext","codeunit",8703,"LogUptake",3],[59,"ext","codeunit",1605,"GetPeppolTelemetryTok",0],[60,"ext","codeunit",8703,"LogUptake",3],[60,"ext","codeunit",1605,"GetPeppolTelemetryTok",0]]},{"name":"OnInsert","line":104,"kind":"trigger","steps":[[106,"call","CheckCodeunitExist",0]]},{"name":"OnModify","line":109,"kind":"trigger","steps":[[111,"call","CheckCodeunitExist",0]]},{"name":"SendElectronically","line":123,"kind":"procedure","params":4,"steps":[[137,"call","GetDocumentFormatUsage",2],[145,"event","OnSendElectronicallyOnAfterRecRefGetTable",0],[154,"call","GetAttachmentFileName",4],[154,"call","GetDocumentNo",1],[154,"call","GetDocumentType",1],[156,"call","GetAttachmentFileName",4],[156,"call","GetDocumentNo",1],[156,"call","GetDocumentType",1],[157,"event","OnSendElectronicallyOnBeforeRecordExportBufferInsert",0],[158,"write",62,"Insert",1],[167,"ext","table",700,"SetContext",1],[168,"ext","table",700,"ClearLog",0],[172,"ext","table",700,"CopyFromContext",1],[173,"ext","table",700,"ClearLog",0],[175,"event","OnSendElectronicallyOnAfterRecordExportBufferFileGenerated",0],[182,"ext","table",700,"ShowErrorMessages",1],[187,"ext","codeunit",4100,"CreateOutStream",1],[188,"ext","codeunit",425,"CreateZipArchive",0],[192,"ext","table",62,"GetFileContent",1],[193,"ext","codeunit",4100,"CreateInStream",1],[194,"ext","codeunit",425,"AddEntry",2],[196,"ext","codeunit",425,"SaveZipArchive",1],[197,"ext","codeunit",425,"CloseZipArchive",0],[200,"ext","table",62,"GetFileContent",1],[204,"event","OnSendElectronicallyOnBeforeDeleteAll",0],[206,"write",62,"DeleteAll"],[208,"event","OnAfterSendElectronically",0]]},{"name":"GetAttachmentFileName","line":242,"kind":"procedure","params":4,"steps":[[248,"event","OnBeforeGetAttachmentFileName",1],[252,"ext","codeunit",419,"StripNotsupportChrInFileName",1]]},{"name":"GetDocumentFormatUsage","line":256,"kind":"procedure","params":2,"steps":[[262,"event","OnBeforeGetDocumentFormatUsage",1],[273,"call","GetDocumentUsageForSalesHeader",2],[280,"event","OnGetDocumentFormatUsageCaseElse",1]]},{"name":"GetDocumentNo","line":287,"kind":"procedure","params":1,"steps":[[326,"event","OnGetDocumentNoCaseElse",1]]},{"name":"GetDocumentUsageForSalesHeader","line":335,"kind":"procedure","access":"local","params":2,"steps":[[340,"event","OnBeforeGetDocumentFormatUsageForSalesHeader",1]]},{"name":"GetDocumentType","line":372,"kind":"procedure","params":1,"steps":[[379,"ext","codeunit",53,"SetGlobalLanguageByCode",1],[379,"ext","codeunit",452,"GetDocumentLanguageCode",1],[400,"event","OnGetDocumentTypeCaseElse",0],[403,"ext","codeunit",53,"RestoreGlobalLanguage",0]]},{"name":"InsertElectronicFormat","line":406,"kind":"procedure","params":5,"steps":[[419,"write",61,"Insert"]]},{"name":"ShouldLogUptake","line":423,"kind":"procedure","access":"local","params":0,"steps":[[430,"event","OnAfterShouldLogUptake",0]]}]}