Table of Contents
How do I insert the totalprice for a quote line item?
To insert the TotalPrice for a quote line item via the API (given only a unit price and the quantity), calculate this field as the unit price multiplied by the quantity. This field is read-only if the quote line item has a revenue schedule.
Why is the quote line item read-only?
This field is read-only if the quote line item has a revenue schedule. If it doesn’t have a revenue schedule or only has a quantity schedule, this field can be updated. You need to sign in to do that. Need an account?
How do I insert the totalprice field via the API?
To insert the TotalPrice for a quote line item via the API (given only a unit price and the quantity), calculate this field as the unit price multiplied by the quantity. This field is read-only if the quote line item has a revenue schedule. If it doesn’t have a revenue schedule or only has a quantity schedule, this field can be updated.
What information should I include in the quote line item?
Be sure to include the ID, PricebookEntryID, Product2ID, Quantity, TotalPrice, and UnitPrice fields, in addition to any other fields that you need to populate for the Quote Line Item. Note: We recommend that you save a copy of the original file to a safe location in order to retain a backup of the original QuoteLineItem details.