Create new Sync Job Queue entry for the new table mapping record.

I am integrating BC and Sales CRM. Currently, I have created a custom table mapping and field mappings to the custom table in CRM. The manual sync works fine. All data can be synced as expected.

Now I want to automate this process. I want to create a custom Job Queue entry to the scheduled sync through AL extension.

Can you please guide me how to do this?

Parents
  • There is a standard function on the "CRM Setup Defaults" table named "CreateJobQueueEntry".  You only need to call this with your Integration Table Mapping record and it will create it for you.  This should be set when you create the record via the events for the default setup.

    For example:

    CRMSetupDefaults.CreateJobQueueEntry(IntegrationTableMapping);
Reply Children
No Data
Related
Recommended