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

Partial GRPO not Allowed

Dear All,

I need a control that Partial GRPO not Allowed. i have an SBO_SP_TransactionNotification but error occurred please see the attach error.

IF :Object_Type = '20' AND (:Transaction_Type = 'A'or :Transaction_Type='U') THEN

SELECT COUNT (*) INTO CNT FROM "VISIONTEST"."PDN1" WHERE "PDN1"."DocEntry"<>:list_of_cols_val_tab_del

and "VISIONTEST"."PDN1"."BaseRef" = (select "VISIONTEST"."PDN1"."BaseRef" FROM "VISIONTEST"."PDN1"

WHERE "VISIONTEST"."PDN1"."DocEntry" =:list_of_cols_val_tab_del);

if :cnt>0 then

error:=71;

error_message:= 'GRN is Already Created against Selected PO';

End IF;

END IF;

error.jpg (161.7 kB)
error.jpg (161.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on May 12, 2015 at 09:45 PM

    In your query, you are referencing the VISIONTEST, the database instance name, it is pretty dangerous, since you when you copy this query to your production database, you will need to change the name again.

    Frank

    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.