OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MPersonnel.Person.DataElements.WebConnectors.TFormLettersPersonnelWebConnector Class Reference

methods related to form letters for Personnel Module 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 TFormDataPerson FillFormDataFromPersonnel (Int64 APartnerKey, TFormDataPerson AFormDataPerson, TFormLetterInfo AFormLetterInfo, Int64 ASiteKey=0, Int32 ALocationKey=0)
 populate form data for given partner key and list of fields This Personnel Data and will also make a call to fill Partner Data. More...
 
static void FillFormDataFromPersonnel (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 Personnel Data and will also make a call to fill Partner Data. More...
 
static void FillFormDataFromApplicant (Int64 AEventPartnerKey, Int64 APartnerKey, TFormDataApplicant AFormDataApplicant, TFormLetterInfo AFormLetterInfo, Int64 ASiteKey=0, Int32 ALocationKey=0)
 populate form data for given applicant key This Applicant Data and will also make a call to fill Personnel Data. More...
 
static void FillFormDataFromApplicant (Int64 AEventPartnerKey, Int64 APartnerKey, TFormDataApplicant AFormDataApplicant, TFormLetterInfo AFormLetterInfo, TDBTransaction AReadTransaction, Int64 ASiteKey=0, Int32 ALocationKey=0)
 populate form data for given applicant key This Applicant Data and will also make a call to fill Personnel Data. More...
 

Detailed Description

methods related to form letters for Personnel Module

Member Function Documentation

◆ FillFormDataFromApplicant() [1/2]

static void Ict.Petra.Server.MPersonnel.Person.DataElements.WebConnectors.TFormLettersPersonnelWebConnector.FillFormDataFromApplicant ( Int64  AEventPartnerKey,
Int64  APartnerKey,
TFormDataApplicant  AFormDataApplicant,
TFormLetterInfo  AFormLetterInfo,
Int64  ASiteKey = 0,
Int32  ALocationKey = 0 
)
inlinestatic

populate form data for given applicant key This Applicant Data and will also make a call to fill Personnel Data.

Parameters
AEventPartnerKeyKey of event record to be used
APartnerKeyKey of partner record to be used
AFormDataApplicantObject containing Applicant data
AFormLetterInfoInfo class for form letter
ASiteKeySite key for location record
ALocationKeyKey for location record
Returns

◆ FillFormDataFromApplicant() [2/2]

static void Ict.Petra.Server.MPersonnel.Person.DataElements.WebConnectors.TFormLettersPersonnelWebConnector.FillFormDataFromApplicant ( Int64  AEventPartnerKey,
Int64  APartnerKey,
TFormDataApplicant  AFormDataApplicant,
TFormLetterInfo  AFormLetterInfo,
TDBTransaction  AReadTransaction,
Int64  ASiteKey = 0,
Int32  ALocationKey = 0 
)
inlinestatic

populate form data for given applicant key This Applicant Data and will also make a call to fill Personnel Data.

Parameters
AEventPartnerKeyKey of event record to be used
APartnerKeyKey of partner record to be used
AFormDataApplicantObject containing Applicant data
AFormLetterInfoInfo class for form letter
AReadTransactionDb transaction
ASiteKeySite key for location record
ALocationKeyKey for location record
Returns

◆ FillFormDataFromExtract()

static Boolean Ict.Petra.Server.MPersonnel.Person.DataElements.WebConnectors.TFormLettersPersonnelWebConnector.FillFormDataFromExtract ( Int32  AExtractId,
TFormLetterInfo  AFormLetterInfo,
out List< TFormData AFormDataList 
)
inlinestatic

populate form data for given extract and list of fields

Parameters
AExtractIdExtract of partners to be used
AFormLetterInfoInfo about form letter (tag list etc.)
AFormDataListlist with populated form data
Returns
returns true if list was created successfully

◆ FillFormDataFromPersonnel() [1/2]

static TFormDataPerson Ict.Petra.Server.MPersonnel.Person.DataElements.WebConnectors.TFormLettersPersonnelWebConnector.FillFormDataFromPersonnel ( Int64  APartnerKey,
TFormDataPerson  AFormDataPerson,
TFormLetterInfo  AFormLetterInfo,
Int64  ASiteKey = 0,
Int32  ALocationKey = 0 
)
inlinestatic

populate form data for given partner key and list of fields This Personnel Data and will also make a call to fill Partner Data.

Parameters
APartnerKeyKey of partner record to be used
AFormDataPersonForm Data Object
AFormLetterInfoInfo class for form letter
ASiteKeySite key for location record
ALocationKeyKey for location record
Returns
returns list with populated form data

◆ FillFormDataFromPersonnel() [2/2]

static void Ict.Petra.Server.MPersonnel.Person.DataElements.WebConnectors.TFormLettersPersonnelWebConnector.FillFormDataFromPersonnel ( Int64  APartnerKey,
TFormDataPerson  AFormDataPerson,
TFormLetterInfo  AFormLetterInfo,
TDBTransaction  AReadTransaction,
Int64  ASiteKey = 0,
Int32  ALocationKey = 0 
)
inlinestatic

populate form data for given partner key and list of fields This Personnel Data and will also make a call to fill Partner Data.

Parameters
APartnerKeyKey of partner record to be used
AFormDataPersonForm Data Object
AFormLetterInfoInfo class for form letter
AReadTransactionTransaction
ASiteKeySite key for location record
ALocationKeyKey for location record
Returns
returns list with populated form data

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