OpenPetra
Free Administration Software for Non-Profits
|
Main Class to serve a Ict.Petra.Server.MFinance.GL.WebConnectors.TPeriodMonthEnd request ... More...
Public Member Functions | |
delegate bool | StewardshipCalculation (int ALedgerNumber, int APeriodNumber, out List< Int32 >AglBatchNumbers, out TVerificationResultCollection AVerificationResult, TDataBase ADataBase=null) |
TMonthEnd (TDataBase ADataBase, TLedgerInfo ALedgerInfo) | |
Constructor More... | |
override void | SetNextPeriod (TDBTransaction ATransaction) |
Go to next month - unless you're already at the last month! More... | |
bool | RunMonthEnd (bool AInfoMode, out List< Int32 >AglBatchNumbers, out Boolean AStewardshipBatch, out TVerificationResultCollection AVRCollection) |
Main Entry point. The parameters are the same as in Ict.Petra.Server.MFinance.GL.WebConnectors.TPeriodMonthEnd More... | |
Protected Member Functions | |
void | RunPeriodEndCheck (AbstractPeriodEndOperation Apeo, TVerificationResultCollection AVerificationResults) |
This is for all info only routines that means JobSize has no definition More... | |
void | RunPeriodEndSequence (AbstractPeriodEndOperation AOperation, string AOperationName) |
Standard routine to execute each PeriodEndOperation, and then confirm its success More... | |
Protected Attributes | |
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... | |
Properties | |
static StewardshipCalculation | StewardshipCalculationDelegate [get, set] |
static bool | WasCancelled [get, set] |
currently not implemented: this can be set to cancel the current operation More... | |
Main Class to serve a Ict.Petra.Server.MFinance.GL.WebConnectors.TPeriodMonthEnd request ...
|
inline |
Constructor
ADataBase | |
ALedgerInfo |
|
inline |
Main Entry point. The parameters are the same as in Ict.Petra.Server.MFinance.GL.WebConnectors.TPeriodMonthEnd
AInfoMode | |
AglBatchNumbers | The Client should print the generated Batches |
AStewardshipBatch | True if Stewardship Batch was generated |
AVRCollection |
|
inlineprotectedinherited |
This is for all info only routines that means JobSize has no definition
|
inlineprotectedinherited |
Standard routine to execute each PeriodEndOperation, and then confirm its success
AOperation | |
AOperationName |
|
inlinevirtual |
Go to next month - unless you're already at the last month!
Implements Ict.Petra.Server.MFinance.Common.TPeriodEndOperations.
delegate bool Ict.Petra.Server.MFinance.GL.TMonthEnd.StewardshipCalculation | ( | int | ALedgerNumber, |
int | APeriodNumber, | ||
out List< Int32 > | AglBatchNumbers, | ||
out TVerificationResultCollection | AVerificationResult, | ||
TDataBase | ADataBase = null |
||
) |
|
protectedinherited |
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.
|
protectedinherited |
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.
|
protectedinherited |
This is the standard VerificationResultCollection for the info and the error messages.
|
staticgetset |
|
staticgetsetinherited |
currently not implemented: this can be set to cancel the current operation