My very basic method used on mine for new orders after entity selected would be
Order Added Rule
Update order action (update price tag)
Price tag field of VIP{ENTITY DATA:VIP Level}
Adding the order triggers it to check the entity data for VIP level…
I only have single alternate price list so for yours would need more complex constraint.
You issue to me looks like you only triggering the price update on portion changed first of all - I would do order added (but dont fully know your setup)
Then the constraint is looking for {ORDER STATE:DiscountType} = VIP
HOWEVER
Order discount state is not being set untill that action is triggered so the siscount state never gets set because the constraint on the trigger is looking for a value the rule it fires is setting…
So if simplifying?
You have customer entities with a VIP level which you want to be used to set a specific price list?
What about all the states? Are they needed for your system?
Pauls setup is very complex and doubt you need half that stuff for yours…
(Sorry Q - saw VIP Level and guessed it was your tutorial although guessing paul has based it from that one)
Bottom line Matt what do you need?
Price list based on entity?
Basically I need the VIP tutorial to work with Portions.
Steve who I do the tills for has decided he wants 30p off the large and 20p off the small portions (example) but with the VIP tutorial that isn’t poss as it only allows 1 discount.
From what you have said I think you are over complicating it.
My regular system is pretty simple (or at least the part relevant to this- do have a script in part of it to prevent staff using their own REG fobs to give discount to others along with some other gumpf) but just basing price list on entity is pretty simple.
If its just on sizes with same names you could maybe look at a ‘bellow the line’ discount route calculated using report expressions but price list probably simpler.