Skip to main content
Click the Mapping button to set up the mapping between SuperOffice entity fields and the corresponding ERP actor fields. x The list of Company fields comes from the connector’s GetAvailableActorFields method.
The connector will not be asked to store information about the field configuration done in SuperOffice. It will however be required to supply a list of fields, and to recognize its own field keys when actors are requested or received for retrieval and saving.

Sequence diagram

The diagram details the process of retrieving available actor types, available fields for a given actor type, and then configuring each ERP field. 05 The GetSupportedActorTypes method was called when the connection is saved. The list of supported actor types determines which tabs show up in the field configuration dialog. The types must be a subset of a predefined list of types (customer/supplier, person, project), meaning the connector can’t define its own actor types. For each supported actor type, SuperOffice will call GetSupportedActorTypeFields and GetSearchableFields.

Supported actor type fields

Example call:
The returned FieldMetadataInfo objects could look something like this:
The configuration describes the ERP fields. SuperOffice will attempt to do automatically map fields based on the FieldKey. ERP fields can be typed as text, integers, checkboxes, numbers, and so on. The admin client will restrict the SuperOffice fields that can be mapped to the ERP field based on these types, so if you have a checkbox field, you can’t have bi-directional sync to a text field, since the information would be lost in one direction.

Searchable fields

Some of the ERP fields may be searchable - these are specified here. This lets SuperOffice know that it can use these fields in the Advanced Search dialog.
With the same input as above, the items could look like this: [0] = "NAME", [1] = "NUMBER1", [2] = "SUPPLIERLIMIT" This tells SuperOffice that field searches can be done on NAME, NUMBER1, and SUPPLIERLIMIT fields in the ERP system. This will happen through the SearchActorsAdvanced method.