Ejemplo n.º 1
0
 /// <summary>
 /// Function to print stock journal
 /// </summary>
 /// <param name="decMasterId"></param>
 public void Print(decimal decMasterId)
 {
     StockJournalMasterSP spStockJournalMaster = new StockJournalMasterSP();
     try
     {
         DataSet dsStockJournal = spStockJournalMaster.StockJournalPrinting(decMasterId);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.StockJournalPrinting(dsStockJournal);
     }
     catch (Exception ex)
     {
         MessageBox.Show("SJ: 53" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }