Source AL, 153 lines
src/Apps/W1/EDocument/App/src/Processing/Import/FinishDraft/EDocCreatePurchCrMemo.Codeunit.allines 19 to 34 of 153, Copyright (c) Microsoft Corporation. MIT
codeunit 6404 "E-Doc. Create Purch. Cr. Memo" implements IEDocumentFinishDraft, IEDocumentCreatePurchaseCreditMemo{ Access = Internal; var Telemetry: Codeunit "Telemetry"; CrMemoAlreadyExistsErr: Label 'A purchase credit memo with external document number %1 already exists for vendor %2.', Comment = '%1 = Vendor Cr. Memo No., %2 = Vendor No.'; DraftLineDoesNotContainTypeAndNumberErr: Label 'One of the draft lines do not contain the type and number. Please, specify these fields manually.'; CannotApplyToInvoiceErr: Label 'The credit memo cannot be applied to invoice %1. %2 Select another invoice in Applies-to Doc. No. on the draft, or clear it, and try again.', Comment = '%1 = posted invoice number, %2 = reason the invoice cannot be applied to'; procedure ApplyDraftToBC(EDocument: Record "E-Document"; EDocImportParameters: Record "E-Doc. Import Parameters"): RecordId var PurchaseHeader: Record "Purchase Header"; EDocPurchaseDocumentHelper: Codeunit "E-Doc. Purch. Doc. Helper"; EDocImpSessionTelemetry: Codeunit "E-Doc. Imp. Session Telemetry"; EmptyRecordId: RecordId;
All 153 lines
Public procedures 3 in 29
All 20 procedures in 24-29
Changes 33 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Object | | | | | | | | | | | | 1 | |
|---|
| Procedures | | | | | | | | | | | | 20 | |
|---|
| Events | | | | | | | | | | | | 12 | |
|---|
| codeunit 6404 "E-Doc. Create Purch. Cr. Memo" | new in 24 |
| no longer obsolete, was codeunit 6404 "FS Setup Defaults" |
| internal ResetConfiguration(var FSConnectionSetup: Record "FS Connection Setup") | 24 to 27 |
| gone |
| internal ResetProjectTaskMapping(var FSConnectionSetup: Record "FS Connection Setup"; IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | 24 to 27 |
| gone |
| internal ResetProjectJournalLineWOProductMapping(var FSConnectionSetup: Record "FS Connection Setup"; IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | 24 to 27 |
| gone |
| internal ResetProjectJournalLineWOServiceMapping(var FSConnectionSetup: Record "FS Connection Setup"; IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | 24 to 27 |
| gone |
| internal ResetResourceBookableResourceMapping(var FSConnectionSetup: Record "FS Connection Setup"; IntegrationTableMappingName: Code[20]; ShouldRecreateJobQueueEntry: Boolean) | 24 to 27 |
| gone |
All 33 changes in 24-29