Required sql query or tables sales order approval rules under Manage Order Approval Rules task.
We required SQL query or back end tables where the information of Order management workflow Approval rules stored.
Task name: Manage Order Approval Rules.
For example Rule name: Sales Order Total over 100000
Condition: If order total amount > 100000 or Primary is equal to Yes and Customer = ABC Application Software
Then do Order Approval by Order Manager.
Attached document with screenshot for clear information.
We need the SQL query or Database tables where the above information stored like Rule name, condition and action.