Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Query Service , How to return labels for enum fields

$
0
0

Hi all,

I am retrieving data using Query Service using QueryMetadata on a table in AX. I use paging because I have lot of data. In the table I have 3 fields that are Base Enum type.

When I get the result dataset and the data table containg the data I only get numbers in the Enum fields of the table (It is returning me Enum value) and not the label. At client when I get this data it does not really make much sense.

I know that I can get the Enum metadata from Metadata Service and then somehow convert these values (I get in query service) to labels. But this I guess would be a row wise operation which I want to avoid because I guess that would be heavy.

Is there any way that I get the labels directly as a result from QueryService.ExecuteQuery(...) method ?

- Girija


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>