You need to sign in to do that
Don't have an account?
AlecS
RecordType field exists, still system says it does not
I am trying to assign the Record Type of Opportunity to the Record Type of Contract being created.
Within the Opportunity object, there's a standard field called RecordType. However, when I assign this value
con.RecordType = opp.RecordType;
I get this error message:
Error: Compile Error: No such column 'RecordType' on entity 'Opportunity'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names. at line 4 column 22
How can I resolve this?
Thank you! |
try this.
All Answers
try this.
I have tried that and this is the error message I get:
I have updated the post try it.
Thanks, that works, Naidu!