Codeunit 7205 CDS Int. Table. Subscriber

Base Application, Microsoft.Integration.Dataverse

src/Layers/W1/BaseApp/Integration/Dataverse/CDSIntTableSubscriber.Codeunit.al44 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

HandleOnInitCDSConnection line 56, local

  1. 61callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 64callsCodeunit 7201 CDS Integration Impl. RegisterConnection
  3. 67callsCodeunit 7201 CDS Integration Impl. ActivateConnection
  4. 69callsCodeunit 7201 CDS Integration Impl. GetConnectionDefaultName

HandleOnCloseCDSConnection line 74, local

  1. 79callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 82callsCodeunit 7201 CDS Integration Impl. UnregisterConnection

HandleOnTestCDSConnection line 87, local

  1. 92callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 96callsCodeunit 7201 CDS Integration Impl. TestSystemUsersAvailability

HandleOnGetCDSIntegrationUserId line 100, local

  1. 105callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 108callsFindIntegrationUserId
  3. 112callsShowError

HandleOnGetCDSServerAddress line 116, local

  1. 123callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled

HandleOnAfterInsertRecord line 132, local

  1. 137callsGetSourceDestCode
  2. 141callsSetCompanyIdOnCRMAccount
  3. 142callsUpdateChildContactsParentCompany
  4. 146callsFixPrimaryContactNo
  5. 147callsSetCompanyIdOnCRMContact
  6. 150callsFixPrimaryContactIdInCDS
  7. 152callsAddCoupledUserToDefaultOwningTeam
  8. 163writesTable 5335 Integration Table Mapping Modify

DeleteCouplingOnAfterDeleteSalesperson line 170, local

  1. 180writesTable 5331 CRM Integration Record Delete

AddCoupledUserToDefaultOwningTeam line 184, local

  1. 194callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 206callsCodeunit 7201 CDS Integration Impl. SignInCDSAdminUser
  3. 208callsCodeunit 7201 CDS Integration Impl. AddUsersToDefaultOwningTeam

SetCompanyIdOnCRMContact line 211, local

  1. 216callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 220callsCodeunit 7201 CDS Integration Impl. CheckCompanyIdNoTelemetry
  3. 230callsSetCompanyId

SetCompanyIdOnCRMAccount line 236, local

  1. 241callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 245callsCodeunit 7201 CDS Integration Impl. CheckCompanyIdNoTelemetry
  3. 255callsSetCompanyId

OnTransferFieldData line 262, local

  1. 290callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 311callsCodeunit 5342 CRM Synch. Helper GetCoupledCDSUserId
  3. 333callsGetCoupledSalespersonPurchaserCode
  4. 353callsTable 5331 CRM Integration Record FindByRecordID
  5. 394callsCodeunit 5342 CRM Synch. Helper FindNewValueForSpecialMapping
  6. 400callsCodeunit 5330 CRM Integration Management IsUnitGroupMappingEnabled
  7. 404callsCodeunit 5342 CRM Synch. Helper ConvertBaseUnitOfMeasureToUomId
  8. 410callsCodeunit 5342 CRM Synch. Helper ConvertUomIdToBaseUnitOfMeasure
  9. 416callsCodeunit 5342 CRM Synch. Helper PrefixUnitGroupCode
  10. 422callsCodeunit 5342 CRM Synch. Helper ConvertTableToOption
  11. 427callsCodeunit 5342 CRM Synch. Helper ConvertOptionToTable
  12. 432callsCodeunit 5342 CRM Synch. Helper AreFieldsRelatedToMappedTables
  13. 433callsFindNewValueForCoupledRecordPK
  14. 436callsCodeunit 5342 CRM Synch. Helper IsClearValueOnFailedSync
  15. 439callsCodeunit 5342 CRM Synch. Helper IsClearValueOnFailedSync

HandleOnBeforeInsertRecord line 453, local

  1. 464callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 467callsGetSourceDestCode
  3. 470callsUpdateCRMContactParentCustomerId
  4. 477callsCodeunit 5345 Integration Rec. Synch. Invoke FindTableConfigTemplate
  5. 485callsSetCompanyId
  6. 486callsSetOwnerId
  7. 489callsSetDefaultSymbolOnCRMTransactioncurrencyIfEmpty
  8. 493callsCodeunit 1381 Customer Templ. Mgt. FillCustomerKeyFromInitSeries
  9. 497callsCodeunit 1385 Vendor Templ. Mgt. FillVendorKeyFromInitSeries
  10. 501callsCodeunit 1336 Item Templ. Mgt. FillItemKeyFromInitSeries
  11. 505callsUpdateSalesPersOnBeforeInsertRecord

