예제 #1
0
        private void SetMainTable()
        {
            MainTableRow     altIBasen           = mMetaQuery.GetMainTableRow(mMainTableId);
            DataStorageRow   tmpDataStoreageRow  = mMetaQuery.GetDataStorageRow(altIBasen.ProductCode);
            MenuSelectionRow tmpMenuSelectionRow = mMetaQuery.GetMenuSelectionRow("START", altIBasen.SubjectCode);

            mMainTable = new PXSqlMaintable(altIBasen, tmpDataStoreageRow, tmpMenuSelectionRow, this);
        }
예제 #2
0
        internal PXSqlMaintable(MainTableRow mtRow, DataStorageRow dataStorageRow, MenuSelectionRow menuSelectionRow, PXSqlMeta_22 meta)
        {
            this.meta            = meta;
            this.mtRow           = mtRow;
            this.mDataStorageRow = dataStorageRow;

            this.mSubjectCode = menuSelectionRow.Selection;

            foreach (string langCode in menuSelectionRow.texts.Keys)
            {
                mSubjectAreaByLanguage[langCode] = menuSelectionRow.texts[langCode].PresText;
            }
        }