Agreement Quantity Calculation / Criteria - Toll Revenue
This page contains the JSON of the function-set applicable on the amount calculation of the Toll Clause.
Note
The Parameter: Value B contains the factor which is applied on the Toll Entry Lines to calculate the Toll Revenue on an Order. In the example is this a 20% surcharge. On Line 2.000 the Service Group as set on the TMS-Service for Toll must be entered.
{
"FunctionSet": {
"TableNo": 11172787,
"DataType": "12799",
"Entries": [
{
"EntryNo": "10000",
"CodeunitID": "11172846",
"FunctionCode": "MULTIPLY",
"Parameters": [
{
"ParameterName": "VALUE A",
"ResultFunctionSetID": {
"FunctionSet": {
"TableNo": 11172787,
"DataType": "12799",
"Entries": [
{
"EntryNo": "20000",
"CodeunitID": "71539826",
"FunctionCode": "TOLL",
"Parameters": [
{
"ParameterName": "SERVICE GROUP",
"Value": "TOLL"
}
]
}
]
}
}
},
{
"ParameterName": "VALUE B",
"Value": "1.2"
}
]
}
]
}
}