{"title":"Codeunit 6102 E-Doc. Export, procedures","url":"https://jonas-paprotka.de/ref/codeunit/6102-e-doc-export/procedures/","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-17","object":{"type":"codeunit","id":6102,"name":"E-Doc. Export","app":"E-Document Core","versions":"23-29","url":"https://jonas-paprotka.de/ref/codeunit/6102-e-doc-export/","json":"https://jonas-paprotka.de/ref/codeunit/6102-e-doc-export.json"},"aspect":"procedures","total":12,"rows":[{"name":"CheckEDocument","sig":"(var RecordRef, Enum E-Document Processing Phase)","named":"(var EDocSourceRecRef: RecordRef; EDocumentProcessingPhase: Enum \"E-Document Processing Phase\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var EDocSourceRecRef: RecordRef; EDocumentProcessingPhase: Enum \"E-Document Processing Phase\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateEDocument","sig":"(var RecordRef)","named":"(var SourceDocumentHeader: RecordRef)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-25","first":23,"last":25,"obsoleteSince":null,"spans":[{"from":23,"to":25,"named":"(var SourceDocumentHeader: RecordRef)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"ExportEDocument","sig":"(var Record E-Document, var Record E-Document Service)","named":"(var EDocument: Record \"E-Document\"; var EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":24,"named":"(var EDocument: Record \"E-Document\"; var EDocService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null},{"from":25,"to":29,"named":"(var EDocument: Record \"E-Document\"; var EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"ExportEDocumentBatch","sig":"(var Record E-Document, var Record E-Document Service, var Record E-Doc. Mapping Log, var Codeunit Temp Blob, var Dictionary)","named":"(var EDocuments: Record \"E-Document\"; var EDocService: Record \"E-Document Service\"; var TempEDocMappingLogs: Record \"E-Doc. Mapping Log\" temporary; var TempBlob: Codeunit \"Temp Blob\"; var EDocumentsErrorCount: Dictionary of [Integer, Integer])","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var EDocuments: Record \"E-Document\"; var EDocService: Record \"E-Document Service\"; var TempEDocMappingLogs: Record \"E-Doc. Mapping Log\" temporary; var TempBlob: Codeunit \"Temp Blob\"; var EDocumentsErrorCount: Dictionary of [Integer, Integer])","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"Recreate","sig":"(Record E-Document, Record E-Document Service)","named":"(EDocument: Record \"E-Document\"; EDocService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(EDocument: Record \"E-Document\"; EDocService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"MapEDocument","sig":"(var RecordRef, var RecordRef, Record E-Document Service, var RecordRef, var RecordRef, var Record E-Doc. Mapping, Boolean)","named":"(var EDocumentSource: RecordRef; var EDocumentSourceLine: RecordRef; EDocumentFormat: Record \"E-Document Service\"; var EDocumentSourceMapped: RecordRef; var EDocumentSourceLineMapped: RecordRef; var TempEDocMapping: Record \"E-Doc. Mapping\" temporary; ForImport: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var EDocumentSource: RecordRef; var EDocumentSourceLine: RecordRef; EDocumentFormat: Record \"E-Document Service\"; var EDocumentSourceMapped: RecordRef; var EDocumentSourceLineMapped: RecordRef; var TempEDocMapping: Record \"E-Doc. Mapping\" temporary; ForImport: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateEDocument","sig":"(RecordRef, Record Workflow, Enum E-Document Type)","named":"(DocumentHeader: RecordRef; WorkFlow: Record Workflow; EDocumentType: Enum \"E-Document Type\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"26-27","first":26,"last":27,"obsoleteSince":null,"spans":[{"from":26,"to":27,"named":"(DocumentHeader: RecordRef; WorkFlow: Record Workflow; EDocumentType: Enum \"E-Document Type\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateEDocument","sig":"(var Record E-Document, var RecordRef, var Record E-Document Service, Enum E-Document Type)","named":"(var EDocument: Record \"E-Document\"; var DocumentHeader: RecordRef; var EDocumentService: Record \"E-Document Service\"; EDocumentType: Enum \"E-Document Type\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":27,"named":"(var EDocument: Record \"E-Document\"; var DocumentHeader: RecordRef; var EDocumentService: Record \"E-Document Service\"; EDocumentType: Enum \"E-Document Type\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null},{"from":28,"to":29,"named":"(var EDocument: Record \"E-Document\"; var DocumentHeader: RecordRef; var EDocumentService: Record \"E-Document Service\"; EDocumentType: Enum \"E-Document Type\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"CreateEDocument","sig":"(RecordRef, Record Document Sending Profile, Enum E-Document Type)","named":"(DocumentHeader: RecordRef; DocumentSendingProfile: Record \"Document Sending Profile\"; EDocumentType: Enum \"E-Document Type\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":28,"named":"(DocumentHeader: RecordRef; DocumentSendingProfile: Record \"Document Sending Profile\"; EDocumentType: Enum \"E-Document Type\")","returns":"","kind":"procedure","access":"internal","obsolete":null},{"from":29,"to":29,"named":"(DocumentHeader: RecordRef; DocumentSendingProfile: Record \"Document Sending Profile\"; EDocumentType: Enum \"E-Document Type\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"IsDocumentTypeSupported","sig":"(Record E-Document Service, Enum E-Document Type)","named":"(EDocService: Record \"E-Document Service\"; EDocumentType: Enum \"E-Document Type\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(EDocService: Record \"E-Document Service\"; EDocumentType: Enum \"E-Document Type\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"CreateEDocument","sig":"(RecordRef, Record Document Sending Profile, Enum E-Document Type, Boolean)","named":"(DocumentHeader: RecordRef; DocumentSendingProfile: Record \"Document Sending Profile\"; EDocumentType: Enum \"E-Document Type\"; AllowReExport: Boolean)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"29","first":29,"last":29,"obsoleteSince":null,"spans":[{"from":29,"to":29,"named":"(DocumentHeader: RecordRef; DocumentSendingProfile: Record \"Document Sending Profile\"; EDocumentType: Enum \"E-Document Type\"; AllowReExport: Boolean)","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"CreateAndExportEDocument","sig":"(var RecordRef, var Record E-Document Service, Code[20], Code[20], Enum E-Document Type, Boolean)","named":"(var DocumentHeader: RecordRef; var EDocumentService: Record \"E-Document Service\"; WorkflowCode: Code[20]; DocumentSendingProfileCode: Code[20]; EDocumentType: Enum \"E-Document Type\"; AllowReExport: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"29","first":29,"last":29,"obsoleteSince":null,"spans":[{"from":29,"to":29,"named":"(var DocumentHeader: RecordRef; var EDocumentService: Record \"E-Document Service\"; WorkflowCode: Code[20]; DocumentSendingProfileCode: Code[20]; EDocumentType: Enum \"E-Document Type\"; AllowReExport: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]}]}