on 09-29-2016 11:28 AM
Hi All
I have a requirement where I need to send the GRPO document for approval to authorizer 'A' when my item is either 'X' or 'Y'.
Else for any other item the GRPOdocument needs to be sent to authorizer 'B'.
Is there a way to achieve this using conditional approval procedure and if yes how can the query be structured.
Regards,
Nikita
Hi Nikita,
Yes, there is a way.
Look this document to see how to create approval template at line level on marketing documents:
In your case I believe that you will need two approval templates one with this query:
SELECT CASE WHEN $[$38.1] = 'Item x' OR $[$38.1] = 'Item y' THEN 'TRUE' ELSE 'FALSE' END
and other with this:
SELECT CASE WHEN $[$38.1] <> 'Item x' AND $[$38.1] <> 'Item y' THEN 'TRUE' ELSE 'FALSE' END
Case your GRPO document has the item X or item y and another item, two approval procedures will be started.
Hope it helps.
Best regards,
Diego Lother
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
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.