How to Edit Sales/Purchase Order Rules [Step-by-step guide]

Modified on Fri, 12 Sep at 4:20 PM

You can edit an Order Rule workflow to update its automatic actions whenever a Sales or Purchase Order matches specific conditions.


NOTE: These conditions vary depending on the Sales and Fulfillment Channel supported features. For more information, see the techOMS Sales Channels - Master List [Guides List] and techOMS Fulfillment Channels - Master List [Guides List].

If you need to create a new Order Rule or check the available conditions, see How to Create Sales/Purchase Order Rules [Step-by-step guide].

The screenshots provided in this article are for illustrative purposes only.

 

This article is divided into the following sections:

  1. Locating the Order Rule
    1. Account-Level
    2. Organization-Level
  2. Configuring the Order Rule
    1. Behavior
    2. Scope
    3. Steps
  3. Saving the Changes



I. LOCATING THE ORDER RULE



i. Account-Level


1. Select the desired account from the header switcher.


2. Click Order Rules from the left menu under the Sales or Purchases section, depending on the Order Rule type.

 

3. Press Edit for the desired Order Rule.

 


Go to the next section to change its configuration.

 

ii. Organization-Level

 

NOTEBefore proceeding:

 

1. Deselect any currently selected account.


2. Click Organizations from the left menu under the System Configuration section.


3. Press Edit for the desired organization.



4. Click the Sales Order Rules tab.


5. Press Edit for the desired Order Rule.



Go to the next section to change its configuration.



II. CONFIGURING THE ORDER RULE


 

WARNING: Changes to an Organization-Level rule affect all assigned accounts immediately. This can impact your entire organization if the rule is scoped globally. Proceed with caution.

 

i. Behavior


You can configure the Order Rule behavior by changing the following fields:



For Organization-Level rules, continue to the next section to set the Scope. For all other rules, you can skip to section iii. Steps.

 

ii. Scope


For Organization-Level rules, you must assign which Accounts the rule applies to:


1. Click the Accounts tab.


2. Press Add.



3. Choose which Accounts to assign:

  • To assign specific Accounts: Select them individually from the list.
  • To assign all the Organization's Accounts: Click Apply to All.

 

NOTE: Only Accounts with a Standard subscription are eligible, even if Apply to All is selected.

 

4. Press Save.



If you selected Accounts individually, you can unassign them by clicking Delete.



Continue in the next section for configuring the rule's steps.


iii. Steps


Each Order Rule workflow consists of steps that you need to add and configure to define its logic. Each step is either a condition or an action.


The following screenshots illustrate how to configure conditions for Account-level Order Rules. The steps for configuring Account-level actions and all Organization-level conditions and actions are the same.

 

NOTE: Before proceeding:
  • Refer to Rules Conditions and Actions Guide [Information], which provides a comprehensive overview of the available steps and their corresponding configurations for both Account- and Organization-Level Order Rules.
  • Make sure to have the Actions tab open.
     
     

For guidance on scheduling the behavior of Sales Order Rules using conditions, see: How to Schedule the Behavior of Sales Order Rules [Guide].

 

To configure steps:


1. Press Add and select the desired step.

 

NOTE: Only steps compatible with the rule's level are displayed.

 


2. Press Edit for the newly added step.



3. Configure the step as needed, then press Save.

 

WARNING: For Organization-Level rules, ensure you only select parameters available at the Organization scope. Using parameters marked as (account level only) will prevent the rule from executing correctly.

 

 

4. Repeat this process for as many steps as required.

 

WARNING: The conditions set in one step do not carry over to subsequent steps. If a step requires the same or a complementary condition as one previously set, it must be configured separately. 

For example, if you need to automatically approve orders under 500 USD, and set orders of 500 USD or more to "Draft" status, you would:

  a.  Set up a step with the condition of SalesOrder.Total < 500.
  b.  Set up a consequent step with an action to approve the order.
  c.  Set up another step with the condition of SalesOrder.Total >= 500.
  d.  Set up a consequent step with an action to set the order to "Draft" status.

Which will look like this:


 


III. SAVING THE CHANGES



Your steps will now be visible.


If needed, you can rearrange an action by dragging it in the timeline. Take into account that it will execute in the order you specify.



WARNING: Newly created Order Rules are disabled by default. If that's the case and you would like to enable it, ensure that the Enabled field in section II.i is checked. For more information, refer to: How to Enable/Disable a Sales/Purchase Order Rule [Step-by-step guide]


Press Save to apply the changes.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article