Skip to Content
author's profile photo Former Member
Former Member

SP for Open GRPO not closed PO should not add in the system

Dear Experts,

If Open GRNs are not closed by A/P Invoices before 5th of the next month then No POs will be generated or (blocked by the sap )for that supplier.

It will be valid for all vendors.

Kindly provide me SP for these condition.

Regards

Amol

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2016 at 09:25 AM

    Hello Amol,

    You can develop Z report for monitoring.if vendor exceeds time interval defined by you, Then that vendor should get blocked from source list for that particular month only.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 13, 2016 at 06:36 PM

    Hi Amol,

    if @Object_type = '20' and @transaction_type ='A'

    BEGIN

    IF EXISTS ( SELECT B.DOCENTRY FROM OPDN B WHERE B.CardCode IN( select A.CardCode from OPDN a

    where a.DocStatus = 'O' AND DATEDIFF (D,A.DocDate,GETDATE()) > 5)

    and T0.docentry = @list_of_cols_val_tab_del)

    BEGIN

    SET @error = 20

    SET @error_message = 'open grpo exist!'

    END

    END

    Regards,

    vinoth

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 23, 2016 at 06:40 PM

    If you got the solution means then close the thread by marking it as helpful or correct answer

    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.