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

Re: SP for Receipt from production

$
0
0

Hi Ramesh,

 

Try this

 

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

    BEGIN

        IF EXISTS

            (Select T0.DocEntry

   FROM OIGN T0 inner join IGN1 T1 On T0.DocEntry=T0.DocEntry

   inner join OITM T2 ON T2.ItemCode=T1.ItemCode

  Where T0.DocEntry = @list_of_cols_val_tab_del

      and T2.[ItmsGrpCod] ='103' and T0.UserSign2 IN ( '60') )

Begin

            SET @error = 500

            SET @error_message = 'Receipt Not able to make for FG Group part'

        END

    END

 

Thanks,

Harshal


Viewing all articles
Browse latest Browse all 923

Trending Articles



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