@@ -64,7 +64,7 @@ select unix_timestamp(), _listToken, item_id, item_id, item_code, item_name, sub
from dbr_bal_item as mx
inner join dbr_item as itm on itm.id = mx.item_id
inner join dbr_igroup as igr on igr.id = itm.igroup_id
-where yyyy_mm = _prev_month(_sdate) and storage_id = _storage
+where yyyy_mm = _curr_month(_sdate) and storage_id = _storage
and igroup_code between _sbet1 and _ebet1
order by item_code asc;