/// <summary>
 /// Function to use the Batch ComboFill
 /// </summary>
 /// <param name="inRowIndex"></param>
 /// <param name="decProductId"></param>
 public void DGVBatchComboFill(int inRowIndex, decimal decProductId)
 {
     try
     {
         BatchBll BllBatch = new BatchBll();
         BllBatch.BatchViewbyProductIdForComboFillInGrid(decProductId, dgvProduct, inRowIndex);
     }
     catch (Exception ex)
     {
         MessageBox.Show("RI:18" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 /// <summary>
 /// To Get Default Product Values
 /// </summary>
 /// <param name="inindex"></param>
 /// <param name="decproductId"></param>
 public void ProductDefaultValues(int inindex, decimal decproductId)
 {
     try
     {
         UnitBll bllUnit = new UnitBll();
         isValueChange = false;
         infoProduct = BllProductCreation.ProductView(decproductId);
         dgvProduct.Rows[inindex].Cells["dgvtxtProductCode"].Value = infoProduct.ProductCode;
         dgvProduct.Rows[inindex].Cells["dgvtxtProductName"].Value = infoProduct.ProductName;
         TransactionsGeneralFillBll objTransactionsGeneralFillBll = new TransactionsGeneralFillBll();
        List<DataTable> listObj = new List<DataTable>();
         listObj = objTransactionsGeneralFillBll.UnitViewAllByProductId(dgvProduct, decproductId.ToString(), inindex);
         BatchBll BllBatch = new BatchBll();
         BllBatch.BatchViewbyProductIdForComboFillInGrid(decproductId, dgvProduct, inindex);
         isValueChange = true;
     }
     catch (Exception ex)
     {
         MessageBox.Show("RO40:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }