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

RE: Override Query of Form Data Source

$
0
0

If you want to disable first fast in the CustTransOpen query, you can do it with the QueryBuildDataSource object of the CustTransOpen datasource.

[FormDataSourceEventHandler(formDataSourceStr(CustTransOpen, CustTransOpen), FormDataSourceEventType::Initialized)]
public static void CustTransOpen_OnInitialized(FormDataSource sender, FormDataSourceEventArgs e)
{
    QueryBuildDataSource custTransOpen_ds = sender.query().dataSourceTable(tableNum(CustTransOpen));
    custTransOpen_ds.firstFast(false);
}


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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