void PrintBOM()
        {
            // bool BOMWorkspaceExist = false;

            SalesOrder salesorder = new SalesOrder();

            List <SalesOrder> salesOrdersList = salesorder.GetAllSalesOrders();

            if (salesOrdersList.Count > 0)
            {
                ReportViewerUI repWindow = new ReportViewerUI();
                BOMReport      soReport  = new BOMReport();
                ReportUtility.Display_report(soReport, salesOrdersList, repWindow);
            }
        }