Loading

Unable to set the ProductSellingModelId field when inserting a QuoteLineItem record

Publiceringsdatum: Oct 23, 2026
Beskrivning

Upon attempting to set the ProductSellingModelId field when inserting a QuoteLineItem record, the following error may be thrown -

INVALID_FIELD_FOR_INSERT_UPDATE: Unable to create/update fields: ProductSellingModelId. Please check the security settings of this field and verify that it is read/write for your profile or permission set. [ProductSellingModelId]

Lösning

The ProductSellingModelId field is automatically derived from the corresponding price book entry.

Therefore, setting the PricebookEntryId field with the Id of a valid price book entry record having the ProductSellingModelId field populated on it will automatically set the ProductSellingModelId field on the newly inserted QuoteLineItem record as well.

Knowledge-artikelnummer

005465175

 
Laddar
Salesforce Help | Article