Wednesday, June 22, 2016

INVALID_FIELD_FOR_INSERT_UPDATE, Account: bad field names on insert/update call: Name: [Name]

When your working with Person Accounts in Salesforce we should be very careful because these Accounts can also acts as a Contact .It means these person accounts will share many fields with contacts.

The Person Account name will contains First Name and Last Name .When your trying to load any Person Accounts with data loader or with any other apex code we should follow some naming conventions .If your trying to map these field values to Name field of Account we will end up with the same error.

So when your loading the Person Accounts data your .csv file must contain a columns FirstName and LastName but not only the Name.

For more information visit Salesforce Document here 

Thanks for visiting....Enjoy!




Difference between WorkFlow and Process Builder in Salesforce

As we already know that we have a multiple options in Salesforce to make you business automation.Among all of them we usually goes with workflow before Lighting Process Builders comes into the picture visit my post for more info.But now we have a multiple actions are available on Process builder compared to workflow.

This post will explains you the differences between workflow and Process Builder and when we need to go with workflow and process builder.

Actions
WorkFlow
Process Builder
Task Creation
ü
ü
Email notification
ü
ü
Field Update
ü
ü
Outbound Message
ü
û
Create a record
û
ü
Invoke a Apex
û
ü
Invoke a Flow
û
ü
Post to Chatter
û
ü
Quick Actions
û
ü
Submit For Approval
û
ü
Update Child Records
û
ü
Cross object field updates
û
ü

For best practices of process builder please refer my previous post.


Thanks for visiting....Enjoy!