Esempio n. 1
0
 /// <summary>
 /// Function to print the voucher
 /// </summary>
 /// <param name="decMasterId"></param>
 public void Print(decimal decMasterId)
 {
     try
     {
         CreditNoteMasterSP spCreditNoteMaster = new CreditNoteMasterSP();
         DataSet dsCreditNote = spCreditNoteMaster.CreditNotePrinting(decMasterId, 1);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.CreditNotePrinting(dsCreditNote);
     }
     catch (Exception ex)
     {
         MessageBox.Show("CRNT:21" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }