|
OpenPetra
Free Administration Software for Non-Profits
|
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... | |
Description of GL_Revaluation.
|
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
| ALedgerNum | Number of the Ledger to be revaluated |
| AForeignAccount | Account Codes (Array) of the selected foreign currency accounts |
| AForeignCurrency | Array of the 'foreign' currencies |
| ANewExchangeRate | Matching array of the exchange rates |
| ACostCentre | Which Cost Centre should win / lose money in this process |
| glBatchNumber | If a batch was generated, the caller should print it. |
| AVerificationResult | A TVerificationResultCollection for possible error messages |