Step: 1
Make sure your form class implements SysIFilterProvider interface. as shown in image.
Step: 2
On Init method initialize your filter control change event from which you will get the value for filter your records as shown in image.
Step: 3
Write parmFilter method on which you passes the value to your form part as shown in image.
Note:
In SysFilterValueFactory class there are six types of filters that you can use. In my case I am using RecId filter.
1- createFilterValueForBuffer
2- createFilterValueForRecId
3- createFilterValueForDateTime
4- createFilterValueForDate
5- createFilterValueForInteger
6- createFilterValueForString
Step: 4
Write parmChangeEvent as shown in image.
Step: 5
Implement SysIFilterConsumerForm, SysIFilterEventHandler Interfaces to your form part classes as shown in image.
Step: 6
Write register & fiter events and provide implementation of your datasource as shown in image.
No comments:
Post a Comment