codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 6140 "E-Doc. Import"

EDocument · Microsoft.eServices.EDocument

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 2 connected objects and pages

Codeunit 3316 "PA Events" (event subscribers, 2 links)PA EventsCodeunit 3303 "Payables Agent" (event subscribers)Payables Agent

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

EDocument · Microsoft.eServices.EDocument · BC29-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions tabledata “E-Document” = imd, tabledata “E-Doc. Imported Line” = imd

Events published

  • OnAfterProcessIncomingEDocument(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"; StartState: Enum "Import E-Doc. Proc. Status"; DesiredEndState: Enum "Import E-Doc. Proc. Status") (integration)
  • OnAfterProcessImportedDocument(var EDocument: Record "E-Document"; var DocumentHeader: RecordRef) (integration)
  • OnBeforePrepareReceivedDoc(var EDocument: Record "E-Document"; var TempBlob: Codeunit "Temp Blob"; SourceDocumentHeader: RecordRef; SourceDocumentLine: RecordRef; TempEDocMapping: Record "E-Doc. Mapping" temporary) (integration)
  • OnAfterPrepareReceivedDoc(var EDocument: Record "E-Document"; var TempBlob: Codeunit "Temp Blob"; SourceDocumentHeader: RecordRef; SourceDocumentLine: RecordRef; TempEDocMapping: Record "E-Doc. Mapping" temporary) (integration)
  • OnBeforeUpdateDocument(var EDocument: Record "E-Document"; var TempDocumentHeader: RecordRef; var TempDocumentLine: RecordRef; var DocumentHeader: RecordRef) (integration, obsolete 27.0)
  • OnAfterUpdateDocument(var EDocument: Record "E-Document"; var TempDocumentHeader: RecordRef; var TempDocumentLine: RecordRef; var DocumentHeader: RecordRef) (integration, obsolete 27.0)
  • OnBeforeCreateDocument(var EDocument: Record "E-Document"; var TempDocumentHeader: RecordRef; var TempDocumentLine: RecordRef; var DocumentHeader: RecordRef) (integration)
  • OnAfterCreateDocument(var EDocument: Record "E-Document"; var TempDocumentHeader: RecordRef; var TempDocumentLine: RecordRef; var DocumentHeader: RecordRef) (integration)
  • OnBeforeCreateJournalLine(var EDocument: Record "E-Document"; var JnlLine: RecordRef) (integration)
  • OnAfterCreateJournalLine(var EDocument: Record "E-Document"; var JnlLine: RecordRef) (integration)
  • OnAfterInsertImportedEdocument(var EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob"; EDocCount: Integer; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage) (integration, obsolete 26.0)
  • OnBeforeInsertImportedEdocument(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) (integration, obsolete 26.0)

Procedures

  • ReceiveAndProcessAutomatically(EDocumentService: Record "E-Document Service"): Boolean
  • ProcessAutomaticallyIncomingEDocument(EDocument: Record "E-Document"): Boolean
  • ProcessIncomingEDocument(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): Boolean
  • ProcessIncomingEDocument(EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; EDocImportParameters: Record "E-Doc. Import Parameters"): Boolean (internal)
  • CreateFromType(var EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; EDocFileFormat: Enum "E-Doc. File Format"; Filename: Text; InStr: InStream) (internal)
  • UploadDocument(var EDocument: Record "E-Document") (internal)
  • V1_GetBasicInfo(var EDocument: Record "E-Document") (internal)
  • V1_ProcessEDocument(var EDocument: Record "E-Document"; CreateJnlLine: Boolean; AutoProcessDocument: Boolean) (internal)
  • ViewExtractedData(EDocument: Record "E-Document")
  • V1_ProcessImportedDocument(var EDocument: Record "E-Document"; var EDocService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob"; CreateJnlLine: Boolean; AutoProcessDocument: Boolean) (internal)
  • V1_ProcessEDocPendingOrderMatch(var EDocument: Record "E-Document") (internal)
  • SetHideDialogs(Hide: Boolean) (internal)
  • V1_AfterInsertImportedEdocument(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob"; EDocCount: Integer; var HttpRequest: HttpRequestMessage; var HttpResponse: HttpResponseMessage) (internal)
  • V1_BeforeInsertImportedEdocument(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) (internal)

Plus 22 local procedures.

Recent changes

Deprecations

  • procedure V1_AfterInsertImportedEdocument: guarded (#if not CLEAN26)
  • procedure V1_BeforeInsertImportedEdocument: guarded (#if not CLEAN26)
  • procedure OnAfterInsertImportedEdocument: Pending 26.0 (#if not CLEAN26), “This event is removed. Use new IDocumentReceiver interface instead”
  • procedure OnBeforeInsertImportedEdocument: Pending 26.0 (#if not CLEAN26), “This event is removed. Use new IDocumentReceiver interface instead”
  • procedure OnAfterUpdateDocument: Pending 27.0 (#if not CLEAN27), “This event is not raised.”
  • procedure OnBeforeUpdateDocument: Pending 27.0 (#if not CLEAN27), “This event is not raised.”

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "E-Doc. Import"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources