How can i select specified records for settle open transacti

Hanumanth
Hanumanth Member Posts: 2
edited 2012-08-13 in Dynamics AX
Previously at the form level only select all button is there.i create a new Menuitembutton select specified for selecting specified records based on parameters invoiceid,DueDate..after giving these Ranges i click the ok button it shold be displayed records based upon given ranges..

So Plz Help me the query and coding part to achieve this..