List of records to be displayed based on search criteria
Scenario:
We have different Policy types namely A, B and C
We are getting records using services.
Requirement:
We need to display list of policy holder details in listview when we click on search button (Search criteria Policy number or phone number) in the same screen.
Search results should display all the records (A and B) except the records of policy type “C”
(Ex: Phone number: 9989998999 for that user may have all policy types a, b and c but only c should not display in list view even we have details in database)
How to restrict policy type "C" getting displayed in List view.
In Clipboard Policy_Type=3 is in below page structure
pySearchDataPage.SearchPolicyParametersResult.SearchPolicyResult.SearchINF(1).Policy.Policy_MasterINF(1).Pricing.Policy_Type
Note: One user can have multiple policy types and n number of policies.
Thanks In Advance