How should you iterate over multiple records in X++?

Posted by: Pdfprep Category: MB6-894 Tags: , ,

You are writing an X++ method.

You need to perform the same logic for multiple records in the database.

How should you iterate over multiple records in X++?
A . Declare a table buffer variable, and then write a "while select" statement to iterate through each record.
B . Declare a shared variable for the table, and use the next() method to read each record.
C . Declare a RecordSortedList variable for the table, and use the next() method to read each record.
D . Declare an enumerator for the table, and call the moveNext() method to read each record.

Answer: A

Leave a Reply

Your email address will not be published.