OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.GL.TGlmNewYearInit Class Reference

Read all glm year end records of the actual year and create the start record for the next year. Move the Ledger Row to the next year, and set the AccountingPeriod to 1. More...

Inheritance diagram for Ict.Petra.Server.MFinance.GL.TGlmNewYearInit:
Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation

Public Member Functions

 TGlmNewYearInit (TLedgerInfo ALedgerInfo, int AYear, TYearEnd AYearEndOperator, TDBTransaction ATransaction)
 
override AbstractPeriodEndOperation GetActualizedClone ()
 
override int GetJobSize ()
 
override Int32 RunOperation ()
 Next-Year records will be created, and the Ledger will be moved to the new year. More...
 

Public Attributes

TPeriodEndOperations FPeriodEndOperator
 The parent operator (TMonthEnd or TYearEnd) that requests this operation More...
 

Protected Attributes

TVerificationResultCollection FverificationResults = null
 This is the standard VerificationResultCollection for the info and the error messages. More...
 
bool FInfoMode = true
 See TPeriodEndOperations More...
 
bool FHasCriticalErrors = false
 See TPeriodEndOperations More...
 
int FCountJobs
 

Properties

bool DoExecuteableCode [get]
 !(FHasCriticalErrors | FInfoMode) More...
 
TVerificationResultCollection VerificationResultCollection [set]
 Set-Property to set the common value of the VerificationResultCollection (Set by TPeriodEndOperations.RunYearEndSequence) More...
 
bool IsInInfoMode [set]
 Property to set the correct info-mode (Set by TPeriodEndOperations.RunYearEndSequence) More...
 
bool HasCriticalErrors [get]
 Property to read if the process could be done without critical errors. (Used by TPeriodEndOperations.RunYearEndSequence) More...
 

Detailed Description

Read all glm year end records of the actual year and create the start record for the next year. Move the Ledger Row to the next year, and set the AccountingPeriod to 1.

Constructor & Destructor Documentation

◆ TGlmNewYearInit()

Ict.Petra.Server.MFinance.GL.TGlmNewYearInit.TGlmNewYearInit ( TLedgerInfo  ALedgerInfo,
int  AYear,
TYearEnd  AYearEndOperator,
TDBTransaction  ATransaction 
)
inline

Member Function Documentation

◆ GetActualizedClone()

override AbstractPeriodEndOperation Ict.Petra.Server.MFinance.GL.TGlmNewYearInit.GetActualizedClone ( )
inlinevirtual

◆ GetJobSize()

override int Ict.Petra.Server.MFinance.GL.TGlmNewYearInit.GetJobSize ( )
inlinevirtual

◆ RunOperation()

override Int32 Ict.Petra.Server.MFinance.GL.TGlmNewYearInit.RunOperation ( )
inlinevirtual

Next-Year records will be created, and the Ledger will be moved to the new year.

Implements Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation.

Member Data Documentation

◆ FCountJobs

int Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation.FCountJobs
protectedinherited

◆ FHasCriticalErrors

bool Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation.FHasCriticalErrors = false
protectedinherited

See TPeriodEndOperations

◆ FInfoMode

bool Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation.FInfoMode = true
protectedinherited

See TPeriodEndOperations

◆ FPeriodEndOperator

TPeriodEndOperations Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation.FPeriodEndOperator
inherited

The parent operator (TMonthEnd or TYearEnd) that requests this operation

◆ FverificationResults

TVerificationResultCollection Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation.FverificationResults = null
protectedinherited

This is the standard VerificationResultCollection for the info and the error messages.

Property Documentation

◆ DoExecuteableCode

bool Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation.DoExecuteableCode
getinherited

!(FHasCriticalErrors | FInfoMode)

◆ HasCriticalErrors

bool Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation.HasCriticalErrors
getinherited

Property to read if the process could be done without critical errors. (Used by TPeriodEndOperations.RunYearEndSequence)

◆ IsInInfoMode

bool Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation.IsInInfoMode
setinherited

Property to set the correct info-mode (Set by TPeriodEndOperations.RunYearEndSequence)

◆ VerificationResultCollection

TVerificationResultCollection Ict.Petra.Server.MFinance.Common.AbstractPeriodEndOperation.VerificationResultCollection
setinherited

Set-Property to set the common value of the VerificationResultCollection (Set by TPeriodEndOperations.RunYearEndSequence)


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