on 05-06-2010 9:16 PM
Please tell me where my syntax is wrong:
declare @dte1 as datetime
Set @dte1 = (Select Case When $[$OINV.U_ORD_TYP] = 'S' Then 40450 Else cast($[$12.0.date] as int) End)
Select @dte1
If I use $[$4.0.0] to compare for a BP it works, but trying to compare using a UDF I get the very useful, Internal Error message.
Thanks.
Hi,
What is this UDF property? Is this UDF for Document Type?
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the error probably caused by the subquery result that returned more than 1 value.
Try to change the query by editing the FMS query
Rgds,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
instead of OINV.U_ORD_TYP , you should try : $[$U_ORD_TYP.0.0]
hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.