Codeunit 8056 Subscription Notifications

Subscription Billing, Microsoft.SubscriptionBilling

Source AL, 138 lines

src/Apps/W1/Subscription Billing/App/Service Objects/Codeunits/SubscriptionNotifications.Codeunit.allines 6 to 21 of 138, Copyright (c) Microsoft Corporation. MIT

codeunit 8056 "Subscription Notifications"{    internal procedure CopySellToCustomerAddressFieldsFromServiceObject(var ModifyCustomerAddressNotification: Notification)    var        Customer: Record Customer;        ServiceObject: Record "Subscription Header";        UpdateAddress: Page "Update Address";    begin        if not ModifyCustomerAddressNotification.HasData(ServiceObject.FieldName("End-User Customer No.")) then            exit;        OnBeforeCopySellToCustomerAddressFieldsFromSubscriptionHeader(ModifyCustomerAddressNotification, ServiceObject);        ServiceObject.Get(ModifyCustomerAddressNotification.GetData(ServiceObject.FieldName("No.")));        if Customer.Get(ModifyCustomerAddressNotification.GetData(ServiceObject.FieldName("End-User Customer No."))) then begin            UpdateAddress.SetName(Customer.Name);

All 138 lines

Events 2 in 29

[IntegrationEvent] OnBeforeCopyBillToCustomerAddressFieldsFromSubscriptionHeader(var ModifyCustomerAddressNotification: Notification; var SubscriptionHeader: Record "Subscription Header")new in 26
[IntegrationEvent] OnBeforeCopySellToCustomerAddressFieldsFromSubscriptionHeader(var ModifyCustomerAddressNotification: Notification; var SubscriptionHeader: Record "Subscription Header")new in 26