private void UpdateGiftDestinationOnDateChange(ref GiftBatchTDSAGiftDetailRow ARow, DateTime ADate) { // only make changes if gift doesn't have a fixed gift destination if ((ARow.IsFixedGiftDestinationNull() || !ARow.FixedGiftDestination) && (ARow.IsModifiedDetailNull() || !ARow.ModifiedDetail) && (ARow.RecipientKey > 0) && (ARow.RecipientClass == TPartnerClass.FAMILY.ToString())) { ARow.RecipientLedgerNumber = TRemote.MFinance.Gift.WebConnectors.GetRecipientFundNumber(ARow.RecipientKey, ADate); } }