on 09-06-2013 12:33 AM
How would I write a query to make a sales order goes through an approval based on business partner property.
Hi Jonathan,
Try this:
SELECT DISTINCT 'TRUE' FROM OCRD A
Where A.QryGroup1='Y' and A.CardCode=$[ORDR.CardCode.0]
Just change the A.QryGroup1 if this is not the BP Property you're after.
Regards,
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this:
SELECT distinct 'true' FROM OCRD T0 WHERE T0.[CardCode] = $[ORDR.cardcode] and T0.[QryGroup1] = 'Y'
Assign above query in approval template under terms tab.
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.