+ Start a Discussion
PXForcePXForce 

Mass Insert

While doing a mass insert using a batch process. If I get an error on a record , would it not insert the other records.

 

For example:

 

If I have to insert a list of Leads and a couple of leads in the list throw some errors , would it stop the operation for the whole list or just those records.

 

Anand@SAASAnand@SAAS

It depends on the type error. If there are validation rule errors all records might not fail but if there are DML Exceptions / Run time errors all records will fail.