function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

invalid ID field: Rollupmod why this error coming any body know?

Jyothylakshmy P U 1Jyothylakshmy P U 1
Rollupmod  may be in non Id format...

It's because you're  to a string literal Rollupmod

Try using the substitution operator instead (a colon):
Example : 
this.recordType=[Select r.Name, r.Id From RecordType r where =:acct.RecordTypeId];