From 80cd0a95939a53494fe6e0b48a2ad3eb8b876a94 Mon Sep 17 00:00:00 2001 From: gandhimathi Bharathirajan Date: Thu, 28 Sep 2017 14:56:00 +0530 Subject: [PATCH] ItemNo change for material code change --- application/models/requistion_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));