I have a Trigger On OpportunityLineItem when it's get updated, it will update the Opportunity. I need to update OpportunityLineItem in Bulk. For that, Using Dataloader I kept the (batch size =200) of DataLoader and Used DML below.
if(oppListToUpdate.size() > 0)
Database.update(oppListToUpdate, false);
It working with batch size =200, But when any record of that batch fails to update due to validation error, all records in that batch fail. How to solve this issue? Please Help!