OpenPetra
Free Administration Software for Non-Profits
|
methods related to form letters More...
Static Public Member Functions | |
static Boolean | FillFormDataFromExtract (Int32 AExtractId, TFormLetterInfo AFormLetterInfo, out List< TFormData >AFormDataList) |
populate form data for given extract and list of fields More... | |
static TFormDataPartner | FillFormDataFromPartner (Int64 APartnerKey, TFormDataPartner AFormDataPartner, TFormLetterInfo AFormLetterInfo, Int64 ASiteKey=0, Int32 ALocationKey=0) |
Populate form data for given partner key and list of fields. This only fills Partner Data, not Personnel or Finance. This method can be called from Personnel and Finance Form Letter methods to fill Partner Data. More... | |
static TFormDataPerson | FillFormDataFromPerson (Int64 APartnerKey, TFormDataPerson AFormDataPerson, TFormLetterInfo AFormLetterInfo, Int64 ASiteKey=0, Int32 ALocationKey=0) |
Populate form data for given partner key and list of fields. This only fills Partner Data, not Personnel or Finance. This method can be called from Personnel and Finance Form Letter methods to fill Partner Data. More... | |
static void | FillFormDataFromPartner (Int64 APartnerKey, TFormDataPartner AFormDataPartner, TFormLetterInfo AFormLetterInfo, TDBTransaction AReadTransaction, Int64 ASiteKey=0, Int32 ALocationKey=0) |
Populate form data for given partner key and list of fields. This only fills Partner Data, not Personnel or Finance. This method can be called from Personnel and Finance Form Letter methods to fill Partner Data. More... | |
static void | FillFormDataFromPerson (Int64 APartnerKey, TFormDataPerson AFormDataPerson, TFormLetterInfo AFormLetterInfo, TDBTransaction AReadTransaction, Int64 ASiteKey=0, Int32 ALocationKey=0) |
Populate form data for given partner key and list of fields. This only fills Partner Data, not Personnel or Finance. This method can be called from Personnel and Finance Form Letter methods to fill Partner Data. More... | |
static String | PreviewAddressBlock (String AAddressLayoutBlock) |
build and return the address according to country and address layout code More... | |
static String | BuildAddressBlock (TFormDataPartner AFormData, String AAddressLayoutCode, TPartnerClass APartnerClass) |
Public Method to return the Address Block More... | |
static bool | UpdateSubscriptionsReceivedFromExtract (Int32 AExtractId, String APublicationsCSVList, out TVerificationResultCollection AResultMessages) |
Update the partner subscriptions for specifed publications. Partner keys come from an extract More... | |
static bool | UpdateSubscriptionsReceivedForPartner (long APartnerKey, String APublicationsCSVList) |
Update the partner subscriptions for specifed publications. An individual Partner keys is supplied More... | |
methods related to form letters
|
inlinestatic |
Public Method to return the Address Block
AFormData | |
AAddressLayoutCode | |
APartnerClass |
|
inlinestatic |
populate form data for given extract and list of fields
AExtractId | Extract of partners to be used |
AFormLetterInfo | Info about form letter (tag list etc.) |
AFormDataList | list with populated form data |
|
inlinestatic |
Populate form data for given partner key and list of fields. This only fills Partner Data, not Personnel or Finance. This method can be called from Personnel and Finance Form Letter methods to fill Partner Data.
APartnerKey | Key of partner record to be used |
AFormDataPartner | Form Data Object |
AFormLetterInfo | Info class for form letter |
ASiteKey | Site key for location record |
ALocationKey | Key for location record |
|
inlinestatic |
Populate form data for given partner key and list of fields. This only fills Partner Data, not Personnel or Finance. This method can be called from Personnel and Finance Form Letter methods to fill Partner Data.
APartnerKey | Key of partner record to be used |
AFormDataPartner | form letter data object to be filled |
AFormLetterInfo | Info class for form letter |
AReadTransaction | Db transaction |
ASiteKey | Site key for location record |
ALocationKey | Key for location record |
|
inlinestatic |
Populate form data for given partner key and list of fields. This only fills Partner Data, not Personnel or Finance. This method can be called from Personnel and Finance Form Letter methods to fill Partner Data.
APartnerKey | Key of partner record to be used |
AFormDataPerson | Form Data Object |
AFormLetterInfo | Info class for form letter |
ASiteKey | Site key for location record |
ALocationKey | Key for location record |
|
inlinestatic |
Populate form data for given partner key and list of fields. This only fills Partner Data, not Personnel or Finance. This method can be called from Personnel and Finance Form Letter methods to fill Partner Data.
APartnerKey | Key of partner record to be used |
AFormDataPerson | form letter data object to be filled |
AFormLetterInfo | Info class for form letter |
AReadTransaction | Db transaction |
ASiteKey | Site key for location record |
ALocationKey | Key for location record |
|
inlinestatic |
build and return the address according to country and address layout code
AAddressLayoutBlock |
|
inlinestatic |
Update the partner subscriptions for specifed publications. An individual Partner keys is supplied
APartnerKey | The specific partner key |
APublicationsCSVList | CSV list of publications |
|
inlinestatic |
Update the partner subscriptions for specifed publications. Partner keys come from an extract
AExtractId | Extract ID |
APublicationsCSVList | CSV list of publications |
AResultMessages |