Report Definition Query change post upgrade 8.5.1: pxobjclass AND condition added extra in class join
I have upgraded the application from 7.3 v to 8.5.1v. After upgrade I see a change in query formed by Report definition. It is adding a 'AND pxObjClass ='<class name>' extra condition in table join, which was not the case previously.
The class it is taking in condition is the class of the joining table. I have the query formed like below example:
Select ref.ID, ref.Unit from Data.Table_Ref ref Inner Join Data.Table_Map Map on ((Map.Id = ref.Id) AND Map.pxObjClass='Table-Map) Where (ref.Is_Active='Y')
Here the Data.Table_Map is table mapped to class 'Table-Map' which is class-join to report class 'Table-Ref' mapped to table 'Data.Table_Ref'