Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

How to restrict auto filter due to dynamic link in axapta form

$
0
0
If you have created a Form and it is automatically filtering your Datasource because of the Dynalinks which is created automatically and dynamically,To solve that issue you can use below code.

 Test_DS.query().dataSourceNo(1).clearDynalinks();  


You can call code on init method of form.

Other way you can use below.
 QueryBuildDatasource qbds;  
;
qbds = this.query().dataSourceTable(tablenum(MyTableName));
qbds.clearDynalinks();


Viewing all articles
Browse latest Browse all 17314

Trending Articles



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