예제 #1
0
        protected void InitializeData()
        {
            //gvData.PageSize = (int)Constants.PAGING_UNAPPROVED;

            if (Session[Constants.SES_CONFIG_UNAPPROVE_DATA] == null)
            {
                Session.Add(Constants.SES_CONFIG_UNAPPROVE_DATA, new DataTable());
            }
            else
            {
                Session[Constants.SES_CONFIG_UNAPPROVE_DATA] = new DataTable();
            }

            Config oConfig = (Config)Session[Constants.SES_USER_CONFIG];
            string sType   = Request.QueryString["pType"];

            if (sType.Equals(Convert.ToString((int)Constants.PAGEINDEX_TRANS.LIEN_MARK).PadLeft(5, '0')) ||
                sType.Equals(Convert.ToString((int)Constants.PAGEINDEX_TRANS.LIEN_MARK_REMOVE).PadLeft(5, '0')))
            {
                DDListUtil.LoadActiveUser(ddlUserName, "UserName", "UserName", "SA_User", (int)Constants.USER_GROUP.LIEN_MAKER, false, oConfig.DivisionID);
            }
            else
            {
                DDListUtil.LoadActiveUser(ddlUserName, "UserName", "UserName", "SA_User", (int)Constants.USER_GROUP.MAKER, false, oConfig.DivisionID);
            }

            SearchAction();
        }
예제 #2
0
        protected void InitializeData()
        {
            Config oConfig = (Config)Session[Constants.SES_USER_CONFIG];

            DDListUtil.LoadActiveUser(ddlUserName, "UserName", "UserName", "SA_User", (int)Constants.USER_GROUP.MAKER, false, oConfig.DivisionID);
            DDListUtil.LoadDDLFromDB(ddlJournalType, "JournalType", "Description", "SPMS_JournalType", false);
            RBLChangeColor(rblCurrencyActivity);
            lblActivity.Text = rblCurrencyActivity.Items[0].Value;
        }
예제 #3
0
    protected void InitializeData()
    {
        if (Session[Constants.SES_CONFIG_UNAPPROVE_DATA] == null)
        {
            Session.Add(Constants.SES_CONFIG_UNAPPROVE_DATA, new DataTable());
        }
        else
        {
            Session[Constants.SES_CONFIG_UNAPPROVE_DATA] = new DataTable();
        }
        Config oConfig = (Config)Session[Constants.SES_USER_CONFIG];

        DDListUtil.LoadActiveUser(ddlUserName, "UserName", "UserName", "SA_User", (int)Constants.USER_GROUP.CHECKER, false, oConfig.DivisionID);
        SearchAction();
    }