on 2022 Jan 06 4:12 AM
Hello,
Below are two item custom fields:
1) ExtendedAmount : This is a standard item custom field.
2) Margin: This item custom field was created for business purposes.
The value of the ExtendedAmount item custom field must be changed to match the value of the Margin item custom field. To get this capability, I have created a custom quote calculation script, but it did not work. Below you will find the script code.
Item.ExtendedAmount.Value = float(Item.Margin.Value)
It is working with other standard fields. Below you will find the script code.
Item.ListPrice = float(Item.Margin.Value)
Please help me with this issue.
Request clarification before answering.
Hi vrjadhav
It should be
Item.ExtendedAmount = float(Item.ListPrice)
Just remove (.Value)
Once it works, please accept and close this question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello yoganandamuthaiah ,
I tried refreshing the quote page twice to check if the adjustments had been made, but no luck.. We need to achieve this behavior from a custom calculation script. I am not sure why it works for other item custom fields but not with ExtendedAmount. Could you please help me in this case ?
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
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.