Does anyone know a way to use a Custom Group as criteria for either a List View report or as the lplfilter in an IPA query? I was hoping to build the criteria in the Custom Group so it would be easier to maintain and then just call it elsewhere.
I haven't found a way to reference a Custom Group (BusinessClassGroup) within a filter condition. If you could though, you could also be able to reference other BusinessClassGroups within your BusinessClassGroup too.
There are two options I have found to get close to achieving this:1) Create a derived/condition field and use it within your list filter, or2) If you don't want something so hard-coded, you could create a persistent field of the named type "BusinessClassGroup" on a business class, populate it with a reference to the desired BusinessClassGroup, and then use that persistent field with the "within" keyword. Here's a snippet of what that syntax looks like from the LPL guide (page 44 of the Jan 2023 version):