/// <summary>
 /// Function to use the deliverynote no combofill
 /// </summary>
 /// <param name="decledgerid"></param>
 /// <param name="decVoucherTypeId"></param>
 public void DeliveryNoteNoCombofill()
 {
     try
     {
         isOrderFill = true;
         List<DataTable> listObj = new List<DataTable>();
         DeliveryNoteBll bllDeliveryNote = new DeliveryNoteBll();
         decimal decledgerid = Convert.ToDecimal(cmbCashorParty.SelectedValue.ToString());
         decimal decVoucherTypeId = Convert.ToDecimal(cmbVoucherType.SelectedValue.ToString());
         listObj = bllDeliveryNote.DeliveryNoteNoCorrespondingToLedger(decledgerid, decRejectionInIdToEdit, decVoucherTypeId);
         cmbDeliveryNoteNo.DataSource = listObj[0];
         cmbDeliveryNoteNo.DisplayMember = "invoiceNo";
         cmbDeliveryNoteNo.ValueMember = "deliveryNoteMasterId";
         cmbDeliveryNoteNo.SelectedIndex = -1;
         isOrderFill = false;
     }
     catch (Exception ex)
     {
         MessageBox.Show("RI:07" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }