on 2023 Feb 20 10:21 AM
Request clarification before answering.
Hi Alex,
Can you please try with similar to:
for item in context.AffectedItems:
item.Discount = 10
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luka, thank you very much for your help!
It guided me to the right track. With a small adjustment of your code it works:
for item in context.AffectedItems:
item.DiscountAmount = 10
User | Count |
---|---|
9 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.