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

Re: Reg:Validation on outgoing Pyments

$
0
0

Hi,

 

Try this...

 

if @object_type ='46' and @transaction_type in ('A','U')

begin

if exists(SELECT T0.DocEntry FROM [dbo].[OVPM]  T0 INNER JOIN VPM4 T1 ON T0.DocEntry = T1.DocNum where T0.DocType='D' AND

T1.Descrip IS NULL and T0.DocNum =@list_of_cols_val_tab_del and T1 .ObjType ='46')

select @error =N'150',

@error_message =N'Please enter the Project at line level items.'

 

end

 

 

 

Regards

Bhanu


Viewing all articles
Browse latest Browse all 8652

Trending Articles



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