Codeunit 6117 E-Doc. Create Purchase Invoice
Source AL, 145 lines
src/Apps/W1/EDocument/App/src/Processing/Import/FinishDraft/EDocCreatePurchaseInvoice.Codeunit.allines 19 to 34 of 145, Copyright (c) Microsoft Corporation. MIT
codeunit 6117 "E-Doc. Create Purchase Invoice" implements IEDocumentFinishDraft, IEDocumentCreatePurchaseInvoice{ Access = Internal; var Telemetry: Codeunit "Telemetry"; InvoiceAlreadyExistsErr: Label 'A purchase invoice with external document number %1 already exists for vendor %2.', Comment = '%1 = Vendor Invoice No., %2 = Vendor No.'; DraftLineDoesNotConstantTypeAndNumberErr: Label 'One of the draft lines do not contain the type and number. Please, specify these fields manually.'; procedure ApplyDraftToBC(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): RecordId var EDocumentPurchaseHeader: Record "E-Document Purchase Header"; PurchaseHeader: Record "Purchase Header"; TempPOMatchWarnings: Record "E-Doc PO Match Warning" temporary; EDocPOMatching: Codeunit "E-Doc. PO Matching"; EDocPurchaseDocumentHelper: Codeunit "E-Doc. Purch. Doc. Helper";Public procedures 3 in 29
| Apply | new in 26 |
| Revert | new in 26 |
| Create | new in 26 |