HandleOnBeforeModifyRecord line 509, local

  1. 513callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 516callsGetSourceDestCode
  3. 519callsUpdateCRMContactParentCustomerId
  4. 525callsSetCompanyId
  5. 527callsSetDefaultSymbolOnCRMTransactioncurrencyIfEmpty

HandleOnAfterModifyRecord line 532, local

  1. 534callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 538callsCodeunit 5342 CRM Synch. Helper UpdateContactOnModifyVendor

HandleOnAfterModifyOption line 542, local

  1. 550callsCodeunit 5330 CRM Integration Management IsCRMIntegrationEnabled
  2. 555callsTable 5334 CRM Option Mapping IsCRMRecordRefMapped
  3. 556callsTable 5334 CRM Option Mapping GetRecordRefOptionValue
  4. 561callsTable 5334 CRM Option Mapping GetRecordRefOptionValue
  5. 565callsUpdateOrInsertDocumentOptionSet
  6. 566callsUpdateOrInsertDocumentOptionSet
  7. 567callsUpdateOrInsertDocumentOptionSet

UpdateOrInsertDocumentOptionSet line 571, local

  1. 577callsTable 5334 CRM Option Mapping GetDocumentMetadataInfo
  2. 579callsCodeunit 7200 CDS Integration Mgt. GetOptionSetMetadata
  3. 581callsCodeunit 7200 CDS Integration Mgt. InsertOptionSetMetadataWithOptionValue
  4. 584callsCodeunit 7200 CDS Integration Mgt. UpdateOptionSetMetadata

HandleOnAfterInsertOption line 589, local

  1. 597callsCodeunit 5330 CRM Integration Management IsCRMIntegrationEnabled
  2. 602callsTable 5334 CRM Option Mapping IsCRMRecordRefMapped
  3. 603callsTable 5334 CRM Option Mapping GetRecordRefOptionValue
  4. 608callsTable 5334 CRM Option Mapping GetRecordRefOptionValue
  5. 612callsUpdateOrInsertDocumentOptionSet
  6. 613callsUpdateOrInsertDocumentOptionSet
  7. 614callsUpdateOrInsertDocumentOptionSet

SyncDocumentOptionSets line 618

  1. 645callsCodeunit 7200 CDS Integration Mgt. GetOptionSetMetadata
  2. 646callsCodeunit 7200 CDS Integration Mgt. GetOptionSetMetadata
  3. 647callsCodeunit 7200 CDS Integration Mgt. GetOptionSetMetadata
  4. 649callsCodeunit 7200 CDS Integration Mgt. GetOptionSetMetadata
  5. 650callsCodeunit 7200 CDS Integration Mgt. GetOptionSetMetadata
  6. 651callsCodeunit 7200 CDS Integration Mgt. GetOptionSetMetadata
  7. 653callsCodeunit 7200 CDS Integration Mgt. GetOptionSetMetadata
  8. 654callsCodeunit 7200 CDS Integration Mgt. GetOptionSetMetadata
  9. 663callsCodeunit 7200 CDS Integration Mgt. InsertOptionSetMetadataWithOptionValue
  10. 666callsCodeunit 7200 CDS Integration Mgt. UpdateOptionSetMetadata
  11. 669callsCodeunit 7200 CDS Integration Mgt. InsertOptionSetMetadataWithOptionValue
  12. 672callsCodeunit 7200 CDS Integration Mgt. UpdateOptionSetMetadata
  13. 675callsCodeunit 7200 CDS Integration Mgt. InsertOptionSetMetadataWithOptionValue
  14. 678callsCodeunit 7200 CDS Integration Mgt. UpdateOptionSetMetadata
  15. 683callsCodeunit 7200 CDS Integration Mgt. InsertOptionSetMetadataWithOptionValue
  16. 686callsCodeunit 7200 CDS Integration Mgt. UpdateOptionSetMetadata
  17. 689callsCodeunit 7200 CDS Integration Mgt. InsertOptionSetMetadataWithOptionValue
  18. 692callsCodeunit 7200 CDS Integration Mgt. UpdateOptionSetMetadata
  19. 697callsCodeunit 7200 CDS Integration Mgt. InsertOptionSetMetadataWithOptionValue
  20. 700callsCodeunit 7200 CDS Integration Mgt. UpdateOptionSetMetadata
  21. 703callsCodeunit 7200 CDS Integration Mgt. InsertOptionSetMetadataWithOptionValue
  22. 706callsCodeunit 7200 CDS Integration Mgt. UpdateOptionSetMetadata
  23. 709callsCodeunit 7200 CDS Integration Mgt. InsertOptionSetMetadataWithOptionValue
  24. 712callsCodeunit 7200 CDS Integration Mgt. UpdateOptionSetMetadata

