Beispiel #1
0
 static partial void ValidateRecurringGiftDetailManual(ref TVerificationResultCollection AVerificationResult,
                                                       TTypedDataTable ASubmitTable)
 {
     for (int Counter = 0; Counter < ASubmitTable.Rows.Count; Counter++)
     {
         TSharedFinanceValidation_Gift.ValidateRecurringGiftDetailManual("TTransactionWebConnector" +
                                                                         " (Error in Row #" + Counter.ToString() + ")", // No translation of message text since the server's messages should be all in English
                                                                         (GiftBatchTDSARecurringGiftDetailRow)ASubmitTable.Rows[Counter], ref AVerificationResult);
     }
 }
Beispiel #2
0
        static partial void ValidateRecurringGiftDetailManual(ref TVerificationResultCollection AVerificationResult,
                                                              TTypedDataTable ASubmitTable)
        {
            TValidationControlsDict ValidationControlsDict = new TValidationControlsDict();

            ValidationControlsDict.Add(ASubmitTable.Columns[ARecurringGiftDetailTable.ColumnGiftCommentOneId],
                                       new TValidationControlsData(null, ARecurringGiftDetailTable.GetGiftCommentOneDBName()));

            for (int Counter = 0; Counter < ASubmitTable.Rows.Count; Counter++)
            {
                TSharedFinanceValidation_Gift.ValidateRecurringGiftDetailManual("TTransactionWebConnector" +
                                                                                " (Error in Row #" + Counter.ToString() + ")", // No translation of message text since the server's messages should be all in English
                                                                                (GiftBatchTDSARecurringGiftDetailRow)ASubmitTable.Rows[Counter], ref AVerificationResult,
                                                                                ValidationControlsDict);
            }
        }