Copy all data from Matrix into Dataset
Is there a way to copy all data in a matrix into a dataset?
There is no method on the matrix to get it directly, you will have to construct it yourself.
You can iterate over the rows and insert data to the dataset. If the matrix has a lot of data it will probably be quite a lot faster to get the data as xml and parse that. Example using Sales Order matrix (38):