HandleOnBeforeUncoupleRecord line 736, local

  1. 740callsCodeunit 7200 CDS Integration Mgt. OnHasCompanyIdField
  2. 747callsCodeunit 7200 CDS Integration Mgt. ResetCompanyId

HandleOnAfterUncoupleRecord line 751, local

  1. 753callsRemoveChildCouplings

RemoveChildCouplings line 756, local

  1. 761callsGetCoupledChildContacts
  2. 762callsCodeunit 5330 CRM Integration Management RemoveCoupling

GetCoupledChildContacts line 765, local

  1. 814callsTable 5331 CRM Integration Record FindIDFromRecordID

HandleOnIsCDSIntegrationEnabled line 825, local

  1. 830callsCodeunit 7200 CDS Integration Mgt. IsIntegrationEnabled

HandleOnGetVendorSyncEnabled line 925, local

  1. 930callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled

HandleOnAfterCreatedNewCompanyByCopyCompany line 937, local

  1. 944writesTable 7200 CDS Connection Setup DeleteAll
  2. 946writesTable 5330 CRM Connection Setup DeleteAll
  3. 948writesTable 5331 CRM Integration Record DeleteAll

DeleteCouplingOnBeforeDeleteCompany line 952, local

  1. 969callsCodeunit 2300 Tenant License State GetLicenseState

OnAfterUnchangedRecordHandled line 982, local

  1. 994callsGetSourceDestCode
  2. 999callsUpdateCRMContactParentCustomerId

OnQueryPostFilterIgnoreRecord line 1007

  1. 1013callsHandleContactQueryPostFilterIgnoreRecord

HandleContactQueryPostFilterIgnoreRecord line 1016, local

  1. 1023callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 1026callsCodeunit 5342 CRM Synch. Helper IsContactBusinessRelationOptional
  3. 1029callsCodeunit 5342 CRM Synch. Helper FindContactRelatedCustomer
  4. 1032callsCodeunit 5342 CRM Synch. Helper FindContactRelatedVendor

UpdateCRMContactParentCustomerId line 1038, local

  1. 1045callsCodeunit 7201 CDS Integration Impl. IsIntegrationEnabled
  2. 1048callsCodeunit 5342 CRM Synch. Helper IsContactBusinessRelationOptional
  3. 1049callsFindParentCRMAccountForContact

FindParentCRMAccountForContact line 1056, local

  1. 1066raisesOnBeforeFindParentCRMAccountForContactIsHandled
  2. 1070callsCodeunit 5342 CRM Synch. Helper FindContactRelatedCustomer
  3. 1072callsTable 5331 CRM Integration Record FindIDFromRecordID
  4. 1080callsCodeunit 5342 CRM Synch. Helper FindContactRelatedVendor
  5. 1082callsTable 5331 CRM Integration Record FindIDFromRecordID

FixPrimaryContactNo line 1095, local

  1. 1117callsFindCustomerByAccountId
  2. 1119callsTable 5335 Integration Table Mapping FindMapping
  3. 1120callsTable 5335 Integration Table Mapping IsFieldMappingEnabled
  4. 1122callsCodeunit 5345 Integration Rec. Synch. Invoke WasModifiedAfterLastSynch
  5. 1126writesTable 18 Customer Modify
  6. 1131writesTable 5331 CRM Integration Record Modify
  7. 1137callsFindVendorByAccountId
  8. 1139callsTable 5335 Integration Table Mapping FindMapping
  9. 1140callsTable 5335 Integration Table Mapping IsFieldMappingEnabled
  10. 1142callsCodeunit 5345 Integration Rec. Synch. Invoke WasModifiedAfterLastSynch
  11. 1146writesTable 23 Vendor Modify
  12. 1151writesTable 5331 CRM Integration Record Modify
  13. 1158raisesOnAfterFixPrimaryContactNo

