Пример #1
0
 private void SetMaintValueNotes(RelevantFootNotesRow footNoteRow)
 {
     if (mVariables.ContainsKey(footNoteRow.Variable))
     {
         if (mVariables[footNoteRow.Variable].isSelected)
         {
             if (mVariables[footNoteRow.Variable].Values.ContainsKey(footNoteRow.ValueCode))
             {
                 if (footNoteRow.ValuePool == mVariables[footNoteRow.Variable].Values[footNoteRow.ValueCode].ValuePool)
                 {
                     PXSqlNote mNote;
                     mNote = new PXSqlNote(footNoteRow, this);
                     mMaintValueNotes.Add(mNote);
                     //            mPXSqlVariables[footNoteRow.Variable].Values[footNoteRow.ValueCode].FootNotesValue.Add(footNoteRow);
                 }
             }
         }
     }
 }
Пример #2
0
        private void SetCellNotesNotes(RelevantFootNotesRow footNoteRow)
        {
            // ContentsVariable
            PXSqlNote mNote;

            if (mContents.ContainsKey(footNoteRow.Contents))
            {
                if (mVariables.ContainsKey(footNoteRow.Variable))
                {
                    if (mVariables[footNoteRow.Variable].isSelected)
                    {
                        if (mVariables[footNoteRow.Variable].Values.ContainsKey(footNoteRow.ValueCode))
                        {
                            if (mTimeVariable.Values.ContainsKey(footNoteRow.TimePeriod))
                            {
                                mNote = new PXSqlNote(footNoteRow, this);
                                mCellNotes.Add(mNote);
                            }
                        }
                    }
                }
            }
        }