Skip to Content
0

How to delete data of Query

Apr 11, 2017 at 10:27 AM

69

avatar image
Former Member

Dear everyone

Cloud you tell me Whether data of Query can be delete?

I use "delete()" instance to deleted data of myself BO.

But Query's data was not be deleted.

Query have 3 record.BO have 1 record.

Circumstances:

I created a MDR (delete data of myself BO, extract data from standard BO, create data in myself BO).

More records each time I run MDR, so I worry about limitations due to execution response delay and data capacity increase.

Thank you.

Best Regards

Mu Zhou

executequery.png (49.2 kB)
queryresult.png (38.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Charm M Aug 31, 2017 at 08:52 AM
0

Hi Mu Zhou ,

I think your process of MDR was

1. Delete the data from your custom BO.

2. And then extract the data from standard BO and create the data in your custom BO.

Did you want to delete all data from your custom BO?

In your action that create MDR , you should check Mass Enable .

If you had been checked Mass Enable , loop this and then delete .

foreach(var item in this){

item.delete();

}

Best Regards,

Charm M


massenable.png (55.2 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Sep 14, 2017 at 02:51 PM
0

Hi Charm M

Thanks for the advice so much.

I'm sorry I reply late.

I tried it. Now I can delete.

Thanks and Best Regards,

Mu Zhou

Share
10 |10000 characters needed characters left characters exceeded