UpdateChildContactsParentCompany line 1161, local

  1. 1175callsTable 5335 Integration Table Mapping FindMapping
  2. 1178callsTable 5335 Integration Table Mapping FindMapping
  3. 1191callsCodeunit 7201 CDS Integration Impl. TryGetCompanyId
  4. 1200callsTable 5331 CRM Integration Record FindByCRMID
  5. 1204callsFixPrimaryContactNo
  6. 1205callsUpdateContactParentCompany

UpdateContactParentCompany line 1212, local

  1. 1222callsTable 5335 Integration Table Mapping FindMapping
  2. 1230callsCodeunit 5345 Integration Rec. Synch. Invoke WasModifiedAfterLastSynch
  3. 1233callsCodeunit 5342 CRM Synch. Helper SetContactParentCompany
  4. 1250writesTable 5331 CRM Integration Record Modify

FindNewValueForCoupledRecordPK line 1257, local

  1. 1265raisesOnBeforeFindNewValueForCoupledRecordPKIsHandled
  2. 1269callsCodeunit 5342 CRM Synch. Helper FindNewValueForSpecialMapping
  3. 1277callsCodeunit 5342 CRM Synch. Helper FindRecordIDByPK
  4. 1278callsTable 5331 CRM Integration Record FindIDFromRecordID
  5. 1280callsCodeunit 5342 CRM Synch. Helper IsClearValueOnFailedSync
  6. 1293callsTable 5331 CRM Integration Record FindRecordIDFromID
  7. 1294callsCodeunit 5342 CRM Synch. Helper FindPKByRecordID
  8. 1296callsCodeunit 5342 CRM Synch. Helper IsClearValueOnFailedSync

FixPrimaryContactIdInCDS line 1306, local

  1. 1334callsTable 5335 Integration Table Mapping FindMapping
  2. 1337callsTable 5335 Integration Table Mapping FindMapping
  3. 1345callsCodeunit 5345 Integration Rec. Synch. Invoke WasModifiedAfterLastSynch
  4. 1347writesTable 5341 CRM Account Modify
  5. 1352writesTable 5331 CRM Integration Record Modify

FindCustomerByAccountId line 1358, local

  1. 1363callsTable 5331 CRM Integration Record FindRecordIDFromID

FindVendorByAccountId line 1369, local

  1. 1374callsTable 5331 CRM Integration Record FindRecordIDFromID

UpdateSalesPersOnBeforeInsertRecord line 1390, local

  1. 1398callsCodeunit 5330 CRM Integration Management IsCDSIntegrationEnabled
  2. 1398callsCodeunit 5330 CRM Integration Management IsCRMIntegrationEnabled
  3. 1402raisesOnBeforeSetSalespersonPurchaserCodeIsHandled

LogTelemetryOnAfterInitSynchJob line 1424, local

  1. 1434callsCodeunit 8703 Feature Telemetry LogUptake
  2. 1435callsCodeunit 8703 Feature Telemetry LogUsage
  3. 1441callsCodeunit 8703 Feature Telemetry LogUptake
  4. 1442callsCodeunit 8703 Feature Telemetry LogUsage
  5. 1448callsCodeunit 8703 Feature Telemetry LogUptake
  6. 1449callsCodeunit 8703 Feature Telemetry LogUsage
  7. 1455callsTryCalculateTableName
  8. 1464callsCodeunit 8703 Feature Telemetry LogUsage
  9. 1465callsCodeunit 8703 Feature Telemetry LogUsage
  10. 1466callsCodeunit 8703 Feature Telemetry LogUptake
  11. 1469callsMinCustomTableId
  12. 1471callsCodeunit 8703 Feature Telemetry LogUsage

SetCompanyId line 1488

  1. 1490callsCodeunit 7201 CDS Integration Impl. CheckCompanyIdNoTelemetry
  2. 1493callsCodeunit 7200 CDS Integration Mgt. SetCompanyId

SetOwnerId line 1497

  1. 1505callsCodeunit 7200 CDS Integration Mgt. SetOwningTeam
  2. 1508callsCodeunit 5342 CRM Synch. Helper GetCoupledCDSUserId
  3. 1510callsCodeunit 7200 CDS Integration Mgt. SetOwningUser
  4. 1512callsCodeunit 7200 CDS Integration Mgt. SetOwningTeam

GetCoupledSalespersonPurchaserCode line 1517, local

  1. 1545callsTable 5331 CRM Integration Record FindByCRMID

ShowError line 1561, local

  1. 1566callsCodeunit 150 System Initialization IsInProgress
  2. 1569callsTable 1518 My Notifications InsertDefault
  3. 1569callsGetCDSNotificationId