Inward issue fixed

This commit is contained in:
gandhimathi Bharathirajan 2017-07-14 14:24:45 +05:30
parent d04f08a3b0
commit 0a0e337808

View File

@ -160,4 +160,15 @@ class inwardgateregister_model extends CI_Model
}
}
function getPOLineItemReceivedQty($PONO,$MaterialCode)
{
$this->db->select('ReceivedQuantity');
$this->db->from('T_PurchaseOrder_LineItem');
$this->db->where('PONO',$PONO);
$this->db->where('MaterialCode',$MaterialCode);
$query = $this->db->get();
// print_r( $this->db->last_query());
$result = $query->result();
return $result;
}
}