I have a formatted search that is returning no information when applied to my UDF (ORDR.U_CCAuth), but if I apply the very same FMS to an SAP field (for example: ORDR.Comments) it works fine.
The FMS is:
SELECT U_AuthCode FROM [@TWBS_CC_LOG] T0 WHERE T0.U_DocNum = $[$8.0.0] and T0.U_Issuccess = 'Y' AND (select max(u_eventtime) from [@TWBS_CC_LOG] where [@TWBS_CC_LOG].U_DocNum = $[$8.0.0] group by [@TWBS_CC_LOG].U_DocNum) = T0.U_EventTime
SAP B1 9.0
U_AuthCode is nvarchar(50)
U_CCAuth is Alpha(25)
Max characters ever stored in U_AuthCode is 6, it never exceeds 6 characters
Again, when I apply the search to the ORDR.Comments field it returns the correct information, but in my UDF the field remains blank although the the action button changes to "Update".