Default fields for ContactAddress using Global code ID
Use this information to enable the mapping of AccountAddress fields to ContactAddress fields.
JSON Identifier:
CLM@SetMappedValuesFromParentList
| Section | Parameter | Description | Possible values |
|---|---|---|---|
| ParentEntityTable | Name | This parameter defines the parent table where the data originates. | CLM table Account |
| ChildTable | This parameter is the sub-table under the parent that contains the data. | CLM table AccountAddress | |
| ChildEntityTable | Name | This parameter is the sub-table under the child receiving the data. | CLM table Contact |
| ChildTable | This is the sub-table that receives the data. | CLM table ContactAddress | |
| SupportedTypes | This parameter contains the logic for when and how the mapping must occur based on ParentGlobalCodeID and ChildGlobalCodeID |
||
| ParentGlobalCodeID | This parameter is the code selected from the parent entity to start the mapping.
These global code IDs are available in M3 Mobility Core Toolbox through and then specify the Code group, select Global Code ID from the Code field. |
GlobalCodeID from a code group. |
|
| ChildGlobalCodeID | This parameter is the code bu the child entity to start the mapping.
These global code IDs are available in M3 Mobility Core Toolbox through and then specify the Code group, select Global Code ID from the Code field. |
GlobalCodeID from a code group |
|
| Fields | These are the fields in the Child table that are mapped.
To access these field names in M3 Mobility Core Toolbox, select . |
A column from the table defined in Main and a column from the table defined in Child |
|
| Mobile Only | InternalFilterID | Optionally, these parameters are used in mobile apps to filter which data gets copied. You can define this in ParentEntityTable and ChildEntityTable.
These internal filter IDs are available in M3 Mobility Core Toolbox through . And then select a filter and then Filter group. |
FilterGroupID of a filter |
This user defined mapping sets ContactAddress.Name to be the same as AccountAddress.Name if the selected Code in the AccountAddress.AddressTypeCODE is 8 = Default address and the selected Code in ContactAddress.AddressTypeCODE is also 8 = Default address.
CLM@SetMappedValuesFromParentList=
{
"ParentEntityTable":
{
"Name": "Account",
"ChildTable": "AccountAddress"
},
"ChildEntityTable":
{
"Name": "Contact",
"ChildTable": "ContactAddress"
},
"SupportedTypes":
[
{
"ParentGlobalCodeID": "8",
"ChildGlobalCodeID": "8",
"Fields":
{
"Name": "Name",
}
}
]
}