Codeunit 5057 VendCont-Update

Base Application, Microsoft.CRM.BusinessRelation

Source AL, 275 lines

src/Layers/W1/BaseApp/CRM/BusinessRelation/VendContUpdate.Codeunit.allines 12 to 27 of 275, Copyright (c) Microsoft Corporation. MIT

codeunit 5057 "VendCont-Update"{    Permissions = tabledata Contact = rimd,                  tabledata "Contact Business Relation" = r;    trigger OnRun()    begin    end;    var        RMSetup: Record "Marketing Setup";        VendContactUpdateCategoryTxt: Label 'Vendor Contact Orphaned Links', Locked = true;        VendContactUpdateTelemetryMsg: Label 'Contact does not exist. The contact business relation which points to it has been deleted', Locked = true;    procedure OnInsert(var Vend: Record Vendor)    var

All 275 lines

Events 14 in 29

[IntegrationEvent] OnAfterTransferFieldsFromVendToCont(var Contact: Record Contact; Vendor: Record Vendor)17-29
[IntegrationEvent] OnAfterOnModify(var Contact: Record Contact; var OldContact: Record Contact; var Vendor: Record Vendor)17-29
[IntegrationEvent] OnBeforeContactInsert(var Contact: Record Contact; Vendor: Record Vendor)17-29
[IntegrationEvent] OnBeforeInsertNewContact(var Vendor: Record Vendor; LocalCall: Boolean; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeOnDelete(Vendor: Record Vendor; var ContactBusinessRelation: Record "Contact Business Relation"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnInsertNewContactPersonOnBeforeContactModify(var Contact: Record Contact; Vendor: Record Vendor)17-29
[IntegrationEvent] OnModifyOnBeforeAssignNo(var Contact: Record Contact; var IsHandled: Boolean)17-29

All 16 events in 17-29

Public procedures 6 in 29

OnInsert(var Vend: Record Vendor)17-29
OnModify(var Vend: Record Vendor)17-29
OnDelete(var Vend: Record Vendor)17-29
InsertNewContact(var Vend: Record Vendor; LocalCall: Boolean)17-29
InsertNewContactPerson(var Vend: Record Vendor; LocalCall: Boolean)17-29
ContactNameIsBlank(VendorNo: Code[20]): Boolean17-29

Changes 2 in 24

List17181920212223242526272829
Events32112
[IntegrationEvent] OnBeforeTransferFieldsFromVendToCont(var Contact: Record Contact; Vendor: Record Vendor)gone after 23
gone
[IntegrationEvent] OnBeforeTransferFieldsFromVendToCont(var Contact: Record Contact; Vendor: Record Vendor; var SalespersonCode: Code[20])new in 24
added

All 9 changes in 17-29