Hi,
We have a policy in our company that if the total invoices of the customer reached more than 30000 they will get a discount of 15% on all products, for that purpose i have created a pricelist for Black-level customers with their rules.
Now I want to make an automated action saying if the total invoice amount of the customer reaches 30000, the pricelist would change automatically from Public pricelist to Black Customers
Please give me suggestions on how to do the same, I have tried to execute a python code and written some expression but they are not working