OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersWebConnector Class Reference

Performs server-side lookups for the Client in the MCommon DataReader sub-namespace. More...

Static Public Member Functions

static bool MergeTwoPartners (long AFromPartnerKey, long AToPartnerKey, TPartnerClass AFromPartnerClass, TPartnerClass AToPartnerClass, long[] ASiteKeys, int[] ALocationKeys, List< string[]>AContactDetails, int AMainBankingDetailsKey, bool[] ACategories, ref bool ADifferentFamilies, ref TVerificationResultCollection AVerificationResults, TDataBase ADataBase=null)
 returns the supplier currency for a partner if it is a supplier More...
 

Detailed Description

Performs server-side lookups for the Client in the MCommon DataReader sub-namespace.

Member Function Documentation

◆ MergeTwoPartners()

static bool Ict.Petra.Server.MPartner.Partner.WebConnectors.TMergePartnersWebConnector.MergeTwoPartners ( long  AFromPartnerKey,
long  AToPartnerKey,
TPartnerClass  AFromPartnerClass,
TPartnerClass  AToPartnerClass,
long[]  ASiteKeys,
int[]  ALocationKeys,
List< string[]>  AContactDetails,
int  AMainBankingDetailsKey,
bool[]  ACategories,
ref bool  ADifferentFamilies,
ref TVerificationResultCollection  AVerificationResults,
TDataBase  ADataBase = null 
)
inlinestatic

returns the supplier currency for a partner if it is a supplier

Parameters
AFromPartnerKey
AToPartnerKey
AFromPartnerClass
AToPartnerClass
ASiteKeysSiteKeys for any address that the user would like to include in the merge
ALocationKeysLocationKeys for any address that the user would like to include in the merge
AContactDetailsAttribute Types and Sequences for any contact details that the user would like to include in the merge
AMainBankingDetailsKeyBankingDetailsKey for what should be the 'Main' bank account
ACategoriesArray determines which sections will be merged
ADifferentFamiliesTrue if two persons have been merged from different families
AVerificationResultsAn empty verification results collection that may be populated with messages for the client
ADataBase
Returns
true if the two partners were merged and the transaction committed successfully

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