/// <summary>
 /// Print function
 /// </summary>
 /// <param name="decMasterId"></param>
 public void Print(decimal decMasterId)
 {
     try
     {
         PurchaseOrderBll BllPurchaseOrder = new PurchaseOrderBll();
         DataSet dsPurchaseOrder = BllPurchaseOrder.PurchaseOrderPrinting(decMasterId);
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.PurchaseOrderPrinting(dsPurchaseOrder);
     }
     catch (Exception ex)
     {
         MessageBox.Show("PO14:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }