Has anyone dealt with the occurrence of utilizing a BAQ condition in a directive in which the join can’t be valid due to the joined fields having different data types? I’m trying to utilize a BAQ in which I am joining “ttPORel” for “PONUM” (INT) to “ERP.TranGLC” for “Key1” (NVarchar50). With the directive BAQ being limited compared to the main BAQ designer. I’m kind of stuck on how to handle this?
It looks like the conditional BAQ method in a data directive does not allow you to type in the fields you wish to join on unlike the normal BAQ designer. I can only select fields.
Just a thought - but could you save the PONum to a string variable ‘Convert.ToString(ttPoRel.PONum)’
and then reference the variable in the criteria for TranGLC, rather than using a join.