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

Codeunit 6102 "E-Doc. Export"

EDocument · Microsoft.eServices.EDocument

Across versions

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

Neighbourhood 1 connected objects and pages

Codeunit 5579 "Digital Voucher Impl." (event subscribers)Digital Voucher Impl.

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 4e6a307c · facts from BC29

Properties

Property Value
Permissions tabledata “E-Document” = im, tabledata “E-Doc. Mapping” = im, tabledata “E-Doc. Mapping Log” = im

Events published

  • OnBeforeEDocumentCheck(RecRef: RecordRef; EDocumentProcessingPhase: Enum "E-Document Processing Phase"; var IsHandled: Boolean) (integration)
  • OnAfterEDocumentCheck(RecRef: RecordRef; EDocumentProcessingPhase: Enum "E-Document Processing Phase") (integration)
  • OnBeforeCreateEDocument(var EDocument: Record "E-Document"; var SourceDocumentHeader: RecordRef) (integration)
  • OnAfterCreateEDocument(var EDocument: Record "E-Document"; var SourceDocumentHeader: RecordRef) (integration)
  • OnExportEDocumentAfterCreateEDocument(EDocumentService: Record "E-Document Service"; EDocument: Record "E-Document"; SourceDocumentHeaderMapped: RecordRef; SourceDocumentLineMapped: RecordRef; var TempBlob: Codeunit "Temp Blob"; Success: Boolean) (integration)

Procedures

  • CheckEDocument(var EDocSourceRecRef: RecordRef; EDocumentProcessingPhase: Enum "E-Document Processing Phase") (internal)
  • CreateEDocument(DocumentHeader: RecordRef; DocumentSendingProfile: Record "Document Sending Profile"; EDocumentType: Enum "E-Document Type"): Boolean (internal): Creates a new E-Document for the provided document header and attempts to export it.
  • CreateEDocument(DocumentHeader: RecordRef; DocumentSendingProfile: Record "Document Sending Profile"; EDocumentType: Enum "E-Document Type"; AllowReExport: Boolean): Boolean (internal): Creates a new E-Document of specified type for the provided document header and attempts to export it.
  • CreateAndExportEDocument(var DocumentHeader: RecordRef; var EDocumentService: Record "E-Document Service"; WorkflowCode: Code[20]; DocumentSendingProfileCode: Code[20]; EDocumentType: Enum "E-Document Type"; AllowReExport: Boolean): Boolean: Orchestrates creating and exporting an E-Document for the given document header and a given set of services. On first call, creates the E-Document record and exports it for every supported service. If an E-Document already exists for the document header, re-exports for every supported service when A…
  • CreateEDocument(var EDocument: Record "E-Document"; var DocumentHeader: RecordRef; var EDocumentService: Record "E-Document Service"; EDocumentType: Enum "E-Document Type"): Boolean: CreateEDocument - Creates an E-Document record for the given document header and a set of services. If services do not support the document type they are filtered out. If an E-Document already exists for the document header, no record is created
  • ExportEDocument(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"): Boolean (internal)
  • ExportEDocumentBatch(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]) (internal)
  • Recreate(EDocument: Record "E-Document"; EDocService: Record "E-Document Service") (internal)
  • MapEDocument(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) (internal)
  • IsDocumentTypeSupported(EDocService: Record "E-Document Service"; EDocumentType: Enum "E-Document Type"): Boolean
  • IsDocumentTypeSupportedForImport(EDocService: Record "E-Document Service"; EDocumentType: Enum "E-Document Type"): Boolean: Determines whether a document type is configured for inbound processing on the E-Document Service. The exact document-type row takes precedence over its fallback row. The matched row must allow Incoming or Both; if neither row is configured, the document type is not supported.
  • CheckDocumentTypeSupportedForImport(EDocService: Record "E-Document Service"; EDocumentType: Enum "E-Document Type"; var ErrorText: Text): Boolean (internal): Shared inbound check used by both import paths. Returns false and sets ErrorText when the document type is not permitted for the Incoming direction.

Plus 14 local procedures.

Recent changes

No source states these links: they share an object, a model read them, or a person found the same subject.

  • E-Doc Sample Purchase Invoice report — possibly related: Codeunit creates e-documents which may include e-invoice samples and report generation. (model-linked)
  • OnAfterDocumentReady Event — possibly related: Codeunit exports e-documents and raises document ready events for report artifact handling. (model-linked)

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. Export"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources