Hi everyone,
I’m working on setting up an export definition with multiple filters, and I’m running into a strange issue. I’ve created three filters:
filter_customer
filter_supplier
filter_bta_owner
The filter_bta_owner
and filter_customer
are working as expected — the filter expression is applied and the dropdown is populated correctly. However, for the supplier
export, although the link between the export parameter and filter is in place, the filter expression doesn’t seem to be working. The dropdown remains empty.
Here’s what I’ve configured:
-
Overview of the filters
(see screenshot below – export report parameters)
-
Export parameter linked to the filter
-
‘Supplier’ filter settings
- Value expression:
this.creditor_number.tostring().concat(" ").concat(this.contact_name)
- Filter expression:
this.is_supplier.equals(yesno:load(1))
- Sort expression:
[this.creditor_number.asc]
- Default value expression:
contacts:getnull()
- Working BTA filter for comparison
Question:
Has anyone run into this issue before where the filter expression is set but not being applied in the export? The settings appear to be the same as the working BTA filter, but I still get an empty dropdown for suppliers.
Would appreciate any ideas or suggestions. Thanks in advance!