on 12-11-2008 9:50 AM
hi
i want set approval on the base of query so i write query as follow
SELECT T0.[CardName], T0.[CreditLine] FROM OCRD T0 INNER JOIN OCRG T1 ON T0.GroupCode = T1.GroupCode INNER JOIN OINV T2 ON T0.CardCode = T2.CardCode
WHERE T1.[GroupName] ='INSTATION' AND
T0.[CreditLine] >= 0 AND
T0.[CreditLine] <=50000
GROUP BY T0.[CardName],T0.[CreditLine]
but on this condition approval is not set so if i write query wrong then pls send updated quer
regards,
sandip
The approval query has specific format. Please try this one to assign to your approval:
SELECT Distinct 'TRUE' FROM OCRD T0 INNER JOIN OCRG T1 ON T0.GroupCode = T1.GroupCode AND T1.GroupName ='INSTATION'
WHERE
T0.CreditLine >= 0 AND
T0.CreditLine <=50000 AND
T0.CardCode = $[$4.0.0\]
It can not be run under Query Generator.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
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.