// get tax deductible percentage data from controls private void GetTaxDeductibleDataFromControlsManual(ref GiftBatchTDSAGiftDetailRow ARow) { ARow.TaxDeductiblePct = (decimal)txtDeductiblePercentage.NumberValueDecimal; ARow.TaxDeductibleAmount = (decimal)txtTaxDeductAmount.NumberValueDecimal; ARow.NonDeductibleAmount = (decimal)txtNonDeductAmount.NumberValueDecimal; if (txtDeductibleAccount.Text.Length == 0) { ARow.SetTaxDeductibleAccountCodeNull(); } else { ARow.TaxDeductibleAccountCode = txtDeductibleAccount.Text; } }
// get tax deductible percentage data from controls private void GetTaxDeductibleDataFromControlsManual(GiftBatchTDSAGiftDetailRow ARow) { if (FNewGiftInProcess) { return; } ARow.TaxDeductiblePct = txtDeductiblePercentage.NumberValueDecimal.Value; ReconcileTaxDeductibleAmounts(ARow); if (txtDeductibleAccount.Text.Length == 0) { ARow.SetTaxDeductibleAccountCodeNull(); } else { ARow.TaxDeductibleAccountCode = txtDeductibleAccount.Text; } }
// get tax deductible percentage data from controls private void GetTaxDeductibleDataFromControlsManual(GiftBatchTDSAGiftDetailRow ARow) { if (FCreatingNewGift) { return; } ARow.TaxDeductiblePct = txtDeductiblePercentage.NumberValueDecimal.Value; ARow.TaxDeductibleAmount = txtTaxDeductAmount.NumberValueDecimal.Value; ARow.NonDeductibleAmount = txtNonDeductAmount.NumberValueDecimal.Value; if (txtDeductibleAccount.Text.Length == 0) { ARow.SetTaxDeductibleAccountCodeNull(); } else { ARow.TaxDeductibleAccountCode = txtDeductibleAccount.Text; } }