Synchronisations
When you want to set up an integration to an external system there are a few views available to synchronize your data.
Masterdata
Almost all configurations that can be done in master data can also be synced automatically. The following views and methods were provided to support this:
- Multiget view All ... For Sync that provides you a plain text overview of all records
- Create view Create ... which can be used to create a new record
- Update view Update ... By Name or Update ... By ERP ID which can be used to update a record (only available when the records consists of more than one field)
- Delete method Delete ... By Name which can be used to delete a record
These views work on name-basis and not with the default integer unique key. Therefore masterdata that consist only of one field will not have the Update view available.
Cases
Cases can also be synced but have a slightly different set up.
A few new fields are available:
- ERP ID
- Link
- Link Display
ERP ID is used to form a unique relation with the external system and will also work as the unique key in the synchronisation views.
Link and Link Display are available to form a link to the external system.
The Link field will hold the URL.
The Link Display will hold the display value of the url that is shown throughout the portal. When left empty the Link field will be shown.
All these synchronisation need to be set up using the specific case type objects "CMS - Case - {Portal Type} {Case Type Abbreviation}" .
The following views and methods were provided to support the synchronization:
- Multiget view All Cases For Sync that provides you a plain text overview of all records
- Create / Update view Ensure Case By ERP ID which can be used to create or update a new record
Relations to masterdata will also be provided in text form in the multiget view instead of the key field. Make sure your external view only returns values that exist in the system, otherwise these values will be left blank.