Agreement Quantity Calculation / Criteria - KM TRIP
This page contains the JSON of the function-set applicable on the Agreement Quantity Calculation / Criteria - KM TRIP
Note
Change the parameter TYPE to the required value. The function returns the kilometers of the trip as follows:
| Value | Kilometers |
|---|---|
| 0 | Kilometers (KM) |
| 1 | Agreed kilometers |
| 2 | Planned kilometers (default in the example) |
| 3 | Actual kilometers |
{
"FunctionSet": {
"DataType": "12799",
"Entries": [
{
"CodeunitID": "11172847",
"EntryNo": "10000",
"FunctionCode": "KILOMETER",
"Parameters": [
{
"ParameterName": "TYPE",
"Value": "2"
}
]
}
],
"TableNo": 11172787
}
}