codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 5334 "CRM Setup Defaults"

Base Application · Microsoft.Integration.D365Sales

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC253 procedures changed, 1 events changed
  4. BC261 procedures added
  5. BC271 events changed
  6. BC282 procedures changed, 2 events changed
  7. BC29-30unchanged

Neighbourhood 21 connected objects and pages

Codeunit 6277 "Sust. Setup Defaults" (event subscribers, 3 links)Sust. Setup DefaultsCodeunit 6611 "FS Setup Defaults" (event subscribers, 3 links)FS Setup DefaultsCodeunit 7204 "CDS Setup Defaults" (event subscribers, 2 links)CDS Setup DefaultsCodeunit 6610 "FS Int. Table Subscriber" (event subscribers)FS Int. Table SubscriberCodeunit 5330 "CRM Integration Management" (calls, 31 links)CRM Integration ManagementCodeunit 7200 "CDS Integration Mgt." (calls, 10 links)CDS Integration Mgt.Codeunit 5344 "CRM Product Name" (calls, 9 links)CRM Product NameCodeunit 7204 "CDS Setup Defaults" (calls, 4 links)CDS Setup DefaultsTable 5332 "Coupling Record Buffer" (calls, 4 links)Coupling Record BufferCodeunit 6611 "FS Setup Defaults" (calls, 3 links)FS Setup DefaultsTable 5330 "CRM Connection Setup" (calls, 3 links)CRM Connection SetupTable 5335 "Integration Table Mapping" (calls, 3 links)Integration Table MappingCodeunit 5353 "CRM Enable Posts" (calls, 2 links)CRM Enable PostsCodeunit 7001 "Price Calculation Mgt." (calls, 2 links)Price Calculation Mgt.Codeunit 104000 "Upgrade - BaseApp" (calls)Codeunit 453 "Job Queue - Enqueue" (calls)Codeunit 5342 "CRM Synch. Helper" (calls)Codeunit 5346 "CRM Sales Document Posting Mgt" (calls)Codeunit 6277 "Sust. Setup Defaults" (calls)Codeunit 6610 "FS Int. Table Subscriber" (calls)Codeunit 7049 "Feature - Price Calculation" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Integration.D365Sales · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnAfterResetConfiguration(CRMConnectionSetup: Record "CRM Connection Setup") (integration)
  • OnGetCDSTableNo(BCTableNo: Integer; var CDSTableNo: Integer; var handled: Boolean) (integration)
  • OnAddEntityTableMapping(var TempNameValueBuffer: Record "Name/Value Buffer" temporary) (integration)
  • OnBeforeResetItemProductMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetResourceProductMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetSalesInvoiceHeaderInvoiceMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetSalesInvoiceLineInvoiceMapping(var IntegrationTableMappingName: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeResetSalesOrderMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetBidirectionalSalesOrderMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetBidirectionalSalesOrderLineMapping(var IntegrationTableMappingName: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeResetPriceListHeaderPricelevelMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetPriceListLineProductPricelevelMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetUnitOfMeasureUoMScheduleMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetUnitGroupUoMScheduleMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetItemUnitOfMeasureUoMMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetResourceUnitOfMeasureUoMMapping(var IntegrationTableMappingName: Code[20]; var EnqueueJobQueueEntry: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeResetOpportunityMapping(var IntegrationTableMappingName: Code[20]; var IsHandled: Boolean) (integration)
  • OnBeforeInsertIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping"; var MappingName: Code[20]; var TableNo: Integer; var IntegrationTableNo: Integer; var IntegrationTableUIDFieldNo: Integer; var IntegrationTableModifiedFieldNo: Integer; var TableConfigTemplateCode: Code[10]; var IntegrationTableConfigTemplateCode: Code[10]; var SynchOnlyCoupledRecords: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeInsertIntegrationFieldMapping(var IntegrationTableMappingName: Code[20]; var TableFieldNo: Integer; var IntegrationTableFieldNo: Integer; var SynchDirection: Option; var ConstValue: Text; var ValidateField: Boolean; var ValidateIntegrationTableField: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeGetDefaultDirection(NAVTableId: Integer; var DefaultDirection: Option; var IsHandled: Boolean) (integration)
  • OnBeforeGetNameFieldNo(TableId: Integer; var FieldNo: Integer) (integration)
  • OnBeforeAddEntityTableMapping(var CRMEntityTypeName: Text; var TableID: Integer; var TempNameValueBuffer: Record "Name/Value Buffer" temporary) (integration)
  • OnBeforeResetConfiguration(var CRMConnectionSetup: Record "CRM Connection Setup"; var IsHandled: Boolean) (integration)
  • OnResetCustomerPriceGroupPricelevelMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) Δ BC28 (integration)
  • OnResetItemProductMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) Δ BC25 (integration)
  • OnResetOpportunityMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) (integration)
  • OnResetPriceListHeaderPricelevelMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) (integration)
  • OnResetPriceListLineProductPricelevelMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) (integration)
  • OnResetResourceProductMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) (integration)
  • OnResetSalesInvoiceHeaderInvoiceMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) (integration)
  • OnResetSalesInvoiceLineInvoiceMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) (integration)
  • OnResetSalesOrderMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) (integration)
  • OnResetBidirectionalSalesOrderMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) (integration)
  • OnResetBidirectionalSalesOrderLineMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) (integration)
  • OnGetTableIDCRMEntityNameMappingOnAfterAddFSEntityTableMapping(var TempNameValueBuffer: Record "Name/Value Buffer" temporary) + BC25 Δ BC27 (integration, obsolete 27.0)
  • OnResetSalesPriceProductPricelevelMappingOnAfterInsertFieldsMapping(IntegrationTableMappingName: Code[20]) Δ BC28 (integration)

