Codeunit 8061 Billing Correction
Source AL, 235 lines
src/Apps/W1/Subscription Billing/App/Billing/Codeunits/BillingCorrection.Codeunit.allines 7 to 22 of 235, Copyright (c) Microsoft Corporation. MIT
codeunit 8061 "Billing Correction"{ SingleInstance = true; var NewerInvoiceExistErr: Label 'The Subscription Line has already been invoiced until %1. In order to cancel the invoice, please cancel the newer invoices first.', Comment = '%1=Next Billing Date'; RelatedDocumentLineExistErr: Label 'The %1 %2 already exists for the Subscription Line. Please post or delete this %1 first.', Comment = '%1=Document Type, %2=Document No.'; CopyingErr: Label 'Copying documents with a link to a contract is not allowed. To create contract invoices, please use the "Recurring Billing" page. For cancelling a contract invoice, please use the "Create Corrective Credit Memo" function in the posted invoice.'; local procedure CreateBillingLineFromBillingLineArchive(RecVariant: Variant; var ServiceCommitment: Record "Subscription Line"; FromDocumentNo: Code[20]; DocLineNo: Integer) var BillingLine: Record "Billing Line"; BillingLineArchive: Record "Billing Line Archive"; InvoiceUsageDataBilling: Record "Usage Data Billing"; CreditMemoUsageDataBilling: Record "Usage Data Billing"; RRef: RecordRef;Events 3 in 29
| [IntegrationEvent] On | new in 26 |
| [IntegrationEvent] On | new in 26 |
| [IntegrationEvent] On | new in 26 |