What is the use of erased_fields=true in REST API ?

 Hi, 

We are using rest api to get the records from any module , We see there is parameter used in that ?erased_fields=true , What does that mean ? 

For ex : we are using the api : /rest/v11_20/M03_Work_Product?erased_fields=true&view=list&order_by=date_modified:desc

So what does earased_fields= true mean in that api ? Please explain if anyone have any idea on this .

Parents
  • When you delete a record Sugar does not remove the records from the DB immediately, rather it marks them with a field: deleted = 1

    Those records are then truly purged when the scheduler to remove them runs, I believe that out of the box it's set to run once a month.

    The "erased_fields = true" includes those records with deleted = 1 in the result set.

    FrancescaS

Reply
  • When you delete a record Sugar does not remove the records from the DB immediately, rather it marks them with a field: deleted = 1

    Those records are then truly purged when the scheduler to remove them runs, I believe that out of the box it's set to run once a month.

    The "erased_fields = true" includes those records with deleted = 1 in the result set.

    FrancescaS

Children