Commit 45bbb7f5 authored by msharma's avatar msharma

Replace ord_date with status_date in select sql


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96282 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bbf46357
......@@ -163,7 +163,7 @@ public class WorderTrackSchedule implements Schedule
+", reqd.track_basis_value as basis ,reqd.track_set as track_set , tsetd.act_code as act_code1 , tsetd.seq_no as seq_no, act.track_level as track_level1,act.role_code as role_code1 "
+" from obj_track_req req,obj_track_req_det reqd , tran_track_set tset ,tran_track_set_det tsetd ,tran_track_acts act where req.ref_ser = reqd.ref_ser and req.track_req = reqd.track_req "
+" and reqd.track_set = tset.track_set and tset.track_set = tsetd.track_set and tsetd.act_code = act.act_code and req.ref_ser= 'W-ORD' ) "
+", workorder wo where wo.ord_date >= ? "
+", workorder wo where wo.status_date >= ? "
+" and trim(basis) = "+trackSql
+" group by wo.work_order,wo.item_code,wo.site_code,basis,wo.order_type,wo.route_code ,ref_ser , track_req ,track_set ,act_code1 ,seq_no, track_level1,role_code1 , "
+" context_col_1,context_col_2,context_col_3,context_col_4 ,context_col_5 order by wo.work_order ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment