public List <DataTable> MaterialReceiptNoCorrespondingToLedgerForReport(decimal decledgerid)
        {
            List <DataTable> ListObj = new List <DataTable>();

            try
            {
                ListObj = spMaterialReceiptMaster.MaterialReceiptNoCorrespondingToLedgerForReport(decledgerid);
            }
            catch (Exception ex)
            {
                MessageBox.Show("MRBLL8:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(ListObj);
        }
Exemple #2
0
 /// <summary>
 /// Function to fill MaterialReceipt combobox
 /// </summary>
 public void MaterialReceiptComboFill()
 {
     try
     {
         MaterialReceiptMasterSP spMaterialReceiptMaster = new MaterialReceiptMasterSP();
         cmbMaterialReceiptNo.DataSource    = spMaterialReceiptMaster.MaterialReceiptNoCorrespondingToLedgerForReport(Convert.ToDecimal(cmbCashOrParty.SelectedValue.ToString()));
         cmbMaterialReceiptNo.DisplayMember = "invoiceNo";
         cmbMaterialReceiptNo.ValueMember   = "materialReceiptMasterId";
         cmbMaterialReceiptNo.SelectedIndex = -1;
     }
     catch (Exception ex)
     {
         MessageBox.Show("ROREP06:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }