Codeunit 5056 CustCont-Update

Base Application, Microsoft.CRM.BusinessRelation

src/Layers/W1/BaseApp/CRM/BusinessRelation/CustContUpdate.Codeunit.al6 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnInsert line 26

  1. 31raisesOnBeforeOnInsertIsHandled
  2. 39callsInsertNewContact

OnModify line 42

  1. 52raisesOnBeforeOnModifyIsHandled
  2. 60writesTable 5054 Contact Business Relation Delete
  3. 68validatesTable 5050 Contact E-Mail
  4. 70raisesOnModifyOnBeforeTransferFieldsFromCustToContact
  5. 74raisesOnAfterTransferFieldsFromCustToCont
  6. 77validatesTable 5050 Contact Name
  7. 78callsTable 5050 Contact DoModify
  8. 79writesTable 5050 Contact Modify(true)
  9. 84validatesTable 18 Customer Contact
  10. 85writesTable 18 Customer Modify
  11. 90raisesOnAfterOnModify

OnDelete line 93

  1. 99raisesOnBeforeOnDeleteIsHandled
  2. 106writesTable 5054 Contact Business Relation DeleteAll(true)

InsertNewContact line 109

  1. 117raisesOnBeforeInsertNewContactIsHandled
  2. 126callsTable 5054 Contact Business Relation UpdateEmptyNoForContact
  3. 131raisesOnAfterTransferFieldsFromCustToCont
  4. 132validatesTable 5050 Contact Name
  5. 133validatesTable 5050 Contact E-Mail
  6. 135raisesOnInsertNewContactOnBeforeAssignNoIsHandled
  7. 141callsCodeunit 310 No. Series GetNextNo
  8. 144callsTable 5050 Contact SetSkipDefault
  9. 145raisesOnBeforeContactInsert
  10. 146writesTable 5050 Contact Insert(true)
  11. 148raisesOnInsertNewContactOnAfterContInsert
  12. 155raisesOnInsertNewContactOnBeforeContBusRelInsert
  13. 156writesTable 5054 Contact Business Relation Insert(true)
  14. 159validatesTable 18 Customer Primary Contact No.

InsertNewContactPerson line 162

  1. 178raisesOnInsertNewContactPersonOnBeforeValidateType
  2. 179validatesTable 5050 Contact Type
  3. 180writesTable 5050 Contact Insert(true)
  4. 183validatesTable 5050 Contact Name
  5. 185callsTable 5050 Contact InheritCompanyToPersonData
  6. 186callsTable 5050 Contact UpdateBusinessRelation
  7. 187raisesOnInsertNewContactPersonOnBeforeContactModify
  8. 188writesTable 5050 Contact Modify(true)
  9. 189raisesOnInsertNewContactPersonOnAfterContactModify

DeleteCustomerContacts line 194

  1. 205writesTable 5050 Contact Delete(true)