X++ Sample Collection Code
Collection classes were formerly called Foundation classes. Class Description Data types Access List Values are stored sequentially with the ability to add values at the beginning or end of the list All values must be the same data type Use ListIterator or ListEnumerator Set Values are stored non-sequentially. Duplicates are not added to the set. All values must be the same data type Use SetIterator or SetEnumerator Map Values are stored by using a unique key. The key and the value need not be from the same data type. Use MapIterator or MapEnumerator Struct Values are stored by using a unique string as a key The key must be a string. The values can be of any type. Provide the string key to the value method internal final class CollectionJob { /// <summary> /// Class entry point. The system will call this method when a designated menu ...