Hi,
I want to build an input where the "where" function can not only be modified but also additions/subtractions can be made. For example, if we are pulling data from our trial balance, we want to be able to filter (but not required):
1) Year
2) Account
3) Functional Currency
So our current code (slightly modified for simplicity) is:
where a.acct = '100000'
and a.period_year = 2022
But we want to have the option to remove these so it could just be:
where a.acct = '100000'
or have the option to add to it so it could be:
where a.acct = '100000'
and a.period_year = 2022
and a.func_currency = "USD"
Is this possible? If so, what would the approach be?