If a procedure is defined which shall be assigned inside a specific perodic process you have to use this class the handle the operation itself and the AbstractPeriodEndOperation class to handle the internal parts of the operation.
For example the class TMonthEnd and TYearEnd inherits TPeriodEndOperations.
More...
|
bool | FInfoMode |
| If the user invokes a specific year end command, he automatically starts a server request only to make some checks and to gather some specific information. Handling this parameter enables to gather this information in the same routine which is used for the calculations. So both processes are automatically synchronized.
So do not run any excecutive code if the system is in the info mode. More...
|
|
bool | FHasCriticalErrors |
| If I run into a critial error, (either in info mode or in executive mode) I can't run any executive code, but it may be useful to gather more information and so the process is not terminated completely. More...
|
|
TVerificationResultCollection | FverificationResults |
| This is the standard VerificationResultCollection for the info and the error messages. More...
|
|
|
static bool | WasCancelled [get, set] |
| currently not implemented: this can be set to cancel the current operation More...
|
|
If a procedure is defined which shall be assigned inside a specific perodic process you have to use this class the handle the operation itself and the AbstractPeriodEndOperation class to handle the internal parts of the operation.
For example the class TMonthEnd and TYearEnd inherits TPeriodEndOperations.
◆ RunPeriodEndCheck()
This is for all info only routines that means JobSize has no definition
◆ RunPeriodEndSequence()
void Ict.Petra.Server.MFinance.Common.TPeriodEndOperations.RunPeriodEndSequence |
( |
AbstractPeriodEndOperation |
AOperation, |
|
|
string |
AOperationName |
|
) |
| |
|
inlineprotected |
Standard routine to execute each PeriodEndOperation, and then confirm its success
- Parameters
-
AOperation | |
AOperationName | |
◆ SetNextPeriod()
abstract void Ict.Petra.Server.MFinance.Common.TPeriodEndOperations.SetNextPeriod |
( |
TDBTransaction |
ATransaction | ) |
|
|
pure virtual |
◆ FHasCriticalErrors
bool Ict.Petra.Server.MFinance.Common.TPeriodEndOperations.FHasCriticalErrors |
|
protected |
If I run into a critial error, (either in info mode or in executive mode) I can't run any executive code, but it may be useful to gather more information and so the process is not terminated completely.
◆ FInfoMode
bool Ict.Petra.Server.MFinance.Common.TPeriodEndOperations.FInfoMode |
|
protected |
If the user invokes a specific year end command, he automatically starts a server request only to make some checks and to gather some specific information. Handling this parameter enables to gather this information in the same routine which is used for the calculations. So both processes are automatically synchronized.
So do not run any excecutive code if the system is in the info mode.
◆ FverificationResults
This is the standard VerificationResultCollection for the info and the error messages.
◆ WasCancelled
bool Ict.Petra.Server.MFinance.Common.TPeriodEndOperations.WasCancelled |
|
staticgetset |
currently not implemented: this can be set to cancel the current operation
The documentation for this class was generated from the following file: