You need to sign in to do that
Don't have an account?
gyip31
Cost Per Field Formula - Quote Line Item Custom Fields
Hi,
I would like a Quote Line Item Custom Field formula that will give me the cost per item after discount (Total Price / Quantity)
For some reason i cant get the a formula to work.
Thanks,
gary
Hi,
Where are you storing this 'Total Price' field and 'Quantity' fields.
Regards,
Sridhar Bonagiri
Hi,
Can you let me know the formula that you have created?
Regards,
Sridhar Bonagiri
I am having the same exact issue. When trying to create a currency custom field and apply a formula to calculate Total Price / Quanity, it doesn't work. It gives an error "Error: Field TotalPrice may not be used in this type of formula". Please help. Even a workaround would be OK.
Total Price does not appear to be a field that can be inserted into formulas, but you can create a Custom Field within the Quote Line Items object that calculates Total Price as follows:
( ( Quantity * PricebookEntry.UnitPrice * (1 - Discount ) )
For example, I wanted to calculate margin AFTER discounts were applied, so I created the following formula Custom Field within the Quote Line Items object:
( ( Quantity * PricebookEntry.UnitPrice * (1 - Discount ) ) - CUSTOM_COST_FIELD ) / ( PricebookEntry.UnitPrice * Quantity ) .
I created the CUSTOM_COST_FIELD by creating a Custom Field that multiplies UnitPrice * (1 - Margin).