on 2022 Oct 05 7:22 PM
Dear SAP Community experts,
I have another interesting riddle. I tried to realize this documentation. I have added a custom item field to the product items table of my quote (Quote Item Status):
Now I want to add a custom calculation to this custom item field to change the value in it with Python Script:
Unfortunately even the simplest code doesn't have even any impact:
Why is this not working? Is there something wrong with the code or did I missed something for the configuration?
In the first place I just want to set the custom item field "QuoteItemStatus" to "1" just to check if I can manipulate this field with custom calculation.
On top on this I want to manipulate the custom item field "QuoteItemStatus" with an if function:
e.g.:
If the Discount of the Item is greater than [Value from a custom Table]:<br> Set the "QuoteItemStatus" = "To be checked"<br>else:<br> Set the "QuoteItemStatus" = "All fine!"
I just would like to know why the "Quote Item Status" doesn't change even when I just set it to 1.
This would already help me.
Look forward to your ideas! 🙂
Kind regards
Alexander
alexander-maerz
you should calculate through this way..
item["QuoteItemStatus"] = 100
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
2 | |
2 | |
1 | |
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.