Work Order Line Item Pricing Fields Can Be Updated Only Via the API
API , Service , User Interface , Spring 16
Last updated 2022-02-10 ·Reference W-2961399 ·Reported By 17 users
Summary
The Price Book Entry field on work order line items cannot be updated in the Salesforce user interface. Because the Price Book Entry determines the List Price, Subtotal, and Total Price values on a work order line item, these fields also remain blank. This in turn affects the Subtotal, Total Price, and Grand Total fields on the parent work order, which are calculated based on work order line item pricing field values.
Repro
1. Add the Price Book Entry field to the work order line item detail page layout.
2. Create a work order line item on a work order.
3. Try to edit the Price Book Entry field. It cannot be updated.
Workaround
To create a work order line item with a price book entry, you must create the work order line item via the API and manually populate the Price Book Entry, List Price, Subtotal, and Total Price fields on the record.
After you create the work order line item:
-Your updates will be visible when you view the record in the user interface values
-The line item pricing fields will be used to calculate the Total Price, Grand Total, and Subtotal fields on the related work order
To learn how to create records via the API, see these resources:
How to create a record using the SOAP API:
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_create.htm
How to create a record using the REST API:
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_sobject_basic_info.htm
Related KI:
To create a work order line item with a price book entry, you must create the work order line item via the API and manually populate the Price Book Entry, List Price, Subtotal, and Total Price fields on the record.
After you create the work order line item:
-Your updates will be visible when you view the record in the user interface values
-The line item pricing fields will be used to calculate the Total Price, Grand Total, and Subtotal fields on the related work order
To learn how to create records via the API, see these resources:
How to create a record using the SOAP API:
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_create.htm
How to create a record using the REST API:
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_sobject_basic_info.htm
Related KI:
List Price is Blank on Work Order Line Items
https://success.salesforce.com/issues_view?id=a1p3A000000mAI5QAM
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.