OpenPetra
Free Administration Software for Non-Profits
|
The TContactDetailsAggregate Class contains logic for working with Partner Contact Details. More...
Static Public Member Functions | |
static bool | GetPrimaryPhoneNumber (TDBTransaction AReadTransaction, Int64 APartnerKey, out string APrimaryPhoneNumber) |
Gets the 'Primary Phone Number' of a Partner. More... | |
static bool | GetPrimaryEmailAddress (TDBTransaction AReadTransaction, Int64 APartnerKey, out string APrimaryEmailAddress) |
Gets the 'Primary Email Address' of a Partner. More... | |
static bool | GetPrimaryEmailAndPrimaryPhone (TDBTransaction AReadTransaction, Int64 APartnerKey, out string APrimaryPhoneNumber, out string APrimaryEmailAddress) |
Determines the 'Primary Phone Number' and the 'Primary E-mail Address' of a Partner. More... | |
static bool | GetPrimaryEmailAndPrimaryPhoneAndFax (TDBTransaction AReadTransaction, Int64 APartnerKey, out string APrimaryPhoneNumber, out string APrimaryEmailAddress, out string AFaxNumber) |
Determines the 'Primary Phone Number', 'Primary E-mail Address' and the 'Fax Number' of a Partner. More... | |
static bool | GetWithinOrganisationEmailAddress (TDBTransaction AReadTransaction, Int64 APartnerKey, out string AWithinOrganisationEmailAddress) |
Gets the 'Within Organisation Email Address' of a Partner. More... | |
static bool | GetWithinOrganisationOrPrimaryEmailAddress (TDBTransaction AReadTransaction, Int64 APartnerKey, out string AEmailAddress, out String AEmailType) |
Return the 'within organisation' email, or if that's blank, return the primary email. More... | |
static Calculations.TPartnersOverallContactSettings | GetPartnersOverallCS (TDBTransaction AReadTransaction, Int64 APartnerKey, Calculations.TOverallContSettingKind AOverallContSettingKind) |
Determines the 'Primary' and/or 'Within Organisation' setting(s) for a Partner. More... | |
static Calculations.TPartnersOverallContactSettings | GetPartnersOverallCS (TDBTransaction AReadTransaction, Int64 APartnerKey, Calculations.TOverallContSettingKind AOverallContSettingKind, out PPartnerAttributeTable APartnerAttributeDT) |
Determines the 'Primary' and/or 'Within Organisation' setting(s) for a Partner. More... | |
static PPartnerAttributeTable | GetPartnersContactDetailAttributes (Int64 APartnerKey) |
Gets the Contact Detail Attributes for a Partner. More... | |
static void | GetPartnersAdditionalPhoneNumbers (TDBTransaction AReadTransaction, Int64 APartnerKey, out string AMobileNumbers, out string AAlternatePhoneNumbers) |
Gets additional mobile or landline numbers that are not the primary phone number. More... | |
The TContactDetailsAggregate Class contains logic for working with Partner Contact Details.
|
inlinestatic |
Gets additional mobile or landline numbers that are not the primary phone number.
AReadTransaction | |
APartnerKey | A partner key for which we are finding the additional information. |
AMobileNumbers | Additional mobile numbers for the specified partner. Empty string if none. |
AAlternatePhoneNumbers | Additional landline numbers for the specified partner. Empty string if none. |
|
inlinestatic |
Gets the Contact Detail Attributes for a Partner.
APartnerKey | PartnerKey of the Partner. |
|
inlinestatic |
Determines the 'Primary' and/or 'Within Organisation' setting(s) for a Partner.
AReadTransaction | |
APartnerKey | PartnerKey of the Partner. |
AOverallContSettingKind | Specify the kind of Overall Contact Setting(s) that you want returned. Combine multiple ones with the binary OR operator ( | ). |
|
inlinestatic |
Determines the 'Primary' and/or 'Within Organisation' setting(s) for a Partner.
AReadTransaction | |
APartnerKey | PartnerKey of the Partner. |
AOverallContSettingKind | Specify the kind of Overall Contact Setting(s) that you want returned. Combine multiple ones with the binary OR operator ( | ). |
APartnerAttributeDT | Contains the Partners' p_partner_attribute records. The ones that are 'Contact Details' have 'true' in the Column Calculations.PARTNERATTRIBUTE_PARTNERCONTACTDETAIL_COLUMN! |
|
inlinestatic |
|
inlinestatic |
Determines the 'Primary Phone Number' and the 'Primary E-mail Address' of a Partner.
AReadTransaction | |
APartnerKey | PartnerKey of the Partner. |
APrimaryPhoneNumber | The 'Primary Phone Number' if the Partner has got one, otherwise null. |
APrimaryEmailAddress | The 'Primary E-mail Address' if the Partner has got one, otherwise null. |
|
inlinestatic |
Determines the 'Primary Phone Number', 'Primary E-mail Address' and the 'Fax Number' of a Partner.
AReadTransaction | |
APartnerKey | PartnerKey of the Partner. |
APrimaryPhoneNumber | The 'Primary Phone Number' if the Partner has got one, otherwise null. |
APrimaryEmailAddress | The 'Primary E-mail Address' if the Partner has got one, otherwise null. |
AFaxNumber | The (first) current 'Fax Number' if it was found, otherwise null. Should there be several current 'Fax Numbers' then the one that comes first (in the order as seen by the user) will get returned in this Argument. |
|
inlinestatic |
|
inlinestatic |
Gets the 'Within Organisation Email Address' of a Partner.
AReadTransaction | |
APartnerKey | PartnerKey of the Partner. |
AWithinOrganisationEmailAddress | The 'Within Organisation Email Address' if the Partner has got one, otherwise null. |
|
inlinestatic |
Return the 'within organisation' email, or if that's blank, return the primary email.
AReadTransaction | |
APartnerKey | |
AEmailAddress | |
AEmailType |