Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8720

Re: Stored Procedure at production order...

$
0
0

Hi Srinivas Rachamallu

 

yes it is possible to stop user to add particular Itemcode while adding Production Order.For this you SP transaction notification

 

IF (@object_type = '202' AND @transaction_type in ( 'A','U'))

BEGIN

If exists

(Select DocEntry  From OWOR T0 INNER JOIN WOR1 T1 ON T1.DOCENTRY=T0.DOCENTRY

Where T0.DocEntry = @list_of_cols_val_tab_del     and T1.ItemCode in ('A0001','A0002')

Begin

set @error =1

set @error_message = ' please select  correct Itemcode'

End

END

 

 

 

Regards

Jenny


Viewing all articles
Browse latest Browse all 8720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>