/// <summary>
    /// 예측실적 그리드 조회
    /// </summary>
    private void SetExceptGrid()
    {
        this.IYMD_NEXT = "-";

        Biz_Bsc_Kpi_Term objTrm = new Biz_Bsc_Kpi_Term();

        this.IYMD_NEXT = objTrm.GetNavigateMonth(this.IEstTermRefID, this.IKpiRefID, this.IYMD, gNavigator.NEXT);

        Biz_Bsc_Kpi_Result_Expect objNextExp = new Biz_Bsc_Kpi_Result_Expect(this.IEstTermRefID, this.IKpiRefID, this.IYMD_NEXT);

        lblExtResult_MS.Text         = objNextExp.IResult_Ms.ToString();
        lblExtResult_TS.Text         = objNextExp.IResult_Ts.ToString();
        lblEXPECT_REASON_MS.Text     = objNextExp.IExpect_Reason_Ms;
        lblEXPECT_REASON_TS.Text     = objNextExp.IExpect_Reason_Ts;
        lbltxtRESULT_DIFF_CAUSE.Text = objNextExp.IResult_Diff_Cause;
        hdfExpectReasonFileId.Value  = objNextExp.IExpect_Reason_File_Id;
        hdfResultDiffFileId.Value    = objNextExp.IResult_Diff_File_Id;

        iBtnEXPECT_REASON_FILE_ID.Visible = (objNextExp.IExpect_Reason_File_Id == "") ? false : true;
        iBtnRESULT_DIFF_FILE_ID.Visible   = (objNextExp.IResult_Diff_File_Id == "")   ? false : true;

        lblNextYmd_Ms.Text = this.IYMD_NEXT;
        lblNextYmd_Ts.Text = this.IYMD_NEXT;

        DataSet rDs = objNextExp.GetResultExpect(this.IEstTermRefID, this.IKpiRefID, this.IYMD);

        grvResultExpt.DataSource = rDs.Tables[0].DefaultView;
        grvResultExpt.DataBind();
    }
Exemple #2
0
    /// <summary>
    /// 예측실적 그리드 조회
    /// </summary>
    private void SetExceptGrid()
    {
        this.IYMD_NEXT = "-";

        Biz_Bsc_Kpi_Term objTrm = new Biz_Bsc_Kpi_Term();

        this.IYMD_NEXT = objTrm.GetNavigateMonth(this.IEstTermRefID, this.IKpiRefID, this.IYMD, gNavigator.NEXT);

        Biz_Bsc_Kpi_Result_Expect objNextExp = new Biz_Bsc_Kpi_Result_Expect(this.IEstTermRefID, this.IKpiRefID, this.IYMD_NEXT);

        lblExtResult_MS.Text         = PageUtility.GetHtmlEncodeChar(objNextExp.IResult_Ms.ToString());
        lblExtResult_TS.Text         = PageUtility.GetHtmlEncodeChar(objNextExp.IResult_Ts.ToString());
        lblEXPECT_REASON_MS.Text     = PageUtility.GetHtmlEncodeChar(objNextExp.IExpect_Reason_Ms);
        lblEXPECT_REASON_TS.Text     = PageUtility.GetHtmlEncodeChar(objNextExp.IExpect_Reason_Ts);
        lbltxtRESULT_DIFF_CAUSE.Text = PageUtility.GetHtmlEncodeChar(objNextExp.IResult_Diff_Cause);

        lblNextYmd_Ms.Text = this.IYMD_NEXT;
        lblNextYmd_Ts.Text = this.IYMD_NEXT;

        DataSet rDs = objNextExp.GetResultExpect(this.IEstTermRefID, this.IKpiRefID, this.IYMD);

        grvResultExpt.DataSource = rDs.Tables[0].DefaultView;
        grvResultExpt.DataBind();
    }