I created an Opportunity Action, using the
OpportunityLineItem as the Target Object. I want to set a Predefined Field Value for the field
PricebookEntryID. When I add a new predefined value, select the lookup field (Price Book Entry) and set the formula to
'[some-pbe-id]', I end up with this error (which makes sense):
Error: Formula result is data type (Text), incompatible with expected data type (Lookup(Price Book Entry)).
How can we set an ID using the formula editor? I read that it is now possible in Winter14.
You can now predefine values for lookup and master-detail fields.