This article explains how the further steps required to enable approval for the RM order type.
The first step is to create the necessary new automation steps on the Automation Steps (SM205000) form for the Sales Orders (SO301000) form.
To do this, on the Automation Steps form, with Sales Orders (Company > Distribution > Sales Orders > Work Area > Enter) selected in the Screen box, perform the following instructions.
To create the automation steps
-
For the RM Pending Approval step (entered in the Step ID box), do the following to specify the needed settings, and save your changes before proceeding to the next automation step:
-
On the Conditions tab, for each condition shown below, click Add Row on the table toolbar, and specify the corresponding settings in the row.
Field name Condition Value Status Equals Pending Approval Hold Equals False Approved Equals False Behavior Equals RMA Order -
On the Actions tab, for each action shown below, click Add Row on the table toolbar, and specify the corresponding settings in the row. Then perform the following steps:
Active Action name Is default Menu text Selected Action Cleared Approve Selected Action Cleared Reject Selected Hold Selected
-
-
-
- Click the row with the Approve action, and on the table toolbar, click Fill with Values. In the Fill with Values dialog box, which opens, select the following values (Value column): for the Approved field name, selected; and for the Status field name, Open. Click Close.
- Click the row with the Reject action, and on the table toolbar, click Fill with Values. In the Fill with Values dialog box, select the following values (Value column): for the Rejected field name, selected; and for the Status field name, Rejected. Click Close.
- Click the row with Hold in the Action Name column, and on the table toolbar, click Fill with Values. In the Fill with Values dialog box, select the following values (Value column): for the Hold field name, selected; and for the Status field name, On Hold. Click Close.
-
- For the RM Rejected step, do the following to specify the needed settings, and save your changes before proceeding to the next automation step:
-
On the Conditions tab, for each condition shown below, click Add Row on the table toolbar, and specify the corresponding settings in the row.
Field name Condition Value Status Equals Rejected Behavior Equals RMA Order -
On the Actions tab, click Add Row on the table toolbar, and specify the settings shown below in the row. Then perform the following steps:
Active Action name Is default Menu text Selected Hold Selected - Click the row with Hold in the Action Name column, and on the table toolbar, click Fill with Values.
-
In the Fill with Values dialog box, select the following values (Value column): for the Hold field name, selected; and for the Status field name, On Hold.
-
Click Close.
-
-
For the RM Hold-Pending Approval step, do the following to specify the needed settings, and save your changes before proceeding to the next automation step:
-
On the Conditions tab, for each condition shown below, click Add Row on the table toolbar, and specify the corresponding settings in the row.
Brackets Field name Condition Value Brackets Operator ( Status Equals On Hold – Or – Status Equals Open ) And – Hold Equals Cleared – And – Approved Equals Cleared – And – Behavior Equals RMAOrder – And - Only action: * (FILL WITH VALUES: Status = Pending Approval)
-
-
For the RM Hold-Open step, do the following to specify the needed settings, and save your changes:
-
On the Conditions tab, for each condition shown below, click Add Row on the table toolbar, and specify the corresponding settings in the row.
Field name Condition Value Operator Status Equals On Hold And Hold Equals Cleared And Approved Equals Selected And Behaviour Equals RMA Order And - Only action: * (FILL WITH VALUES: Status = Open)
These steps are similar to the steps for the SO behavior: SO Pending Approval, SO Rejected, and SO Hold-Pending Approval. You can view the SO steps for reference when setting up these automation steps.
-
Modifying the existing automation steps
You also need to modify the existing RM Open automation step on the Automation Steps (SM205000) form for the Sales Orders (SO301000) form. To do this, perform the following steps:
- On the Automation Steps form, in the Screen box, select Sales Orders (Company > Distribution > Sales Orders > Work Area >Enter).
- In the Step ID box, select RM Open.
-
On the Conditions tab, click Add Row on the table toolbar, and specify the following settings in the row, as shown below.
Field name Condition Value Approved Equals Selected - Save your changes.