+ Start a Discussion
Dominic YoungDominic Young 

How to retrieve deleted opportunitylineitem and opportunityschedule records

when you reestablish a quantity schedule or you delete an opportunitylineitem the record is not soft deleted by having it's isdeleted flag set to true it is instantly hard deleted.

If you use the workbench or the dataloader (export all set) the records are not returned.

Is this standard SFDC behaviour / can soft deleting opportunityline items as well as schedules be enabled?

It makes data replication very difficult if you can't query for deleted opportunitylineitem / schedule records
James LoghryJames Loghry
There is no "soft delete" flag.  What you see is what you get.  Instead, you'll have to work around the issue or perhaps result to custom functionality