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

Select fields from table based on FieldId

$
0
0

What im trying to do:

Select FieldId from SalesLine groupby Salesline.(FieldId);

FieldId is of type FieldId. This select statement can translate to this (if the FieldId was the Name);

Select Name from SalesLine group by Name;

My field list requires that it is the Field Name on the table (so it doesnt error even if i have a local variable with the same name).

I have tried creating a string and it sstill doesnt work. SalesLine.(FieldId) in the field list doesnt work either.

Is it possible what im trying to do?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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