D365F&O - X++ - Read data from list using x++ code

List                conList;

ListIterator      Iterator;

        

conList = MJTestTable.getContainerNames();

Iterator = new ListIterator(conList);

while(Iterator.more())

{

       info(Iterator.value());

       Iterator.next();

}

Comments

Popular posts from this blog

D365F&O - X++ - Best Practice Warning BP Rule: [BPErrorUnknownLabel]: Path:

D365F&O - X++ - Create and post Customer payment Journal using X++ code.

D365F&O - X++ - Set contract parameter value in controller class of SysOperationServiceBase framework