GOGETMUSCLE Community custom calculation formula for line items

custom calculation formula for line items

Thanks to the new update, I created a custom calculation property for line items to calculate the unit price after applying a percentage discount.

The formula used is:
(unit price – (unit price * (unit discount / 100)))

When testing the property, the calculation works correctly. However, when I add this property in the line item section during quote creation, the calculation does not work as expected: it only works if the discount is entered as an absolute number rather than a percentage.

This behavior seems inconsistent, since the property test returns the correct result.

Leave a Reply

Your email address will not be published.

Related Post