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

RE: View not switching company data

$
0
0

I added this to the init method in the view datasource, but still not pulling data from company that I switch to:

public void init()

{

   QueryBuildDataSource    qbdsLedgerJournalTableView;

   super();

   qbdsLedgerJournalTableView=this.query().dataSourceTable(tableNum(LedgerJournalTableView));

   //Make sure the view pulls from current company

   qbdsLedgerJournalTableView.addRange(fieldNum(LedgerJournalTableView,DataAreaId)).value(curExt());

}

any ideas?


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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