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

Codeunit 6429 "Prepare Sales E-Doc. Draft"

EDocument · Microsoft.eServices.EDocument.Processing.Import.Sales

Across versions

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

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

Properties

Property Value
Access Internal

Procedures

  • PrepareDraft(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): Enum "E-Document Type": Resolves the customer and sales lines for the staging draft, then returns the E-Document type.
  • OpenDraftPage(var EDocument: Record "E-Document"): Opens the draft review page for the sales order E-Document.
  • CleanUpDraft(EDocument: Record "E-Document"): Deletes the sales staging header and all associated line records for the given E-Document.
  • GetVendor(EDocument: Record "E-Document"; Customizations: Enum "E-Doc. Proc. Customizations"): Record Vendor: Not applicable for inbound sales orders; customer resolution uses ICustomerProvider instead.
  • GetCustomer(EDocument: Record "E-Document"; Customizations: Enum "E-Doc. Proc. Customizations"): Record Customer: Returns the resolved customer for the sales order E-Document.

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

Evidence 1 sources