Related Values
Returning related values
In Unit4 ERPx, master files can have In Unit4 ERPx master file, Enterprise Documents can have related values attached to them, which can be requested by the corresponding Object API endpoints.
There are a few types of RelatedValues available. All of them look very similar, with some minor differences. They can be found under the property relatedValues.
Samples
...
"relatedValues": [
{
"dateFrom": "2025-10-17T14:06:46.496Z",
"dateTo": "2025-10-17T14:06:46.496Z",
"percentage": 0,
"relationGroup": "string",
"relationName": "string",
"unitValue": 0,
"attributeValue": {
"attributeId": "string",
"dimValue": "string"
},
"relatedValue": {
"attributeId": "string",
"dimValue": "string"
}
}
],
...
...
"relatedValues": [
{
"dateFrom": "2025-10-17T14:39:11.196Z",
"dateTo": "2025-10-17T14:39:11.196Z",
"percentage": 0,
"relationGroup": "string",
"relationName": "string",
"unitValue": 0,
"attributeValue": {
"attributeId": "string",
"dimValue": "string"
},
"relatedValue": {
"attributeId": "string",
"dimValue": "string"
}
}
],
...
...
"relatedValues": [
{
"dateFrom": "2025-10-17T14:48:10.754Z",
"dateTo": "2025-10-17T14:48:10.754Z",
"description": "string",
"relationGroup": "string",
"relationName": "string",
"status": "string",
"unitValue": 0,
"relatedValue": {
"attributeId": "string",
"dimValue": "string"
}
}
],
...
...
"relatedValues": [
{
"dateFrom": "2025-10-17T14:53:05.933Z",
"dateTo": "2025-10-17T14:53:05.933Z",
"percentage": 0,
"relationGroup": "string",
"relationName": "string",
"sequenceNumber": 0,
"unitValue": 0,
"relatedValue": {
"attributeId": "string",
"dimValue": "string"
}
}
]
...