ItemNo change for material code change

This commit is contained in:
gandhimathi Bharathirajan 2017-09-28 14:56:00 +05:30
parent ae1e294c7e
commit 80cd0a9593

View File

@ -415,7 +415,7 @@ ifnull(Po.Quantity,0) as POQTY,sta.StatusName
$this->db->trans_start();
$this->db->insert('T_Requestion_Details', $Requistion);
$insert_id = $this->db->affected_rows();
$this->db->trans_complete();
$subQuery = 'select max(ItemNo) as ItemNo from T_Requestion_Details where ReqNo=?';
$query = $this->db->query($subQuery,array($RegNo));