Performs server-side lookups for the Client in the MCommon DataReader sub-namespace.
More...
|
static bool | CheckPartnersCanBeMerged (long AFromPartnerKey, long AToPartnerKey, TPartnerClass AFromPartnerClass, TPartnerClass AToPartnerClass, string AReasonForMerging, out TVerificationResultCollection AVerificationResult) |
| performs checks to determine if two partners can be merged More...
|
|
static bool | GetSupplierCurrency (long APartnerKey, out string ACurrency) |
| returns the supplier currency for a partner if it is a supplier More...
|
|
static int | CanFamilyMergeIntoDifferentClass (long APartnerKey) |
| this will validate two partners who have been selected to be merged More...
|
|
static int | CheckPartnerCommitments (long AFromPartnerKey, long AToPartnerKey, TPartnerClass APartnerClass) |
| check if persons have ongoing commitments or if familys contain persons with ongoing commitments More...
|
|
static PFoundationTable | GetOrganisationFoundation (long AFromPartnerKey) |
| get the PFoundation table for an organisation if it is a foundation More...
|
|
static bool | NeedMainBankAccount (long AFromPartnerKey, long AToPartnerKey) |
| determines if the user needs to select a main bank account for the merged record More...
|
|
static PBankingDetailsTable | GetPartnerBankingDetails (long AFromPartnerKey, long AToPartnerKey) |
| get the banking details of the From Partner and the To Partner in a single table More...
|
|
static PartnerEditTDSPPartnerAttributeTable | GetPartnerContactDetails (long AFromPartnerKey, long AToPartnerKey) |
| get the contact details of the From Partner More...
|
|
static bool | ActiveGiftDestination (long AFromPartnerKey, long AToPartnerKey, TPartnerClass APartnerClass, out bool AFromGiftDestinationNeedsEnded, out bool AToGiftDestinationNeedsEnded) |
| Finds if an active Gift Destination exists and checkes if it can be merged More...
|
|
static PPartnerGiftDestinationRow | GetActiveGiftDestination (PPartnerGiftDestinationTable APartnersGiftDestinations) |
| Finds the active Gift Destination (if it exists) More...
|
|
static void | CheckGiftDestinationClashes (PPartnerGiftDestinationTable AToPartnersGiftDestinations, PPartnerGiftDestinationRow AFromActiveRow, out PPartnerGiftDestinationRow AFromGiftDestinationNeedsEnded, out PPartnerGiftDestinationRow AToGiftDestinationNeedsEnded) |
| Checkes for clashes when moving an active Gift Destination to a new Family More...
|
|
Performs server-side lookups for the Client in the MCommon DataReader sub-namespace.
◆ ActiveGiftDestination()
static bool Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersCheckWebConnector.ActiveGiftDestination |
( |
long |
AFromPartnerKey, |
|
|
long |
AToPartnerKey, |
|
|
TPartnerClass |
APartnerClass, |
|
|
out bool |
AFromGiftDestinationNeedsEnded, |
|
|
out bool |
AToGiftDestinationNeedsEnded |
|
) |
| |
|
inlinestatic |
Finds if an active Gift Destination exists and checkes if it can be merged
- Parameters
-
AFromPartnerKey | Partner being merged from |
AToPartnerKey | Partner being merged to |
APartnerClass | Partner class of both partners |
AFromGiftDestinationNeedsEnded | True if active 'From' Gift Destination needs it's expiry date modified in order to merge |
AToGiftDestinationNeedsEnded | True if active 'To' Gift Destination needs it's expiry date modified in order to merge |
- Returns
◆ CanFamilyMergeIntoDifferentClass()
static int Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersCheckWebConnector.CanFamilyMergeIntoDifferentClass |
( |
long |
APartnerKey | ) |
|
|
inlinestatic |
this will validate two partners who have been selected to be merged
- Parameters
-
- Returns
- 0: there are no probelms, 1: family members exist, 2: donations exist, 3: bank accounts exist
◆ CheckGiftDestinationClashes()
Checkes for clashes when moving an active Gift Destination to a new Family
- Parameters
-
AToPartnersGiftDestinations | New Family's Gift Destination |
AFromActiveRow | Active Gift Destination to be moved |
AFromGiftDestinationNeedsEnded | Returns record with an effective date that the Active Row needs to be expired before |
AToGiftDestinationNeedsEnded | Returns record that needs expired before the Active Row is effective |
◆ CheckPartnerCommitments()
static int Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersCheckWebConnector.CheckPartnerCommitments |
( |
long |
AFromPartnerKey, |
|
|
long |
AToPartnerKey, |
|
|
TPartnerClass |
APartnerClass |
|
) |
| |
|
inlinestatic |
check if persons have ongoing commitments or if familys contain persons with ongoing commitments
- Parameters
-
AFromPartnerKey | Merge from Partner |
AToPartnerKey | Merge to Partner |
APartnerClass | Partner Class for both Partners |
- Returns
- 0: no commitments, 1: from partner/family only has commitments, 2: from and to partner/family have commitments, 3: to or/and from commitments and both in same family (person class only)
◆ CheckPartnersCanBeMerged()
static bool Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersCheckWebConnector.CheckPartnersCanBeMerged |
( |
long |
AFromPartnerKey, |
|
|
long |
AToPartnerKey, |
|
|
TPartnerClass |
AFromPartnerClass, |
|
|
TPartnerClass |
AToPartnerClass, |
|
|
string |
AReasonForMerging, |
|
|
out TVerificationResultCollection |
AVerificationResult |
|
) |
| |
|
inlinestatic |
performs checks to determine if two partners can be merged
- Parameters
-
- Returns
- True if partners can be merged
◆ GetActiveGiftDestination()
Finds the active Gift Destination (if it exists)
- Parameters
-
APartnersGiftDestinations | Table containing the Gift Destinations for one Family Partner |
- Returns
- Returns the active Gift Destination or null if none exist
◆ GetOrganisationFoundation()
static PFoundationTable Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersCheckWebConnector.GetOrganisationFoundation |
( |
long |
AFromPartnerKey | ) |
|
|
inlinestatic |
get the PFoundation table for an organisation if it is a foundation
- Parameters
-
AFromPartnerKey | Organisation's Partner Key |
- Returns
- Returns PFoundation table containing an organisation's foundation records if they exist. Otherwise returns null.
◆ GetPartnerBankingDetails()
static PBankingDetailsTable Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersCheckWebConnector.GetPartnerBankingDetails |
( |
long |
AFromPartnerKey, |
|
|
long |
AToPartnerKey |
|
) |
| |
|
inlinestatic |
get the banking details of the From Partner and the To Partner in a single table
◆ GetPartnerContactDetails()
static PartnerEditTDSPPartnerAttributeTable Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersCheckWebConnector.GetPartnerContactDetails |
( |
long |
AFromPartnerKey, |
|
|
long |
AToPartnerKey |
|
) |
| |
|
inlinestatic |
get the contact details of the From Partner
◆ GetSupplierCurrency()
static bool Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersCheckWebConnector.GetSupplierCurrency |
( |
long |
APartnerKey, |
|
|
out string |
ACurrency |
|
) |
| |
|
inlinestatic |
returns the supplier currency for a partner if it is a supplier
- Parameters
-
- Returns
- true if partner is a supplier and a currency is found
◆ NeedMainBankAccount()
static bool Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersCheckWebConnector.NeedMainBankAccount |
( |
long |
AFromPartnerKey, |
|
|
long |
AToPartnerKey |
|
) |
| |
|
inlinestatic |
determines if the user needs to select a main bank account for the merged record
- Parameters
-
- Returns
- Returns PFoundation table containing an organisation's foundation records if they exist. Otherwise returns null.
The documentation for this class was generated from the following file: