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

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

Static Public Member Functions

static DataTable GetEventUnits ()
 return unit table which contains conferences that match a given search string Only returns key, name and outreach code fields at the moment. More...
 
static PUnitTable GetActiveFieldUnits ()
 Return unit table which contains fields (unit partners) that match a given search string and have status ACTIVE. Only returns key and name field at the moment. More...
 
static PUnitTable GetLedgerUnits ()
 Return unit table which contains ledger records (unit partners) that match a given search string Only returns key and name field at the moment. More...
 
static Boolean IsPUnitAConference (Int64 APartnerKey)
 Check if a PUnit record has a corresponding PcConference record in the db More...
 
static PBankingDetailsTable GetBankingDetailsRow (int ABankingDetailsKey)
 Finds and returns a BankingDetailsRow with given BankingDetailsKey More...
 
static PPartnerTable SharedBankAccountPartners (int ABankingDetailsKey, long APartnerKey)
 Finds any Partners that share ABankingDetailsKey More...
 
static BankTDS GetPBankRecords ()
 Gets all Bank records. More...
 
static int GetNewKeyForPartnerGiftDestination ()
 Gets the next available key for PPartnerGiftDestination More...
 
static long GetUnitHierarchyRootUnitKey ()
 Returns the Unit Key for the root node of the Unit Hierarchy More...
 

Detailed Description

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

Member Function Documentation

◆ GetActiveFieldUnits()

static PUnitTable Ict.Petra.Server.MPartner.Partner.WebConnectors.TPartnerDataReaderWebConnector.GetActiveFieldUnits ( )
inlinestatic

Return unit table which contains fields (unit partners) that match a given search string and have status ACTIVE. Only returns key and name field at the moment.

Returns

◆ GetBankingDetailsRow()

static PBankingDetailsTable Ict.Petra.Server.MPartner.Partner.WebConnectors.TPartnerDataReaderWebConnector.GetBankingDetailsRow ( int  ABankingDetailsKey)
inlinestatic

Finds and returns a BankingDetailsRow with given BankingDetailsKey

Parameters
ABankingDetailsKey
Returns

◆ GetEventUnits()

static DataTable Ict.Petra.Server.MPartner.Partner.WebConnectors.TPartnerDataReaderWebConnector.GetEventUnits ( )
inlinestatic

return unit table which contains conferences that match a given search string Only returns key, name and outreach code fields at the moment.

Returns

◆ GetLedgerUnits()

static PUnitTable Ict.Petra.Server.MPartner.Partner.WebConnectors.TPartnerDataReaderWebConnector.GetLedgerUnits ( )
inlinestatic

Return unit table which contains ledger records (unit partners) that match a given search string Only returns key and name field at the moment.

Returns

◆ GetNewKeyForPartnerGiftDestination()

static int Ict.Petra.Server.MPartner.Partner.WebConnectors.TPartnerDataReaderWebConnector.GetNewKeyForPartnerGiftDestination ( )
inlinestatic

Gets the next available key for PPartnerGiftDestination

Returns
The next available key

◆ GetPBankRecords()

static BankTDS Ict.Petra.Server.MPartner.Partner.WebConnectors.TPartnerDataReaderWebConnector.GetPBankRecords ( )
inlinestatic

Gets all Bank records.

Returns
Dataset containing data for all Bank Partners.

◆ GetUnitHierarchyRootUnitKey()

static long Ict.Petra.Server.MPartner.Partner.WebConnectors.TPartnerDataReaderWebConnector.GetUnitHierarchyRootUnitKey ( )
inlinestatic

Returns the Unit Key for the root node of the Unit Hierarchy

Returns

◆ IsPUnitAConference()

static Boolean Ict.Petra.Server.MPartner.Partner.WebConnectors.TPartnerDataReaderWebConnector.IsPUnitAConference ( Int64  APartnerKey)
inlinestatic

Check if a PUnit record has a corresponding PcConference record in the db

Parameters
APartnerKeymatch long for partner key
Returns

◆ SharedBankAccountPartners()

static PPartnerTable Ict.Petra.Server.MPartner.Partner.WebConnectors.TPartnerDataReaderWebConnector.SharedBankAccountPartners ( int  ABankingDetailsKey,
long  APartnerKey 
)
inlinestatic

Finds any Partners that share ABankingDetailsKey

Parameters
ABankingDetailsKey
APartnerKeyPartner key for current partner
Returns
Table containing records of Partners that share this Bank Account

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