OpenPetra
Free Administration Software for Non-Profits
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
Ict.Petra.Server.MFinance.GL.WebConnectors.TRevaluationWebConnector Class Reference

Description of GL_Revaluation. More...

Static Public Member Functions

static bool Revaluate (int ALedgerNum, string[] AForeignAccount, string[] AForeignCurrency, decimal[] ANewExchangeRate, String ACostCentre, out Int32 glBatchNumber, out TVerificationResultCollection AVerificationResult)
 Main Revaluate Routine! A single call of this routine creates a batch, a journal and 2 transactions for each account number/cost center combination that holds a foreign currency value More...
 

Detailed Description

Description of GL_Revaluation.

Member Function Documentation

◆ Revaluate()

static bool Ict.Petra.Server.MFinance.GL.WebConnectors.TRevaluationWebConnector.Revaluate ( int  ALedgerNum,
string[]  AForeignAccount,
string[]  AForeignCurrency,
decimal[]  ANewExchangeRate,
String  ACostCentre,
out Int32  glBatchNumber,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

Main Revaluate Routine! A single call of this routine creates a batch, a journal and 2 transactions for each account number/cost center combination that holds a foreign currency value

Parameters
ALedgerNumNumber of the Ledger to be revaluated
AForeignAccountAccount Codes (Array) of the selected foreign currency accounts
AForeignCurrencyArray of the 'foreign' currencies
ANewExchangeRateMatching array of the exchange rates
ACostCentreWhich Cost Centre should win / lose money in this process
glBatchNumberIf a batch was generated, the caller should print it.
AVerificationResultA TVerificationResultCollection for possible error messages
Returns
true if a forex batch was posted.

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