Codeunit 6125 "Prepare Purchase E-Doc. Draft"
EDocument · Microsoft.eServices.EDocument.Processing.Import
Across versions
- BC23-28not present
- BC29-30present
EDocument · Microsoft.eServices.EDocument.Processing.Import · BC29-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
PrepareDraft(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): Enum "E-Document Type"PrepareDraft(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"; AgentDrivenLineMatching: Boolean): Enum "E-Document Type"(internal)OpenDraftPage(var EDocument: Record "E-Document")CleanUpDraft(EDocument: Record "E-Document")GetVendor(EDocument: Record "E-Document"; Customizations: Enum "E-Doc. Proc. Customizations"): Record Vendor
Plus 2 local procedures.
Recent changes
- 2026-11-18 #14148 Only skip draft preparation for the Payables Agent’s own e-documents with agent-driven line matching (main, BC30, fix)
- 2026-08-18 #7546 [Payables Agent] Agent-driven line matching (main, BC30, feature)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Match Purchase Invoice Drafts to Purchase Orders — possibly related: Prepares purchase e-document drafts by matching incoming documents to purchase orders with validation. (model-linked)
- Payables Agent Frequently Asked Questions — possibly related: Prepares purchase invoice drafts as part of Payables Agent’s automated document processing workflow. (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: "Prepare Purchase E-Doc. Draft"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.