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

Re: Validar campo no vacio en lista de materiales

$
0
0

Valida si te funciona esto porfa

 

 

IF @transaction_type in ('A') AND @object_type IN ('672')

begin

declare @precio as real

set @precio =(select count(*) from rdr1 where docentry=@list_of_cols_val_tab_del and $[$3.4.number]=0)

 

if @precio > 0

begin

SET @error = 66

SET @error_message ='No es posible crear documento con articulos sin precio'

end

end


Viewing all articles
Browse latest Browse all 1065

Trending Articles



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