diff --git a/application/models/requistion_model.php b/application/models/requistion_model.php index 9e1579d5..07d8d7f6 100755 --- a/application/models/requistion_model.php +++ b/application/models/requistion_model.php @@ -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));