How to Filter Records in form from Combo box in Axapta

Lets you want to to Filter Records in form from Combo box in Axapta then this is sample example you need to create one method like this.

 WMSPickingRoute_ds.filter(fieldNum(WMSPickingRoute,ExpeditionStatus),queryValue(God_expeditionStatus.selection()));  


Then you can call that method in modified field method for that combo box. Like filter1 is method name then you can call it below way.

 public boolean modified()  
 {  
   boolean ret;  
   ret = super();  
   this.filter1();  
   return ret;  
 }  

I hope you get and Idea how to filter records for form in axapta.

No comments: