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); }
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; } }