ItemNo change for material code change
This commit is contained in:
parent
ae1e294c7e
commit
80cd0a9593
@ -415,7 +415,7 @@ ifnull(Po.Quantity,0) as POQTY,sta.StatusName
|
|||||||
$this->db->trans_start();
|
$this->db->trans_start();
|
||||||
$this->db->insert('T_Requestion_Details', $Requistion);
|
$this->db->insert('T_Requestion_Details', $Requistion);
|
||||||
$insert_id = $this->db->affected_rows();
|
$insert_id = $this->db->affected_rows();
|
||||||
|
$this->db->trans_complete();
|
||||||
$subQuery = 'select max(ItemNo) as ItemNo from T_Requestion_Details where ReqNo=?';
|
$subQuery = 'select max(ItemNo) as ItemNo from T_Requestion_Details where ReqNo=?';
|
||||||
|
|
||||||
$query = $this->db->query($subQuery,array($RegNo));
|
$query = $this->db->query($subQuery,array($RegNo));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user