OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.Gift.WebConnectors.TTaxDeductibleWebConnector Class Reference

setup the motivation groups and motivation details More...

Static Public Member Functions

static bool IsPartnerARecipient (Int64 APartnerKey, out DataTable AGiftTotals, decimal APct, DateTime ADateFrom)
 Determines whether a partner is the recipient of unposted or posted gifts after a certain date with a different TaxDeductiblePct from the one given. More...
 
static void UpdateUnpostedGiftsTaxDeductiblePct (Int64 ARecipientKey, decimal ANewPct, DateTime ADateFrom)
 Updates the TaxDeductiblePct for unposted gifts to the given recipient More...
 
static bool GetGiftsForTaxDeductiblePctAdjustment (ref GiftBatchTDS AGiftDS, Int64 ARecipientKey, DateTime ADateFrom, decimal ANewPct, out TVerificationResultCollection AMessages)
 Find all gifts that need their tax deductible percentage adjusted More...
 

Detailed Description

setup the motivation groups and motivation details

Member Function Documentation

◆ GetGiftsForTaxDeductiblePctAdjustment()

static bool Ict.Petra.Server.MFinance.Gift.WebConnectors.TTaxDeductibleWebConnector.GetGiftsForTaxDeductiblePctAdjustment ( ref GiftBatchTDS  AGiftDS,
Int64  ARecipientKey,
DateTime  ADateFrom,
decimal  ANewPct,
out TVerificationResultCollection  AMessages 
)
inlinestatic

Find all gifts that need their tax deductible percentage adjusted

Parameters
AGiftDSGift Batch containing all the data needed for tax deductible pct Adjustment
ARecipientKey
ADateFrom
ANewPct
AMessagesAdditional messages to display in a messagebox
Returns

◆ IsPartnerARecipient()

static bool Ict.Petra.Server.MFinance.Gift.WebConnectors.TTaxDeductibleWebConnector.IsPartnerARecipient ( Int64  APartnerKey,
out DataTable  AGiftTotals,
decimal  APct,
DateTime  ADateFrom 
)
inlinestatic

Determines whether a partner is the recipient of unposted or posted gifts after a certain date with a different TaxDeductiblePct from the one given.

Parameters
APartnerKey
AGiftTotalsTable containing the number of gifts to the partner with a different TaxDeductiblePct from the one given per ledger.
APctWhat the Ta DeductiblePct should be.
ADateFromDate from which we check posted gifts
Returns

◆ UpdateUnpostedGiftsTaxDeductiblePct()

static void Ict.Petra.Server.MFinance.Gift.WebConnectors.TTaxDeductibleWebConnector.UpdateUnpostedGiftsTaxDeductiblePct ( Int64  ARecipientKey,
decimal  ANewPct,
DateTime  ADateFrom 
)
inlinestatic

Updates the TaxDeductiblePct for unposted gifts to the given recipient

Parameters
ARecipientKey
ANewPct
ADateFrom

The documentation for this class was generated from the following file: