Skip to Content

Approval Query - Purchase Request

Hi,

I created U_ServType at document header level and made approval setup based on U_ServType input.

Query:

SELECT Distinct 'TRUE' FROM OPRQ T0 WHERE T0.[DocNum] =$[OPRQ.DocNum]

and T0.[U_ServType] ='1'

Template:

It is not working. Pls help me to sortout.

Thanks,

Silambu

PR-Approval.png (16.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 01, 2016 at 06:11 AM

    Hi,

    There is no approval procedure for purchase request. That's why it is not working. Please try with SP_TN.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 01, 2016 at 05:02 AM

    Hi Silambu

    Try this query:

    SELECT Distinct 'TRUE' FROM OPRQ T0 where $[$38.U_ServType.1.0] ='1'


    Also make sure in the Admininstration>System Initialization>General Settings>BP tab you have checked the Approval Procedures box there.


    Hope this helps!



    ALAINšŸ˜Š

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.