Layer Filter - Filters unplanned section on loadmeters
General
This page contains the JSON of the function-set: Layer Filter. With this function-set filters can be created and applied in the Visual Planning - layers. The functionset will apply the filter <3 on the field: UOM2(Loadmeter) of the unplanned sections.
Json code snippet: Layer Filter
{
"FunctionSet": {
"TableNo": 11172786,
"DataType": "34047",
"Entries": [
{
"EntryNo": "10000",
"CodeunitID": "11172846",
"FunctionCode": "COMPARE",
"Description": "Compare values",
"Parameters": [
{
"ParameterName": "VALUE1",
"DataType": "0",
"ResultFunctionSetID": {
"FunctionSet": {
"TableNo": 11172786,
"DataType": "31488",
"Entries": [
{
"EntryNo": "10000",
"CodeunitID": "11172846",
"FunctionCode": "GET",
"Description": "Get Fieldvalue",
"Parameters": [
{
"ParameterName": "TABLENO",
"Value": "11172786"
},
{
"ParameterName": "FIELDNO",
"Value": "312"
},
{
"ParameterName": "FIELD 1",
"Value": "1"
},
{
"ParameterName": "FILTER 1",
"Value": "3"
},
{
"ParameterName": "FIELD 2",
"Value": "2"
},
{
"ParameterName": "FILTER 2",
"ResultFunctionSetID": {
"FunctionSet": {
"TableNo": 11172786,
"DataType": "31488",
"Entries": [
{
"EntryNo": "10000",
"CodeunitID": "11172846",
"FunctionCode": "FIELD",
"Description": "Get Fieldvalue",
"Parameters": [
{
"ParameterName": "FIELDNO",
"Value": "2"
}
]
}
]
}
}
},
{
"ParameterName": "FIELD 3",
"Value": "3"
},
{
"ParameterName": "FILTER 3",
"ResultFunctionSetID": {
"FunctionSet": {
"TableNo": 11172786,
"DataType": "31488",
"Entries": [
{
"EntryNo": "10000",
"CodeunitID": "11172846",
"FunctionCode": "FIELD",
"Description": "Get Fieldvalue",
"Parameters": [
{
"ParameterName": "FIELDNO",
"Value": "3"
}
]
}
]
}
}
},
{
"ParameterName": "FINDWHAT",
"Value": "1"
}
]
}
]
}
}
},
{
"ParameterName": "OPERATOR",
"Value": "<"
},
{
"ParameterName": "VALUE2",
"Value": "3"
}
]
}
]
}
}