OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.Common Namespace Reference

Namespaces

namespace  ServerLookups
 
namespace  WebConnectors
 

Classes

class  AbstractPeriodEndOperation
 The period end classes inherit and complete this abstract class. The constructor of the inheriting class handles all parameters which are necessary for the RunEndOfPeriodOperation and RunEndOfPeriodOperation handles the database operations. More...
 
class  Common
 Contains Finance Module Setup-Subnamespace Business Logic. More...
 
class  FormatConverter
 This class is a local Format converter
Console.WriteLine(new FormatConverter("->>>,>>>,>>>,>>9.99").digits.ToString());
Console.WriteLine(new FormatConverter("->>>,>>>,>>>,>>9.9").digits.ToString());
Console.WriteLine(new FormatConverter("->>>,>>>,>>>,>>9").digits.ToString());
The result is 2,1 and 0 digits .. More...
 
class  TAccountInfo
 TAccountInfo uses the LedgerNumber. All Accounts are load in both contructors. You can define an initial account code in the second constructor or you can set the value later (or change) by using SetAccountRowTo. Then you can read the values for the selected Account. More...
 
class  TAccountPeriodInfo
 Gets the specific date informations of an accounting intervall. This routine is either used by GL.PeriodEnd.Month and GL.Revaluation but in different senses. On time the dataset holds exact one row (Contructor with two parameters) and on time it holds a set of rows (Constructor with one parameter. More...
 
class  TCommonAccountingTool
 This Tool creates a batch enables to add a journal and to add transactions to a journal All internal "pointers" and control data are set internal and the structure is "read to post". More...
 
class  TCommonBudgetMaintain
 
class  TCommonImport
 Helper class for parsing import lines in an import file More...
 
class  TCorporateExchangeRateCache
 a cache for corporate exchange rates. mainly used by the reporting tool More...
 
class  TCurrencyInfo
 Base on the idea to reduce the number of database request to it's minimum, this object reads the complete a_currency table. Two currency slots are provided, a base currency slot and a foreigen currency slot. The the base currency slot can only set in one of the constructors one time and the foreign currency slot can easily be switched to an other currency by using the ForeignCurrencyCode property without and any more database request. More...
 
class  TExchangeRate
 todoComment More...
 
class  TExchangeRateTools
 several static functions to get the exchange rates from the database More...
 
class  TFinancialYear
 This connector provides methods for creating and closing a financial year or period /summary> More...
 
class  TGet_GLM_Info
 Object to handle the read only glm-infos ... More...
 
class  TGetAccountHierarchyDetailInfo
 This object handles the table AccountHierarchyDetailInfo and provides some standard procedures. More...
 
class  TGlmInfo
 GLM-Info but an other handling than TGet_GLM_Info More...
 
class  TGlmpInfo
 Handling the information of the General Legder Master Table Period Table ... More...
 
class  TGLPosting
 provides methods for posting a batch More...
 
class  THandleAccountPropertyInfo
 A handler to the special accounts in TAccountPropertyEnum More...
 
class  TLedgerInfo
 This routine reads the line of a_ledger defined by the ledger number More...
 
class  TLedgerInitFlag
 LedgerInitFlag is a table wich holds properties for each Ledger. More...
 
class  TPeriodEndOperations
 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...
 

Enumerations

enum  TCarryForwardENum { Month , Year }
 ENum-List of the accounting stati of a ledger More...
 
enum  TPeriodEndErrorAndStatusCodes {
  PEEC_01 , PEEC_02 , PEEC_03 , PEEC_04 ,
  PEEC_05 , PEEC_06 , PEEC_07 , PEEC_08 ,
  PEEC_09 , PEEC_10 , PEEC_11 , PEEC_12
}
 This is the actual list of the different error status codes of the GL Module ... More...
 
enum  TAccountPropertyEnum {
  GIFT_HEADING , INTER_LEDGER_HEADING , BANK_HEADING , BALANCE_SHEET_HEADING ,
  DEBTOR_HEADING , CREDITOR_HEADING , TOTAL_ASSET_HEADING , TOTAL_LIABILITY_HEADING ,
  EQUITY_HEADING , EARNINGS_BF_ACCT , DIRECT_XFER_ACCT , ICH_SETTLEMENT_ACCT ,
  ICH_ACCT , INTERNAL_XFER_ACCT , ADMIN_FEE_INCOME_ACCT , ADMIN_FEE_EXPENSE_ACCT ,
  FUND_TRANSFER_INCOME_ACCT , FUND_TRANSFER_EXPENSE_ACCT
}
 A Enum-list of some special account codes ... https://sourceforge.net/apps/mediawiki/openpetraorg/index.php?title=Data_Conversion_from_Petra_to_Openpetra More...
 
enum  TAccountTypeEnum {
  Income , Expense , Asset , Equity ,
  Liability
}
 Different Account Types ... More...
 

Enumeration Type Documentation

◆ TAccountPropertyEnum

A Enum-list of some special account codes ... https://sourceforge.net/apps/mediawiki/openpetraorg/index.php?title=Data_Conversion_from_Petra_to_Openpetra

Enumerator
GIFT_HEADING 
    </summary> 
INTER_LEDGER_HEADING 
    </summary> 
BANK_HEADING 
    </summary> 
BALANCE_SHEET_HEADING 
    </summary> 
DEBTOR_HEADING 
    </summary> 
CREDITOR_HEADING 
    </summary> 
TOTAL_ASSET_HEADING 
    </summary> 
TOTAL_LIABILITY_HEADING 
    </summary> 
EQUITY_HEADING 
    </summary> 
EARNINGS_BF_ACCT 
    </summary> 
DIRECT_XFER_ACCT 
    </summary> 
ICH_SETTLEMENT_ACCT 
    </summary> 
ICH_ACCT 
    </summary> 
INTERNAL_XFER_ACCT 
    </summary> 
ADMIN_FEE_INCOME_ACCT 
    </summary> 
ADMIN_FEE_EXPENSE_ACCT 
    </summary> 
FUND_TRANSFER_INCOME_ACCT 
    </summary> 
FUND_TRANSFER_EXPENSE_ACCT 
    </summary> 

◆ TAccountTypeEnum

Different Account Types ...

Enumerator
Income 
    </summary> 
Expense 
    </summary> 
Asset 
    </summary> 
Equity 
    </summary> 
Liability 
    </summary> 

◆ TCarryForwardENum

ENum-List of the accounting stati of a ledger

Enumerator
Month 
Year 

◆ TPeriodEndErrorAndStatusCodes

This is the actual list of the different error status codes of the GL Module ...

Enumerator
PEEC_01 

If a period end operation shall be done at least on one database record (something like the calculation of admin fees) this error is shown to indicate that no database records were affected.

PEEC_02 

After a specific period end operation has been done, the programm calculates again the number of database records which should be changed. If this value is non zero, there's a problem. Type: Critical.

PEEC_03 

The user has required a month end but a year end should be done first.

PEEC_04 

The user has required a year end but a month end should be done first.

PEEC_05 

A revaluation should be done before the month end.

PEEC_06 

Unposted batches prevent period close.

PEEC_07 

Suspense accounts prevent period close.

PEEC_08 

Unposted gift batches are found prevent period close.

PEEC_09 

No income accounts have been found.

PEEC_10 

No expense accounts have been found.

PEEC_11 

No ICH_ACCT Account is defined.

PEEC_12 

User-requested cancellation