cancel
Showing results for 
Search instead for 
Did you mean: 

Lock UDF Update for Posted Document

Former Member
0 Kudos

Hello everyone!

Is there a setting or any workaround in SAP B1 where we can prevent users from updating header UDF for posted marketing documents?

Thanks,

Jaren

Edited by: Jaren Loyola on Nov 3, 2009 4:33 AM

Accepted Solutions (1)

Accepted Solutions (1)

former_member206437
Active Contributor
0 Kudos

Hi

This can be achieved By Stored Procedure or by SDK only as per My knowledge, no work around in normal SBO.

Giri

Answers (2)

Answers (2)

former_member583013
Active Contributor
0 Kudos

Jaren,

The is no straight way to achieve this unless you so it through the 2 options suggested by the other memebers.

Stored Procedure is a quick way as you do not need to do the whole SDK coding but writing the logic is not going to be easy.

There might be several UDF's and tracking if it changed when the Update event fires is quite complex

Regards

Suda

Former Member
0 Kudos

Using the Transaction_Notification stored procedure would not be very difficult. Monitoring for closed documents and not allowing them to be updated would only be a few lines of SQL code. No different than adding any other validation logic.

That's the approach I would suggest if your needs are as simple as stated in the original post.

Former Member
0 Kudos

Thank you all for the response.

I have created simple transaction_notification stored procedure before, like making fields mandary. I have no idea how to start to create a stored procedure for blocking updates of fields. Do you mind sharing sample queries?

Thanks again!

Former Member
0 Kudos

Hi,

Stored Procedure would be effective to pull values or data. In order to stop updation of UDF after a transaction is complete and the document is saved. Use SDK and create an add-on to enable this functionality, which is actually very easy.

Regards

Sudatta