Codeunit 8067 Customer Deferrals Mngmt.

Subscription Billing, Microsoft.SubscriptionBilling

Source AL, 412 lines

src/Apps/W1/Subscription Billing/App/Deferrals/Codeunits/CustomerDeferralsMngmt.Codeunit.allines 14 to 29 of 412, Copyright (c) Microsoft Corporation. MIT

codeunit 8067 "Customer Deferrals Mngmt."{    SingleInstance = true;    Permissions =        tabledata "Sales Invoice Line" = r;    var        GLSetup: Record "General Ledger Setup";        DeferralEntryNo: Integer;    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Sales Post Invoice Events", OnPrepareLineOnBeforeSetAccount, '', false, false)]    local procedure OnPrepareLineOnBeforeSetAccount(SalesLine: Record "Sales Line"; var SalesAccount: Code[20])    var        GeneralPostingSetup: Record "General Posting Setup";    begin        if not SalesLine.IsLineAttachedToBillingLine() then

All 412 lines

Events 3 in 29

[IntegrationEvent] OnBeforeInsertCustomerContractDeferralWhenStartingOnFirstDayInMonth(var CustSubContractDeferral: Record "Cust. Sub. Contract Deferral"; SalesLine: Record "Sales Line"; PeriodNo: Integer; NumberOfPeriods: Integer)new in 26
Pending, tag 29.0, obsolete since 28: Replaced by OnBeforeInsertCustomerContractDeferral.
[IntegrationEvent] OnBeforeInsertCustomerContractDeferralWhenNotStartingOnFirstDayInMonth(var CustSubContractDeferral: Record "Cust. Sub. Contract Deferral"; SalesLine: Record "Sales Line"; PeriodNo: Integer; NumberOfPeriods: Integer)new in 26
Pending, tag 29.0, obsolete since 28: Replaced by OnBeforeInsertCustomerContractDeferral.
[IntegrationEvent] OnBeforeInsertCustomerContractDeferral(var CustSubContractDeferral: Record "Cust. Sub. Contract Deferral"; SalesLine: Record "Sales Line"; PeriodNo: Integer; NumberOfPeriods: Integer)new in 28

Changes 3 in 28

List17181920212223242526272829
Events3
[IntegrationEvent] OnBeforeInsertCustomerContractDeferralWhenStartingOnFirstDayInMonth(var CustSubContractDeferral: Record "Cust. Sub. Contract Deferral"; SalesLine: Record "Sales Line"; PeriodNo: Integer; NumberOfPeriods: Integer)new in 26
marked Pending, tag 29.0: Replaced by OnBeforeInsertCustomerContractDeferral.
[IntegrationEvent] OnBeforeInsertCustomerContractDeferralWhenNotStartingOnFirstDayInMonth(var CustSubContractDeferral: Record "Cust. Sub. Contract Deferral"; SalesLine: Record "Sales Line"; PeriodNo: Integer; NumberOfPeriods: Integer)new in 26
marked Pending, tag 29.0: Replaced by OnBeforeInsertCustomerContractDeferral.
[IntegrationEvent] OnBeforeInsertCustomerContractDeferral(var CustSubContractDeferral: Record "Cust. Sub. Contract Deferral"; SalesLine: Record "Sales Line"; PeriodNo: Integer; NumberOfPeriods: Integer)new in 28
added

All 3 changes in 26-29