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

Cant Add Goods Issue without "Prepared by UDF"

Hello Guys,

Im a newbie on SAP Business One, i have created the "Prepared By UDF" at Goods Issue. The users can't add/save the Goods Issue without fill up the UDF Prepared by. How can i implement this on Goods Issue? And also i want to implement this to all the document transaction (Good Receipt/Journal Entry/Good Issue/Stock Transfer..)

Regards to All.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 26, 2010 at 03:33 AM


    WElcome to B1 forum.

    You use this query in the SBO store procedure transaction notification to validate the good issue :

    IF @transaction_type IN ('A', 'U') AND @Object_type = '60'
    IF EXISTS (SELECT t0.DocNum FROM OIGE t0 inner join IGE1 on t1.docentry
    = t0.docentry WHERE t1.Prepared By  IS NULL AND t0.Docentry = @list_of_cols_val_tab_del)
    SELECT @Error = 1, @error_message = 'Please enter the field prepared by first'

    The query SP is pasted in the SAP B1 transaction notification in the SQL server --> B1 company database --> Programmability --> store procedures --> SBOSP Transaction_Notification.Right click the SBO_SP_Transaction_Notification --> select modify. Paste the query belows the words : Add Code here.

    Good luck


    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.