2
Answers

3 Months to be added

Ramco Ramco

Ramco Ramco

4d
21
1

Hi

  I have below query . I want if For e.g Current month is say Feb 2025 then i want  to add 3 colums  Non 24,Dec 24 , Jan 25. I want to get Stock of items in these 3 months.

If  current month is Jan 25 then Oct 24 , Nov 24 , Dec 24.

SELECT T0."WhsCode", T0."ItemCode",T0."OnHand"
FROM OITW T0 inner join OITM T1 on T0."ItemCode" = T1."ItemCode" 

 

Answers (2)