Posts

Showing posts from April, 2024

D365F&O - X++ - Best Practice Warning BP Rule: Suppress nested loop warning

  Add following line of code in your class. public class CustInvoiceJour  {     [SuppressBPWarning('nested loop used','need nested loop to insert 1:n condition')]     public void insert()     {             //your code      } }

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(); }