Does anyone happen to know how to go about building an aras SQL select statement to retrieve properties (rows & columns) when one of the properties (columns) is of Data-Type Foreign?
The property I have, in question, exists on the primary item-type (table) as a Foreign data-type to another item-type (table). Below is my select that works 100% until I add this property to the where clause:
My Innovator error msg is: invalid column near comp_cat
var results = inn.applySQL("select 'Complaint Category', comp_type, Month, fiscal_year "+ "where"+ " month = '"+ curMonth +"'"+ " and"+ " fiscal_year = '"+ curCCYY +"'" + " and" + " comp_cat = 'Package'");