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

Re: Is it possible to restrict creation of Issue Component and Report Completion against a Production Order ?

$
0
0

Hi Gandhi

If the Production status is not changed in to release we cant issue components so I have given the status =R condition. I hope this will work.

 

if @object_type='202' and @transaction_type='A' or  @transaction_type='u'

begin

  if exists(select 1 from OWOR a where a.U_Reviewed='no' and a.Status='R' and a.DocEntry=@list_of_cols_val_tab_del)

  begin

  set @error='111'

  set @error_message='Review the production order'

  end

end

 

Regards

Srinivas.


Viewing all articles
Browse latest Browse all 9159

Trending Articles



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