Skip to content

Add function to retrieve filter ID based on filterfield, operator and value

What is new - 25.0

The cDRReport class list of methods has been extended with a function to find a filter in the report based on the filter field, operator, and value. The filter field value is required, while the operator and the value are optional.

Usage:

Get FindFilterId of oReport sReportId '{Customer.State}' to iFilter

or

Get FindFilterId of oReport sReportId '{Customer.State}' C_drEqual to iFilter

or

Get FindFilterId of oReport sReportId '{Customer.State}' C_drGreaterThanOrEqual 'F' to iFilterFrom
Get FindFilterId of oReport sReportId '{Customer.State}' C_drLessThan 'G' to iFilterTo