{"title":"Codeunit 6140 E-Doc. Import, changes","url":"https://jonas-paprotka.de/ref/codeunit/6140-e-doc-import/changes/","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":6140,"name":"E-Doc. Import","app":"E-Document Core","versions":"23-29","url":"https://jonas-paprotka.de/ref/codeunit/6140-e-doc-import/","json":"https://jonas-paprotka.de/ref/codeunit/6140-e-doc-import.json"},"aspect":"changes","total":26,"rows":[{"version":27,"kind":"event","change":"marked","name":"OnBeforeUpdateDocument","member":{"name":"OnBeforeUpdateDocument","sig":"(var Record E-Document, var RecordRef, var RecordRef, var RecordRef)","named":"(var EDocument: Record \"E-Document\"; var TempDocumentHeader: RecordRef; var TempDocumentLine: RecordRef; var DocumentHeader: RecordRef)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"This event is not raised.","tag":"27.0"}}},{"version":27,"kind":"event","change":"marked","name":"OnAfterUpdateDocument","member":{"name":"OnAfterUpdateDocument","sig":"(var Record E-Document, var RecordRef, var RecordRef, var RecordRef)","named":"(var EDocument: Record \"E-Document\"; var TempDocumentHeader: RecordRef; var TempDocumentLine: RecordRef; var DocumentHeader: RecordRef)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"This event is not raised.","tag":"27.0"}}},{"version":26,"kind":"procedure","change":"gone","name":"GetBasicInfo","member":{"name":"GetBasicInfo","sig":"(var Record E-Document)","named":"(var EDocument: Record \"E-Document\")","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"gone","name":"ReceiveDocument","member":{"name":"ReceiveDocument","sig":"(Record E-Document Service)","named":"(EDocService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"gone","name":"ProcessDocument","member":{"name":"ProcessDocument","sig":"(var Record E-Document, Boolean)","named":"(var EDocument: Record \"E-Document\"; CreateJnlLine: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"gone","name":"ProcessEDocPendingOrderMatch","member":{"name":"ProcessEDocPendingOrderMatch","sig":"(var Record E-Document)","named":"(var EDocument: Record \"E-Document\")","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"ReceiveAndProcessAutomatically","member":{"name":"ReceiveAndProcessAutomatically","sig":"(Record E-Document Service)","named":"(EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"ProcessAutomaticallyIncomingEDocument","member":{"name":"ProcessAutomaticallyIncomingEDocument","sig":"(Record E-Document)","named":"(EDocument: Record \"E-Document\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"ProcessIncomingEDocument","member":{"name":"ProcessIncomingEDocument","sig":"(Record E-Document, Record E-Doc. Import Parameters)","named":"(EDocument: Record \"E-Document\"; EDocImportParameters: Record \"E-Doc. Import Parameters\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"ProcessIncomingEDocument","member":{"name":"ProcessIncomingEDocument","sig":"(Record E-Document, Record E-Document Service, Record E-Doc. Import Parameters)","named":"(EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; EDocImportParameters: Record \"E-Doc. Import Parameters\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"CreateFromType","member":{"name":"CreateFromType","sig":"(var Record E-Document, Record E-Document Service, Enum E-Doc. File Format, Text, InStream)","named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; EDocFileFormat: Enum \"E-Doc. File Format\"; Filename: Text; InStr: InStream)","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"V1_GetBasicInfo","member":{"name":"V1_GetBasicInfo","sig":"(var Record E-Document)","named":"(var EDocument: Record \"E-Document\")","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"V1_ProcessEDocument","member":{"name":"V1_ProcessEDocument","sig":"(var Record E-Document, Boolean, Boolean)","named":"(var EDocument: Record \"E-Document\"; CreateJnlLine: Boolean; AutoProcessDocument: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"ViewExtractedData","member":{"name":"ViewExtractedData","sig":"(Record E-Document)","named":"(EDocument: Record \"E-Document\")","returns":"","kind":"procedure","access":"public","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"V1_ProcessImportedDocument","member":{"name":"V1_ProcessImportedDocument","sig":"(var Record E-Document, var Record E-Document Service, var Codeunit Temp Blob, Boolean, Boolean)","named":"(var EDocument: Record \"E-Document\"; var EDocService: Record \"E-Document Service\"; var TempBlob: Codeunit \"Temp Blob\"; CreateJnlLine: Boolean; AutoProcessDocument: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"V1_ProcessEDocPendingOrderMatch","member":{"name":"V1_ProcessEDocPendingOrderMatch","sig":"(var Record E-Document)","named":"(var EDocument: Record \"E-Document\")","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"V1_AfterInsertImportedEdocument","member":{"name":"V1_AfterInsertImportedEdocument","sig":"(var Record E-Document, var Record E-Document Service, var Codeunit Temp Blob, Integer, var HttpRequestMessage, var HttpResponseMessage)","named":"(var EDocument: Record \"E-Document\"; var EDocumentService: Record \"E-Document Service\"; var TempBlob: Codeunit \"Temp Blob\"; EDocCount: Integer; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage)","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"procedure","change":"added","name":"V1_BeforeInsertImportedEdocument","member":{"name":"V1_BeforeInsertImportedEdocument","sig":"(var Record E-Document, var Record E-Document Service, var Codeunit Temp Blob, Integer, var HttpRequestMessage, var HttpResponseMessage, var Boolean, var Boolean)","named":"(var EDocument: Record \"E-Document\"; var EDocumentService: Record \"E-Document Service\"; var TempBlob: Codeunit \"Temp Blob\"; EDocCount: Integer; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage; var IsCreated: Boolean; var IsProcessed: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":26,"kind":"event","change":"marked","name":"OnAfterInsertImportedEdocument","member":{"name":"OnAfterInsertImportedEdocument","sig":"(var Record E-Document, Record E-Document Service, var Codeunit Temp Blob, Integer, HttpRequestMessage, HttpResponseMessage)","named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; var TempBlob: Codeunit \"Temp Blob\"; EDocCount: Integer; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"This event is removed. Use new IDocumentReceiver interface instead","tag":"26.0"}}},{"version":26,"kind":"event","change":"marked","name":"OnBeforeInsertImportedEdocument","member":{"name":"OnBeforeInsertImportedEdocument","sig":"(var Record E-Document, Record E-Document Service, var Codeunit Temp Blob, Integer, HttpRequestMessage, HttpResponseMessage, var Boolean, var Boolean)","named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\"; var TempBlob: Codeunit \"Temp Blob\"; EDocCount: Integer; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage; var IsCreated: Boolean; var IsProcessed: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"This event is removed. Use new IDocumentReceiver interface instead","tag":"26.0"}}},{"version":26,"kind":"event","change":"added","name":"OnAfterProcessIncomingEDocument","member":{"name":"OnAfterProcessIncomingEDocument","sig":"(Record E-Document, Record E-Doc. Import Parameters, Enum Import E-Doc. Proc. Status, Enum Import E-Doc. Proc. Status)","named":"(EDocument: Record \"E-Document\"; EDocImportParameters: Record \"E-Doc. Import Parameters\"; StartState: Enum \"Import E-Doc. Proc. Status\"; DesiredEndState: Enum \"Import E-Doc. Proc. Status\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}},{"version":24,"kind":"procedure","change":"gone","name":"ProcessDocument","member":{"name":"ProcessDocument","sig":"(var Record E-Document, Boolean, Boolean)","named":"(var EDocument: Record \"E-Document\"; UpdateOrder: Boolean; CreateJnlLine: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":24,"kind":"procedure","change":"added","name":"ProcessDocument","member":{"name":"ProcessDocument","sig":"(var Record E-Document, Boolean)","named":"(var EDocument: Record \"E-Document\"; CreateJnlLine: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":24,"kind":"procedure","change":"added","name":"UpdatePurchaseOrderLink","member":{"name":"UpdatePurchaseOrderLink","sig":"(var Record E-Document)","named":"(var EDocument: Record \"E-Document\")","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":24,"kind":"procedure","change":"added","name":"ProcessEDocPendingOrderMatch","member":{"name":"ProcessEDocPendingOrderMatch","sig":"(var Record E-Document)","named":"(var EDocument: Record \"E-Document\")","returns":"","kind":"procedure","access":"internal","obsolete":null}},{"version":24,"kind":"procedure","change":"added","name":"SetHideDialogs","member":{"name":"SetHideDialogs","sig":"(Boolean)","named":"(Hide: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null}}]}