Sales Order Approval-Custom Attributes for IF condition
For Sales Order Approval rules, in the IF statement, I need custom attribute to be available. How can I add it?
Requirement: Sales Order Revision is submitted. It is to be routed for approval only if Quantity or Price of any Line on the SO is changed. If no change in these 2 attributes, SO should be auto approved.
For this, I need to build an attribute which has underlying code logic to check if any line on SO has Quantity or Price not equal to its previous active version. If condition is met, attribute returns value of Y else it returns N.