create a filter in sales order form

Hi All,
A customer likes to filter record based on Sales Order Status. He need a filter above the header grid as in the above figure. When we select/change the status, the sales order records should get filtered and populated automatically. thanks in advance, please help me its urgent

You need to apply a range on salesStatus field. Declare a queryBuildRange variable in class declaration, initialize it in the init method of the form data source and assign a value to the range in the executeQuery method. Have a look at InventQuarantineOrder form, to know how the criteriaComplete range was handled

hi kranthi,

thanks for ur response, i ll surely do as u said :slight_smile: thanks again