Filter
A filter captures data from the user using search fields and reports back matching results from a database table using report fields. It can be defined similarly to below:
<Filter> <ZName>ts_fil_purchaserecords</ZName> <DisplayName>Purchase Records</DisplayName> <Category>Reports</Category> <ShortDescription>Shows all purchases</ShortDescription> <LongDescription> <p>Shows all of the purchase records</p> </LongDescription> <BaseTable> <ZName>ts_t_purchaserecords</ZName> </BaseTable> <FilterAction> <ZName>ts_fa_newpurchaserecord</ZName> </FilterAction> <!-- SearchFields --> <SearchField> <ZName>ts_sf_purchaseid</ZName> </SearchField> <!-- ReportFields --> <ReportField> <ZName>ts_rf_purchaseid_edit</ZName> </ReportField> </Filter>