Quantcast
Viewing all articles
Browse latest Browse all 9369

Re: query de los articulos proximos a caducar por su fecha de vencimiento

Hola Felix,

 

Prueba con esto :

 

SELECT

T2.ItemCode as 'Articulo', T0.ItemName,  T2.BatchNum,T2.Indate 'Entrada',t2.ExpDate,T2.Quantity

FROM

OITM T0 INNER JOIN OIBT T2 ON T0.ItemCode = T2.ItemCode 

 

 

WHERE

t2.ExpDate < '[%0]' and t2.ExpDate !='' and t2.Quantity > 0

Order by t2.ExpDate DESC

 

Saludos


Viewing all articles
Browse latest Browse all 9369

Trending Articles



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