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

cant build a case with an Account but no contact

I need to build a case and sometimes link to a contact (works great) and sometimes only link with an account. When i try and link to just teh account i get



ErrorMessage: Case: bad field names on insert/update call: AccountId
Fields: AccountId

 I must be missing somethign simple, what is it?