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

Re: To block activation of inactivated Item codes.

$
0
0

Hi

 

Try This with change the user sign.

 

IF @object_type = '4'

         AND @transaction_type IN ( 'U')

BEGIN

  if EXISTS  (Select t0.itemcode from OITM  T0

 

  where T0.UserSign2 <>3 and T0.FrozenFor=@list_of_cols_val_tab_del)

  begin

  SET @error = 0406

     SET @error_message= 'You cannot update Item'

 

  end

end

 

With Regards

 

Balaji Sampath


Viewing all articles
Browse latest Browse all 9076

Trending Articles



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