When setting up subscriptions to create PSA resources via the REST API, you can map the Static key to any field that requires a constant value. This enables you to automatically enter additional information for each resource, saving time on data entry.
You can use a data transformation table (DTT) in ERP to specify the target value you want to enter for a particular mapping from the Static key.
To do this:
See "Data Transformation Tables" and "Creating a Data Transformation Table" in the ERP Help for more information.
On the relevant PSA Resource API subscription, do the following:
If required, you can map the Static key to more than one field as long as you link each mapping to a unique DTT.
The following table displays some examples of how you can use the Static key to enter constant values.
Aim |
Key |
Source Value 1 |
Target Field
|
Target Value |
---|---|---|---|---|
Create all API resource records using a particular record type on Contact object (Resource). | Static | TRUE | Record Type ID |
Resource |
Include a static description for all API resource records. | Static | TRUE | Contact Description | Created via PSA API |
Include a static account name on all API resource records. | Static | TRUE | Account Name | Merlin Technologies |