Cue TMS Orders Check
General
This cue shows the number of new orders received automatically and the order needs attention because it cannot be processed automatically.
Functionality
When clicking on this cue the page: order list will be opened. Only orders which cannot be processed automatically will be presented.
Settings
The cue: TMS Order Check will be installed automatically when activating the 3PL Market Place App: TMS Basic Setup.
The Cue can also be added manualy by executing the following steps:
1. Create Cue
- Go to page: Role Centre Cue List
- Click on the action: New
2. Fill in Code and Description
- Click in the field: Code and enter the value: TMS ORDERS CHECK
- Click in the field: Description and enter the vaLue: Orders Check
3. Create Value Function Set
- Click on the action: Count Assistant
- Channge the table no to the value: 11172786
- Apply as Field 1: 1 and Filter: 2
- Apply as Field 2: 81 and Filter: 06-CHECKMANUALLY
4. Add DrillDown Function Set
- Click on the assist-button in the field: DrillDown Function Set to open the edit Function Set Entries
- Click on the Action: Edit Json
- Paste the following Json in the editor.
JSON code snippet : SHOW LOOKUP
{
"FunctionSet": {
"TableNo": 11191134,
"Entries": [
{
"EntryNo": "10000",
"CodeunitID": "11172846",
"FunctionCode": "RUN PAGE",
"Parameters": [
{
"ParameterName": "PAGE ID",
"Value": "11172860"
},
{
"ParameterName": "TABLENO",
"Value": "11172786"
},
{
"ParameterName": "FIELD 1",
"Value": "1"
},
{
"ParameterName": "FILTER 1",
"Value": "2"
},
{
"ParameterName": "FIELD 2",
"Value": "81"
},
{
"ParameterName": "FILTER 2",
"Value": "06-CHECKMANUALLY"
}
]
}
]
}
}
### 5. Add Style Function Set
- Click on the assist-button in the field: Stylle Function Set to open the edit Function Set Entries
- Click on the Action: Edit Json
- Paste the following Json in the editor.
#### JSON code snippet : IF with single value and multiple results
```JSON Function IF with single value and multiple results
{
"FunctionSet": {
"TableNo": 11191134,
"DataType": "31488",
"Entries": [
{
"EntryNo": "10000",
"CodeunitID": "11172846",
"FunctionCode": "CASE",
"Parameters": [
{
"ParameterName": "VALUE",
"ResultFunctionSetID": {
"FunctionSet": {
"TableNo": 11191134,
"DataType": "31488",
"Entries": [
{
"EntryNo": "10000",
"CodeunitID": "11172846",
"FunctionCode": "VAR",
"Parameters": [
{
"ParameterName": "VARIABLE"
}
]
}
]
}
}
},
{
"ParameterName": "FILTER 1",
"Value": "..10"
},
{
"ParameterName": "RESULT 1",
"Value": "Favorable"
},
{
"ParameterName": "FILTER 2",
"Value": "11..19"
},
{
"ParameterName": "RESULT 2",
"Value": "Ambiguous"
},
{
"ParameterName": "FILTER 3",
"Value": "20.."
},
{
"ParameterName": "RESULT 3",
"Value": "Unfavorable"
}
]
}
]
}
}
### 6. Add Cue to Role Centre
For more information on creating Cues and Cues Layout see: [Cue Setup V2](../appBase/CueSetupV2.md) and [Role Centre Layout](../appBase/RoleCenterLayout.md).