Codeunit 8004 Post Sub. Contract Renewal

Subscription Billing, Microsoft.SubscriptionBilling

Source AL, 376 lines

src/Apps/W1/Subscription Billing/App/Contract Renewal/Codeunits/PostSubContractRenewal.Codeunit.allines 8 to 23 of 376, Copyright (c) Microsoft Corporation. MIT

codeunit 8004 "Post Sub. Contract Renewal"{    TableNo = "Sales Header";    trigger OnRun()    begin        RunCheck(Rec);        Post(Rec);    end;    local procedure RunCheck(var SalesHeader: Record "Sales Header")    var        Customer: Record Customer;        SalesServiceCommitment: Record "Sales Subscription Line";        SalesLine: Record "Sales Line";        ContractRenewalMgt: Codeunit "Sub. Contract Renewal Mgt.";

All 376 lines

Events 5 in 29

[IntegrationEvent] OnBeforeUpdateSubscriptionLineFromPlannedSubscriptionLine(var SubscriptionLine: Record "Subscription Line"; var PlannedSubscriptionLine: Record "Planned Subscription Line")new in 26
[IntegrationEvent] OnCheckPerformSubscriptionLineUpdate(SubscriptionLine: Record "Subscription Line"; PlannedSubscriptionLine: Record "Planned Subscription Line"; var PerformUpdate: Boolean)new in 26
[IntegrationEvent] OnBeforeInsertPlannedSubscriptionLineFromSalesSubscriptionLine(SalesLine: Record "Sales Line"; SalesSubscriptionLine: Record "Sales Subscription Line"; var IsHandled: Boolean)new in 26
[IntegrationEvent] OnAfterInsertPlannedSubscriptionLineFromSalesSubscriptionLine(SalesLine: Record "Sales Line"; var TempSubscriptionLine: Record "Subscription Line"; var PlannedSubscriptionLine: Record "Planned Subscription Line")new in 26
[IntegrationEvent] OnBeforeProcessPlannedSubscriptionLine(var PlannedSubscriptionLine: Record "Planned Subscription Line"; var IsHandled: Boolean)new in 26

Public procedures 1 in 29

ProcessPlannedServiceCommitment(PlannedServiceCommitment: Record "Planned Subscription Line")new in 27

All 5 procedures in 26-29

Changes 1 in 27

List17181920212223242526272829
Procedures1
ProcessPlannedServiceCommitment(PlannedServiceCommitment: Record "Planned Subscription Line")new in 27
added

All 1 changes in 26-29