The Set class is used for the storage and retrieval of data from a collection in which the values of the elements contained are unique and serve as the key values according to which the data is automatically ordered. You can create a set of primitive data types or complex data types such as a Class, Record or Container. Below is sample of a set of records. static void _Set(Args _args) { CustTable custTable; Set set = new Set(Types::Record); SetEnumerator setEnumerator; ; while select custTable { if (custTable && !set.in(custTable)) { set.add(custTable); } } if (!set.empty()) { ...
All things Microsoft Dynamics 365 Finance and Operations