Codeunit 5056 "CustCont-Update"
Base Application · Microsoft.CRM.BusinessRelation
Across versions
- BC23present
- BC241 events added
- BC25-28unchanged
- BC29declaration changed
- BC30unchanged
Neighbourhood 10 connected objects and pages
Base Application · Microsoft.CRM.BusinessRelation · BC23-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata Contact = rimd, tabledata “Contact Business Relation” = r |
Events published
OnAfterOnModify(var Contact: Record Contact; var OldContact: Record Contact; var Customer: Record Customer)(integration)OnAfterTransferFieldsFromCustToCont(var Contact: Record Contact; Customer: Record Customer)(integration)OnBeforeContactInsert(var Contact: Record Contact; Customer: Record Customer)(integration)OnBeforeInsertNewContact(var Customer: Record Customer; LocalCall: Boolean; var IsHandled: Boolean)(integration)OnBeforeOnDelete(Customer: Record Customer; var ContactBusinessRelation: Record "Contact Business Relation"; var IsHandled: Boolean)(integration)OnBeforeOnInsert(var Customer: Record Customer; var IsHandled: Boolean)(integration)OnBeforeOnModify(Customer: Record Customer; var ContactBusinessRelation: Record "Contact Business Relation"; var IsHandled: Boolean)(integration)OnInsertNewContactOnAfterContInsert(var Contact: Record Contact; var Customer: Record Customer)(integration)OnInsertNewContactPersonOnAfterContactModify(var Contact: Record Contact; var Customer: Record Customer)(integration)OnInsertNewContactPersonOnBeforeValidateType(var Contact: Record Contact; Customer: Record Customer; ContComp: Record Contact)(integration)OnInsertNewContactPersonOnBeforeContactModify(var Contact: Record Contact; Customer: Record Customer)(integration)OnInsertNewContactOnBeforeContBusRelInsert(var ContactBusinessRelation: Record "Contact Business Relation"; Contact: Record Contact; Customer: Record Customer)(integration)OnInsertNewContactOnBeforeAssignNo(var Contact: Record Contact; var IsHandled: Boolean; Customer: Record Customer)(integration)- subscribers: Codeunit 7237 “Master Data Mgt. Subscribers” OnInsertNewContactFromCustomerOnBeforeAssignNo
OnModifyOnBeforeTransferFieldsFromCustToContact(var Contact: Record Contact; var Customer: Record Customer)+ BC24 (integration)
Procedures
OnInsert(var Cust: Record Customer)OnModify(var Cust: Record Customer)OnDelete(var Cust: Record Customer)InsertNewContact(var Cust: Record Customer; LocalCall: Boolean)InsertNewContactPerson(var Cust: Record Customer; LocalCall: Boolean)DeleteCustomerContacts(var Customer: Record Customer)ContactNameIsBlank(CustomerNo: Code[20]): Boolean
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Page 456 “No. Series” (1 call:
InsertNewContact → (object))
Called by
- Table 18 “Customer” (6 calls:
IsContactUpdateNeeded → ContactNameIsBlank,OnDelete → OnDelete,OnInsert → OnInsert, …) - Codeunit 5342 “CRM Synch. Helper” (1 call:
UpdateContactOnModifyCustomer → OnModify) - Codeunit 5900 “ServOrderManagement” (1 call:
CreateCustFromTemplate → InsertNewContactPerson) - Page 5135 “Customer Link” (1 call:
OnQueryClosePage → OnModify) - Report 5195 “Create Conts. from Customers” (1 call:
InsertNewContactIfNeeded → InsertNewContactPerson) - Table 249 “VAT Registration Log” (1 call:
OpenModifyDetails → OnModify) - Table 5054 “Contact Business Relation” (1 call:
FindOrRestoreContactBusinessRelation → OnInsert)
Recent changes
- 2026-08-13 #10151 Fix vendor contact relation read permission (main, BC30, fix)
Documented on Microsoft Learn
- Types of events for extensibility (names this object)
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "CustCont-Update"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.