Here is the use case. On our portal we want have a custom field that will show the products they have purchased and not all of the products we offer. I have figured out how to do the first part. The only issue I am running into is if it is a new customer we want to show all the products. Is their a way to do with AQL.
I was wondering if inbound reference would work?
This was my first attempt of doing that:
objectType = "Products" AND "Company" = ${customfield_10234.label} OR object HAVING inR()
The only issue that query shows all the products.
If I do this query it will show the product or products associated with the customer.
objectType = "Products" AND "Company" = ${customfield_10234.label}