I'm trying to write some standard Contact's fields e.g. MobilePhone
and Email
(I'm new to this object), when I create a new PersonAccount.
For example using an Anonymous window I tried with this code:
Account acc = new Account(FirstName='User',
LastName= 'System',
MobilePhone=33900000,
Email = 'a@a.com'
);
insert acc;
I receive this error: "Field does not exist: MobilePhone on Account".
How is possible to write standard Contacts's field when creating a PersonAccount?