Unable to create formula field on Opportunity Products referencing Opportunity Record Type Name
Last updated 2022-02-10 ·Reference W-1801627 ·Reported By 21 users
The following error is received when creating formula field in Opportunity Product and inserting Opportunity.RecordType.DeveloperName:
"The first validation error encountered was "Dependent Entity: bad value for restricted picklist field: OpportunityLineItem"."
The syntax is inserted by clicking on the 'Insert Field' button and choosing Opportunity Product > Opportunity > Opportunity Record Type > Record Type Name (Opportunity.RecordType.DeveloperName).
The same error occurs when choosing other fields on Opportunity Record Type, for instance, Name (Opportunity.RecordType.Name).
1> Create a record type on opportunity
2> Create a formula field on opportunity product with "Opportunity.RecordType.Name" as the sytax
3> Save---receive error
Create a formula field on the opportunity object first that references the record type. You will then be able to reference this field from an opportunity product formula field.
Reported By (21)
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.