on 11-04-2013 8:11 AM
Hello Experts,
Scenario: I would like to send my Sales Order in approval only when Business Partner "C00282" is selected in Sales Order. I am using the following query but approval is not being triggered:
SELECT DISTINCT 'TRUE' FROM ORDR Where $[ORDR.CardCode.0]= 'C00282'
help required !
Thanks & Regards,
Hi,
Try $[ORDR.CardCode] instead of $[ORDR.CardCode.0]
2nd, Use IF checks, like IF ($[ORDR.CardCode] = 'C00282') Select 'TRUE' from ORDR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shazad,
The same query is working in My DB.
Please check whether you have selected 'Sale order' in Documents Tab of Approval template and check you have given correct card code and this approval template is Active
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 ORDR T0 WHERE $[$4.0.0] = 'C00282'
OR
SELECT distinct 'true' FROM ORDR T0 WHERE $[ORDR.cardcode] = 'C00282'
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 |
---|---|
107 | |
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.