Codeunit "Document Notifications"

ID 1390
Namespace: Microsoft.Utilities

Methods

CopySellToCustomerAddressFieldsFromSalesDocument

procedure CopySellToCustomerAddressFieldsFromSalesDocument(var ModifyCustomerAddressNotification: Notification)

Parameters

Name Type Description
ModifyCustomerAddressNotification Notification

CopyBillToCustomerAddressFieldsFromSalesDocument

procedure CopyBillToCustomerAddressFieldsFromSalesDocument(ModifyCustomerAddressNotification: Notification)

Parameters

Name Type Description
ModifyCustomerAddressNotification Notification

HideNotificationForCurrentUser

procedure HideNotificationForCurrentUser(Notification: Notification)

Parameters

Name Type Description
Notification Notification

CopyBuyFromVendorAddressFieldsFromSalesDocument

procedure CopyBuyFromVendorAddressFieldsFromSalesDocument(var ModifyVendorAddressNotification: Notification)

Parameters

Name Type Description
ModifyVendorAddressNotification Notification

CopyPayToVendorAddressFieldsFromSalesDocument

procedure CopyPayToVendorAddressFieldsFromSalesDocument(ModifyVendorAddressNotification: Notification)

Parameters

Name Type Description
ModifyVendorAddressNotification Notification

ShowVendorLedgerEntry

procedure ShowVendorLedgerEntry(Notification: Notification)

Parameters

Name Type Description
Notification Notification

ShowGLSetup

procedure ShowGLSetup(Notification: Notification)

Parameters

Name Type Description
Notification Notification

ShowUserSetup

procedure ShowUserSetup(Notification: Notification)

Parameters

Name Type Description
Notification Notification

HidePurchaseNotificationForCurrentUser

procedure HidePurchaseNotificationForCurrentUser(Notification: Notification)

Parameters

Name Type Description
Notification Notification

Events

OnAfterGetCustomerFullAddress

[IntegrationEvent(False,False)]
local procedure OnAfterGetCustomerFullAddress(AddressArray: array[7] of Text, Customer: Record Customer, var Result: Text)

Parameters

Name Type Description
AddressArray array[7] of Text
Customer Table Microsoft.Sales.Customer.Customer
Result Text

OnAfterGetVendorFullAddress

[IntegrationEvent(False,False)]
local procedure OnAfterGetVendorFullAddress(AddressArray: array[7] of Text, Vendor: Record Vendor, var Result: Text)

Parameters

Name Type Description
AddressArray array[7] of Text
Vendor Table Microsoft.Purchases.Vendor.Vendor
Result Text

OnBeforeCopyBillToCustomerAddressFieldsFromSalesDocument

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyBillToCustomerAddressFieldsFromSalesDocument(var ModifyCustomerAddressNotification: Notification, var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
ModifyCustomerAddressNotification Notification
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnBeforeCopySellToCustomerAddressFieldsFromSalesDocument

[IntegrationEvent(False,False)]
local procedure OnBeforeCopySellToCustomerAddressFieldsFromSalesDocument(var ModifyCustomerAddressNotification: Notification, var SalesHeader: Record "Sales Header")

Parameters

Name Type Description
ModifyCustomerAddressNotification Notification
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnBeforeCopyBuyFromVendorAddressFieldsFromSalesDocument

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyBuyFromVendorAddressFieldsFromSalesDocument(var ModifyVendorAddressNotification: Notification, var PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
ModifyVendorAddressNotification Notification
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

OnBeforeCopyPayToVendorAddressFieldsFromSalesDocument

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyPayToVendorAddressFieldsFromSalesDocument(var ModifyVendorAddressNotification: Notification, var PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
ModifyVendorAddressNotification Notification
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

OnCopyBillToCustomerAddressFieldsFromSalesDocumentOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnCopyBillToCustomerAddressFieldsFromSalesDocumentOnBeforeModify(var Customer: Record Customer, SalesHeader: Record "Sales Header")

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnCopySellToCustomerAddressFieldsFromSalesDocumentOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnCopySellToCustomerAddressFieldsFromSalesDocumentOnBeforeModify(var Customer: Record Customer, SalesHeader: Record "Sales Header")

Parameters

Name Type Description
Customer Table Microsoft.Sales.Customer.Customer
SalesHeader Table Microsoft.Sales.Document."Sales Header"

OnCopyBuyFromVendorAddressFieldsFromSalesDocumentOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnCopyBuyFromVendorAddressFieldsFromSalesDocumentOnBeforeModify(var Vendor: Record Vendor, PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
Vendor Table Microsoft.Purchases.Vendor.Vendor
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

OnCopyPayToVendorAddressFieldsFromSalesDocumentOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnCopyPayToVendorAddressFieldsFromSalesDocumentOnBeforeModify(var Vendor: Record Vendor, PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
Vendor Table Microsoft.Purchases.Vendor.Vendor
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

See also