//private void ExportDocument(eExportType expType)
        //{

        //    try
        //    {
        //        GridExportController gridController = new GridExportController(this.grdQryDetail.Views[0]);
        //        switch (expType)
        //        {
        //            case eExportType.html:
        //                gridController.ExportToHTML(this.FileName_Detail + ".html", "HTML Document", "HTML Files|*.html");
        //                break;
        //            case eExportType.pdf:
        //                gridController.ExportToPDF(this.FileName_Detail + ".pdf", "PDF Document", "PDF Files|*.pdf");
        //                break;
        //            case eExportType.rtf:
        //                gridController.ExportToRTF(this.FileName_Detail + ".rtf", "RTF Document", "RTF Files|*.rtf");
        //                break;
        //            case eExportType.txt:
        //                gridController.ExportToTEXT(this.FileName_Detail + ".txt", "Text Document", "Text Files|*.txt");
        //                break;
        //            case eExportType.xls:
        //                gridController.ExportToXLS(this.FileName_Detail + ".xls", "Microsoft Excel Document", "Microsoft Excel|*.xls");
        //                break;
        //            case eExportType.xlsx:
        //                gridController.ExportToXLSX(this.FileName_Detail + ".xlsx", "Microsoft Excel 2007 Document", "Microsoft Excel|*.xlsx");
        //                break;
        //            default:
        //                break;

        //        }

        //    }
        //    catch (Exception ex)
        //    {
        //        XtraMessageBox.Show(this, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
        //    }
        //}

        private void Query_StockInSummary_Detail()
        {
            //TimeSpan executionTime = new TimeSpan();
            try
            {
                base.BeginProcessing("Begin Load data...", "Please Waiting for Loading Data");

                DataTable dtbStkOutDtl = null;
                using (QueryBLL queryBll = new QueryBLL())
                {
                    dtbStkOutDtl = queryBll.StockInSummaryDetail_Mtl(this._WH_ID, this._ARR_TYPE, this._PARTY_NAME, this._PRODUCT_NO, this._IN_DATE);
                    //executionTime = queryBll.ExecutionTime;
                }

                this.grdQryDetail.DataSource   = dtbStkOutDtl;
                this.dntProdTracDtl.DataSource = dtbStkOutDtl;
            }
            catch (Exception ex)
            {
                base.FinishedProcessing();

                this.grdQryDetail.DataSource = null;

                XtraMessageBox.Show(this, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
            }
            finally
            {
                base.FinishedProcessing();
                //((frmMainMenu)this.ParentForm).ExecuteTime.Caption = "Execute Time: " + UiUtility.TimeSpanInWords(executionTime);
            }
        }