Suppose you have a CSV file that contains 100 lines and every line as 5 fields separated by a separator (comma, semicolon, pipe, etc..) Now you want to retrieve the lines and put every single field into a string. You can do it by using a container and str2con method How to do in X++ … Continue reading D365FO – AX – Convert a string into a container
Category: Containers
D365FO – AX – X++ – Dynamics AX Tutorial – X++ Containers Functionality
Why Containers? In X++ (Object oriented programming language) the data or values stored in a Variable are of below types:Primitive dataTypes - int, str, real .... etc.Composite dataTypes - Arrays, Containers, Collection ClassesTemporary TablesFor instance,Primitive dataType variable can hold only 1 value and that too of same dataType, if you want to store 500 values then you … Continue reading D365FO – AX – X++ – Dynamics AX Tutorial – X++ Containers Functionality