protected virtual string[][] getDefaultValues()
        {
            List <string[]> list    = new List <string[]>();
            string          PARM    = "MOB_DEFAULTVALS_" + getId();
            string          listStr = environment.getSysSettings().getString(PARM);
            // listStr = "INVOICE,READONLY,1;INVOICE,READONLY,1;xxxx,yyyy,1";
            DataTable table = ToolString.explodeForTable(listStr, new string[] { TableDUMMY.TABLE, TableDUMMY.COLUMN, TableDUMMY.VALUE });

            foreach (DataRow row in table.Rows)
            {
                list.Add(new string[] { row[TableDUMMY.TABLE].ToString(), row[TableDUMMY.COLUMN].ToString(), row[TableDUMMY.VALUE].ToString() });
            }
            return(list.ToArray());
        }
        public virtual void globalRead(IEnvironment pEnv, ISettings pSettings)
        {
            _isGlobalInited = true;
            NullText        = string.Empty;
            InitForGlobal.read(this, getGlobalObjactName(), pEnv, pSettings);

            const string attrFormatSet = "FormatSet";
            string       formatSet     = pSettings.getStringAttr(this.Name, attrFormatSet);

            if (formatSet != null && formatSet != string.Empty)
            {
                string formatSetData = pSettings.getString(formatSet);
                if (formatSetData != null && formatSetData != string.Empty)
                {
                    DataTable tab = ToolString.explodeForTable(formatSetData, new string[] { TableDUMMY.LOGICALREF, TableDUMMY.VALUE });
                    pEnv.translate(tab);
                    //ToolColumn.changeType(tab, TableDUMMY.LOGICALREF, this.ValueType);
                    tab.PrimaryKey = new DataColumn[] { tab.Columns[TableDUMMY.LOGICALREF] };
                    FormatInfo     = new FormatFromTable(this.Name, tab, TableDUMMY.VALUE);
                }
            }
        }