Event aquery_decode_criteria_after

This event is used for representations, when a query facet is requested. It allows the development partner to add properties to the columns that can be criteria for the query in the &where=... filtering option.

Available variables

1TinyInt
2Shortint
3Integer
4Decimal
5Float
6Double
7Char
8Date
9Blbfile
10Clbfile
11Uuident
12Datetime
25Translatable text stored in ATEXTE (data type ATX)
26Translatable text stored in ATEXTRA (data types AXX, AX1, AX2, AX3)

Example

# This piece of code has to be called by Gosub on the AQUERY_DECODE_CRITERIA_AFTER event# Here, the class managed is an interface class# So the "pseudo table" has directly been declared with [LNK_] abbreviation.$ FILL_CRITERIANBPRO += 1 TBPRO(NBPRO) = "VOLUME"TBTYP(NBPRO) = 7 TBPTH(NBPRO) = "AVOLFIL.VOLUME"TBFIL(NBPRO) = "[LNK_]VOLUME"NBPRO += 1 TBPRO(NBPRO) = " FULLNAME"TBTYP(NBPRO) = 7 TBPTH(NBPRO) = "AVOLFIL.FULLNAME"TBFIL(NBPRO) = "[LNK_]FULLNAME"Return