Business functions for Gift sub system of Finance
More...
|
| static void | GetLastGiftDetails (Int64 APartnerKey, out DateTime ALastGiftDate, out String AGiftInfo) |
| | get the details of the last gift of the partner More...
|
| |
| static Boolean | GetLastGiftDetails (Int64 APartnerKey, out DateTime ALastGiftDate, out decimal ALastGiftAmount, out Int64 ALastGiftGivenToPartnerKey, out Int64 ALastGiftRecipientLedger, out String ALastGiftCurrencyCode, out String ALastGiftDisplayFormat, out String ALastGiftGivenToShortName, out String ALastGiftRecipientLedgerShortName, out Boolean ARestrictedOrConfidentialGiftAccessDenied) |
| | get more details of the last gift of the partner More...
|
| |
| static bool | GiftRestricted (AGiftRow gift, TDBTransaction ATransaction) |
| | Check if a gift is really restricted or if the user belongs to the group that is allowed to access the gift More...
|
| |
| static void | SetDefaultTaxDeductibilityData (ref AGiftDetailRow AGiftDetail, DateTime ADateEntered, TDBTransaction ATransaction) |
| | Sets TaxDeductiblePct and uses it to calculate the tax deductibility amounts for a Gift Detail More...
|
| |
Business functions for Gift sub system of Finance
These Business Objects handle the retrieval, verification and saving of data.
@Comment These Business Objects can be instantiated by other Server Objects (usually UIConnectors).
◆ GetLastGiftDetails() [1/2]
| static Boolean Ict.Petra.Server.MFinance.Gift.TGift.GetLastGiftDetails |
( |
Int64 |
APartnerKey, |
|
|
out DateTime |
ALastGiftDate, |
|
|
out decimal |
ALastGiftAmount, |
|
|
out Int64 |
ALastGiftGivenToPartnerKey, |
|
|
out Int64 |
ALastGiftRecipientLedger, |
|
|
out String |
ALastGiftCurrencyCode, |
|
|
out String |
ALastGiftDisplayFormat, |
|
|
out String |
ALastGiftGivenToShortName, |
|
|
out String |
ALastGiftRecipientLedgerShortName, |
|
|
out Boolean |
ARestrictedOrConfidentialGiftAccessDenied |
|
) |
| |
|
inlinestatic |
get more details of the last gift of the partner
- Parameters
-
| APartnerKey | |
| ALastGiftDate | |
| ALastGiftAmount | |
| ALastGiftGivenToPartnerKey | |
| ALastGiftRecipientLedger | |
| ALastGiftCurrencyCode | |
| ALastGiftDisplayFormat | |
| ALastGiftGivenToShortName | |
| ALastGiftRecipientLedgerShortName | |
| ARestrictedOrConfidentialGiftAccessDenied | |
- Returns
◆ GetLastGiftDetails() [2/2]
| static void Ict.Petra.Server.MFinance.Gift.TGift.GetLastGiftDetails |
( |
Int64 |
APartnerKey, |
|
|
out DateTime |
ALastGiftDate, |
|
|
out String |
AGiftInfo |
|
) |
| |
|
inlinestatic |
get the details of the last gift of the partner
- Parameters
-
| APartnerKey | |
| ALastGiftDate | |
| AGiftInfo | |
◆ GiftRestricted()
| static bool Ict.Petra.Server.MFinance.Gift.TGift.GiftRestricted |
( |
AGiftRow |
gift, |
|
|
TDBTransaction |
ATransaction |
|
) |
| |
|
inlinestatic |
Check if a gift is really restricted or if the user belongs to the group that is allowed to access the gift
- Parameters
-
| gift | the gift we want to check for restriction |
| ATransaction | A TDBTransaction object for reuse |
- Returns
- true if the user has no permission and the gift is restricted /returns>
◆ SetDefaultTaxDeductibilityData()
| static void Ict.Petra.Server.MFinance.Gift.TGift.SetDefaultTaxDeductibilityData |
( |
ref AGiftDetailRow |
AGiftDetail, |
|
|
DateTime |
ADateEntered, |
|
|
TDBTransaction |
ATransaction |
|
) |
| |
|
inlinestatic |
Sets TaxDeductiblePct and uses it to calculate the tax deductibility amounts for a Gift Detail
- Parameters
-
| AGiftDetail | Calculated amounts are added to this row |
| ADateEntered | |
| ATransaction | |
The documentation for this class was generated from the following file:
- csharp/ICT/Petra/Server/lib/MFinance/Gift/Gift.cs