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

Re: Production and sale

$
0
0

Hi,

 

Try this query to get yesterday produced items. Assign this query in sales order item no field.

 

SELECT T0.[ItemCode], T0.[CmpltQty] FROM OWOR T0 WHERE datediff(day, T0.[CloseDate] ,getdate()) = 1 and  T0.[Status]  = 'l'

 

Thanks


Viewing all articles
Browse latest Browse all 8950

Latest Images

Trending Articles



Latest Images