Procedures

  • ResetConfiguration(CRMConnectionSetup: Record "CRM Connection Setup")
  • ResetExtendedPriceListConfiguration()
  • ResetUnitGroupMappingConfiguration()
  • ResetItemProductMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueEntry: Boolean)
  • ResetResourceProductMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueEntry: Boolean)
  • ResetSalesInvoiceHeaderInvoiceMapping(IntegrationTableMappingName: Code[20]; IsTeamOwnershipModel: Boolean; EnqueueJobQueEntry: Boolean)
  • ResetSalesInvoiceLineInvoiceMapping(IntegrationTableMappingName: Code[20])
  • ResetSalesOrderMapping(IntegrationTableMappingName: Code[20]; IsTeamOwnershipModel: Boolean; EnqueueJobQueEntry: Boolean)
  • ResetBidirectionalSalesOrderMapping(IntegrationTableMappingName: Code[20]; IsTeamOwnershipModel: Boolean; EnqueueJobQueEntry: Boolean)
  • ResetBidirectionalSalesOrderLineMapping(IntegrationTableMappingName: Code[20])
  • ResetSalesOrderMappingConfiguration(CRMConnectionSetup: Record "CRM Connection Setup")
  • ResetCustomerPriceGroupPricelevelMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueEntry: Boolean) Δ BC28
  • ResetPriceListHeaderPricelevelMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueEntry: Boolean)
  • ResetUnitOfMeasureUoMScheduleMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueEntry: Boolean)
  • ResetUnitGroupUoMScheduleMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueueEntry: Boolean)
  • ResetItemUnitOfMeasureUoMMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueueEntry: Boolean)
  • ResetResourceUnitOfMeasureUoMMapping(IntegrationTableMappingName: Code[20]; EnqueueJobQueueEntry: Boolean)
  • ResetOpportunityMapping(IntegrationTableMappingName: Code[20]; IsTeamOwnershipModel: Boolean)
  • InsertIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping"; MappingName: Code[20]; TableNo: Integer; IntegrationTableNo: Integer; IntegrationTableUIDFieldNo: Integer; IntegrationTableModifiedFieldNo: Integer; TableConfigTemplateCode: Code[10]; IntegrationTableConfigTemplateCode: Code[10]; SynchOnlyCoupledRecords: Boolean) Δ BC25
  • InsertIntegrationFieldMapping(IntegrationTableMappingName: Code[20]; TableFieldNo: Integer; IntegrationTableFieldNo: Integer; SynchDirection: Option; ConstValue: Text; ValidateField: Boolean; ValidateIntegrationTableField: Boolean) Δ BC25
  • SetIntegrationFieldMappingClearValueOnFailedSync()
  • SetIntegrationFieldMappingNotNull()
  • CreateJobQueueEntry(IntegrationTableMapping: Record "Integration Table Mapping"): Boolean
  • RecreateItemAvailabilityJobQueueEntry(EnqueueJobQueEntry: Boolean)
  • DeleteItemAvailabilityJobQueueEntry()
  • RecreateSalesOrderStatusJobQueueEntry(EnqueueJobQueEntry: Boolean)
  • RecreateSalesOrderNotesJobQueueEntry(EnqueueJobQueEntry: Boolean)
  • RecreateArchivedSalesOrdersJobQueueEntry(EnqueueJobQueEntry: Boolean)
  • RecreateJobQueueEntryFromIntTableMapping(IntegrationTableMapping: Record "Integration Table Mapping"; IntervalInMinutes: Integer; ShouldRecreateJobQueueEntry: Boolean; InactivityTimeoutPeriod: Integer)
  • ResetCRMNAVConnectionData()
  • RecreateAutoCreateSalesOrdersJobQueueEntry(EnqueueJobQueEntry: Boolean)
  • RecreateAutoProcessSalesQuotesJobQueueEntry(EnqueueJobQueEntry: Boolean)
  • RecreateJobQueueEntry(EnqueueJobQueEntry: Boolean; CodeunitId: Integer; MinutesBetweenRun: Integer; EntryDescription: Text; StatusReady: Boolean) Δ BC25
  • DeleteAutoCreateSalesOrdersJobQueueEntry()
  • DeleteAutoProcessSalesQuotesJobQueueEntry()
  • GetAddPostedSalesDocumentToCRMAccountWallConfig(): Boolean
  • GetAllowNonSecureConnections(): Boolean
  • GetCRMTableNo(NAVTableID: Integer): Integer
  • GetDefaultDirection(NAVTableID: Integer): Integer
  • GetProductQuantityPrecision(): Integer
  • GetNameFieldNo(TableID: Integer): Integer
  • GetTableFilterFromView(TableID: Integer; Caption: Text; View: Text): Text
  • GetPrioritizedMappingList(var NameValueBuffer: Record "Name/Value Buffer")
  • GetTableIDCRMEntityNameMapping(var TempNameValueBuffer: Record "Name/Value Buffer" temporary)
  • AddEntityTableMapping(CRMEntityTypeName: Text; TableID: Integer; var TempNameValueBuffer: Record "Name/Value Buffer" temporary)
  • CreateInventoryQuantityFieldMapping()
  • SetCustomIntegrationsTableMappings(CRMConnectionSetup: Record "CRM Connection Setup")

Plus 11 local procedures.

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.

Called by

Deprecations

  • procedure OnGetTableIDCRMEntityNameMappingOnAfterAddFSEntityTableMapping: Pending 27.0 (#if not CLEAN27), “This event is never raised.”

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: "CRM Setup Defaults"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources