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

RE: Lookup for real field

$
0
0

Code for the same:

public void lookup()

{

   Query                   query = new Query();

   QueryBuildDataSource    queryBuildDataSource;

   SysTableLookup sysTableLookup =

       SysTableLookup::newParameters(tableNum(ProjHourSalesPrice), this);

   sysTableLookup.addLookupfield(fieldnum(ProjHourSalesPrice, ProjSalesPricing));

   queryBuildDataSource = query.addDataSource(tableNum(ProjHourSalesPrice));

   sysTableLookup.parmQuery(query);

   sysTableLookup.performFormLookup();

}


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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