Codeunit 1390 Document Notifications

Base Application, Microsoft.Utilities

Source AL, 407 lines

src/Layers/W1/BaseApp/Utilities/DocumentNotifications.Codeunit.allines 17 to 32 of 407, Copyright (c) Microsoft Corporation. MIT

codeunit 1390 "Document Notifications"{    trigger OnRun()    begin    end;    procedure CopySellToCustomerAddressFieldsFromSalesDocument(var ModifyCustomerAddressNotification: Notification)    var        Customer: Record Customer;        SalesHeader: Record "Sales Header";        UpdateAddress: Page "Update Address";    begin        if not ModifyCustomerAddressNotification.HasData(SalesHeader.FieldName("Sell-to Customer No.")) then            exit;

All 407 lines

Events 10 in 29

[IntegrationEvent] OnBeforeCopyBillToCustomerAddressFieldsFromSalesDocument(var ModifyCustomerAddressNotification: Notification; var SalesHeader: Record "Sales Header")17-29
[IntegrationEvent] OnBeforeCopySellToCustomerAddressFieldsFromSalesDocument(var ModifyCustomerAddressNotification: Notification; var SalesHeader: Record "Sales Header")17-29
[IntegrationEvent] OnBeforeCopyBuyFromVendorAddressFieldsFromSalesDocument(var ModifyVendorAddressNotification: Notification; var PurchaseHeader: Record "Purchase Header")17-29
[IntegrationEvent] OnBeforeCopyPayToVendorAddressFieldsFromSalesDocument(var ModifyVendorAddressNotification: Notification; var PurchaseHeader: Record "Purchase Header")17-29
[IntegrationEvent] OnAfterGetCustomerFullAddress(AddressArray: array[7] of Text; Customer: Record Customer; var Result: Text)new in 19
[IntegrationEvent] OnAfterGetVendorFullAddress(AddressArray: array[7] of Text; Vendor: Record Vendor; var Result: Text)new in 19
[IntegrationEvent] OnCopySellToCustomerAddressFieldsFromSalesDocumentOnBeforeModify(var Customer: Record Customer; SalesHeader: Record "Sales Header")new in 19

All 10 events

Public procedures 9 in 29

CopySellToCustomerAddressFieldsFromSalesDocument(var ModifyCustomerAddressNotification: Notification)17-29
CopyBillToCustomerAddressFieldsFromSalesDocument(ModifyCustomerAddressNotification: Notification)17-29
HideNotificationForCurrentUser(Notification: Notification)17-29
CopyBuyFromVendorAddressFieldsFromSalesDocument(var ModifyVendorAddressNotification: Notification)17-29
CopyPayToVendorAddressFieldsFromSalesDocument(ModifyVendorAddressNotification: Notification)17-29
ShowVendorLedgerEntry(Notification: Notification)17-29

All 13 procedures in 17-29

Changes 2 in 23

List17181920212223242526272829
Procedures4
Events312
[IntegrationEvent] OnCopyBuyFromVendorAddressFieldsFromSalesDocumentOnBeforeModify(var Vendor: Record Vendor; PurchaseHeader: Record "Purchase Header")new in 23
added
[IntegrationEvent] OnCopyPayToVendorAddressFieldsFromSalesDocumentOnBeforeModify(var Vendor: Record Vendor; PurchaseHeader: Record "Purchase Header")new in 23
added

All 10 changes in 17-29