OpenPetra
Free Administration Software for Non-Profits
|
methods related to form templates in the MCommon namespace More...
Static Public Member Functions | |
static bool | UploadFinanceFormTemplate (String AFormCode, String AFormName, String ALanguageCode, String ATemplateText, String AUserID, DateTime AUploadDateTime, String ATemplateFileExtension) |
Uploads a finance form template to the specified data row More... | |
static bool | UploadPartnerFormTemplate (String AFormName, String ALanguageCode, String ATemplateText, String AUserID, DateTime AUploadDateTime, String ATemplateFileExtension) |
Uploads a partner form template to the specified data row. The FormCode for this is always PARTNER More... | |
static bool | UploadPersonnelFormTemplate (String AFormName, String ALanguageCode, String ATemplateText, String AUserID, DateTime AUploadDateTime, String ATemplateFileExtension) |
Uploads a personnel form template to the specified data row. The FormCode for this is always PERSONNEL More... | |
static bool | UploadConferenceFormTemplate (String AFormName, String ALanguageCode, String ATemplateText, String AUserID, DateTime AUploadDateTime, String ATemplateFileExtension) |
Uploads a conference form template to the specified data row. The FormCode for this is always CONFERENCE More... | |
static PFormTable | DownloadFinanceFormTemplate (String AFormCode, String AFormName, String ALanguageCode) |
Returns a single row PFormTable that contains the full template text as a base64 string. The parameters are the three elements of the table primary key. Use for Finance form downloads More... | |
static PFormTable | DownloadPartnerFormTemplate (String AFormName, String ALanguageCode) |
Returns a single row PFormTable that contains the full template text as a base64 string. The parameters are two of the three elements of the table primary key. Use for Partner form downloads More... | |
static PFormTable | DownloadSystemFormTemplate (String AFormName, String ALanguageCode) |
Returns a single row PFormTable that contains the full template text as a base64 string. The parameters are two of the three elements of the table primary key. Use for Partner form downloads More... | |
static PFormTable | DownloadPersonnelFormTemplate (String AFormName, String ALanguageCode) |
Returns a single row PFormTable that contains the full template text as a base64 string. The parameters are two of the three elements of the table primary key. Use for Personnel form downloads More... | |
static PFormTable | DownloadConferenceFormTemplate (String AFormName, String ALanguageCode) |
Returns a single row PFormTable that contains the full template text as a base64 string. The parameters are two of the three elements of the table primary key. Use for Personnel form downloads More... | |
static PFormTable | GetFinanceForms (String AFormCode, String AFormTypeCode) |
return a table with forms for given finance form code and form type code More... | |
static PFormTable | GetPartnerForms () |
return a table with forms for the partner module More... | |
static PFormTable | GetConferenceForms () |
return a table with forms for the partner module More... | |
static PFormTable | GetPersonnelForms () |
return a table with forms for the personnel module More... | |
static bool | GetCHDefinitionFiles (out String APostalCodeDefinition, out String ACountryDefinition, out String AFailMessage) |
Reads the two definition files used by the CH sort algorithm More... | |
methods related to form templates in the MCommon namespace
|
inlinestatic |
Returns a single row PFormTable that contains the full template text as a base64 string. The parameters are two of the three elements of the table primary key. Use for Personnel form downloads
|
inlinestatic |
Returns a single row PFormTable that contains the full template text as a base64 string. The parameters are the three elements of the table primary key. Use for Finance form downloads
|
inlinestatic |
Returns a single row PFormTable that contains the full template text as a base64 string. The parameters are two of the three elements of the table primary key. Use for Partner form downloads
|
inlinestatic |
Returns a single row PFormTable that contains the full template text as a base64 string. The parameters are two of the three elements of the table primary key. Use for Personnel form downloads
|
inlinestatic |
Returns a single row PFormTable that contains the full template text as a base64 string. The parameters are two of the three elements of the table primary key. Use for Partner form downloads
|
inlinestatic |
Reads the two definition files used by the CH sort algorithm
APostalCodeDefinition | The content of the Post code definition file |
ACountryDefinition | The content of the country definition file |
AFailMessage | A message for the client in case of failure. |
|
inlinestatic |
return a table with forms for the partner module
|
inlinestatic |
return a table with forms for given finance form code and form type code
AFormCode | Form Code Filter |
AFormTypeCode | Form Type Code Filter, ignore this filter if empty string |
|
inlinestatic |
return a table with forms for the partner module
|
inlinestatic |
return a table with forms for the personnel module
|
inlinestatic |
Uploads a conference form template to the specified data row. The FormCode for this is always CONFERENCE
AFormName | Form name |
ALanguageCode | language code |
ATemplateText | The template as a base64 string |
AUserID | User ID who is doing the upload |
AUploadDateTime | Local date and time from the user PC that is doing the upload |
ATemplateFileExtension | File extension of template file (eg docx) |
|
inlinestatic |
Uploads a finance form template to the specified data row
AFormCode | Form Code |
AFormName | Form name |
ALanguageCode | language code |
ATemplateText | The template as a base64 string |
AUserID | User ID who is doing the upload |
AUploadDateTime | Local date and time from the user PC that is doing the upload |
ATemplateFileExtension | File extension of template file (eg docx) |
|
inlinestatic |
Uploads a partner form template to the specified data row. The FormCode for this is always PARTNER
AFormName | Form name |
ALanguageCode | language code |
ATemplateText | The template as a base64 string |
AUserID | User ID who is doing the upload |
AUploadDateTime | Local date and time from the user PC that is doing the upload |
ATemplateFileExtension | File extension of template file (eg docx) |
|
inlinestatic |
Uploads a personnel form template to the specified data row. The FormCode for this is always PERSONNEL
AFormName | Form name |
ALanguageCode | language code |
ATemplateText | The template as a base64 string |
AUserID | User ID who is doing the upload |
AUploadDateTime | Local date and time from the user PC that is doing the upload |
ATemplateFileExtension | File extension of template file (eg docx) |