Source AL, 120 lines
src/Apps/W1/EDocument/App/src/Processing/Import/Sales/EDocCreateSalesOrder.Codeunit.allines 17 to 32 of 120, Copyright (c) Microsoft Corporation. MIT
codeunit 6405 "E-Doc. Create Sales Order" implements IEDocumentFinishDraft, IEDocumentCreateSalesOrder{ Access = Internal; var Telemetry: Codeunit Telemetry; DraftLineDoesNotContainTypeAndNumberErr: Label 'One of the draft lines do not contain the type and number. Please, specify these fields manually.'; DuplicateSalesOrderErr: Label 'A sales order with external document number %1 already exists for customer %2.', Comment = '%1 = External Document No., %2 = Customer No.'; /// <summary> /// Creates a BC sales document from the e-document draft by delegating to the customizations interface. /// </summary> procedure ApplyDraftToBC(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): RecordId var SalesHeader: Record "Sales Header"; EDocSalesDocHelper: Codeunit "E-Doc. Sales Doc. Helper";
All 120 lines
Public procedures 3 in 29
| ApplyDraftToBC(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): RecordId | new in 28 |
| RevertDraftActions(EDocument: Record "E-Document") | new in 28 |
| CreateSalesOrder(EDocument: Record "E-Document"): Record "Sales Header" | new in 28 |
Changes 5 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Object | | | | | | | | | | | | 1 | |
|---|
| Procedures | | | | | | | | | | | | 3 | |
|---|
| Events | | | | | | | | | | | | 1 | |
|---|
| codeunit 6405 "E-Doc. Create Sales Order" | new in 24 |
| no longer obsolete, was codeunit 6405 "FS Int. Table. Subscriber" |
| ApplyDraftToBC(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): RecordId | new in 28 |
| added |
| RevertDraftActions(EDocument: Record "E-Document") | new in 28 |
| added |
| CreateSalesOrder(EDocument: Record "E-Document"): Record "Sales Header" | new in 28 |
| added |
| [IntegrationEvent] OnSetUpNewLineOnNewLine(var JobJournalLine: Record "Job Journal Line"; var JobJournalTemplate: Record "Job Journal Template"; var JobJournalBatch: Record "Job Journal Batch"; var Handled: Boolean) | 24 to 27 |
| gone |
All 5 changes in 24-29