You need to delete multiple records from the CustTrans table that are not approved. Code execution efficiency is a factor since the table will contain millions of records. Additionally, the CustTrans table does not have any overridden methods. Which X++ code segment should you use to achieve this goal?
A. Delete__from CustTrans where CustTrans.Approved ==NoYes :: No;
B. Select firstonly CustTrans where CustTrans.Approved==NoYes::No; CustTrans.delete();
C. While select CustTrans where CustTrans.Approved==NoYes::No {CustTrans.delete() ;}
D. Select CustTrans where CustTrans-Approved == NoYes::No; CustTrans.dodelete();
No comments:
Post a Comment