Main Revaluation Class. The routine is too complex for a linear program.
More...
|
| CLSRevaluation (int ALedgerNum, string[] AForeignAccount, string[] AForeignCurrency, decimal[] ANewExchangeRate, String ACostCentre, TDataBase ADataBase=null) |
| Constructor to initialize a variable set. More...
|
|
Boolean | RunRevaluation (out Int32 glBatchNumber) |
| Run the revaluation and set the flag for the ledger Returns true if a Reval batch was posted. More...
|
|
|
static decimal | AccountDelta (decimal AAmountInBaseCurency, decimal AAmountInForeignCurrency, decimal AExchangeRate, int ACurrencyDigits) |
| In order to be able to use a unit test for the calculation, it is public ... More...
|
|
Main Revaluation Class. The routine is too complex for a linear program.
◆ CLSRevaluation()
Ict.Petra.Server.MFinance.GL.CLSRevaluation.CLSRevaluation |
( |
int |
ALedgerNum, |
|
|
string[] |
AForeignAccount, |
|
|
string[] |
AForeignCurrency, |
|
|
decimal[] |
ANewExchangeRate, |
|
|
String |
ACostCentre, |
|
|
TDataBase |
ADataBase = null |
|
) |
| |
|
inline |
Constructor to initialize a variable set.
◆ AccountDelta()
static decimal Ict.Petra.Server.MFinance.GL.CLSRevaluation.AccountDelta |
( |
decimal |
AAmountInBaseCurency, |
|
|
decimal |
AAmountInForeignCurrency, |
|
|
decimal |
AExchangeRate, |
|
|
int |
ACurrencyDigits |
|
) |
| |
|
inlinestatic |
In order to be able to use a unit test for the calculation, it is public ...
- Parameters
-
AAmountInBaseCurency | Available account value in base currency units |
AAmountInForeignCurrency | Available account value in foreign currency units |
AExchangeRate | The exchange rate which shall be realized after the accounting has been done |
ACurrencyDigits | Number of rounding digits |
- Returns
◆ RunRevaluation()
Boolean Ict.Petra.Server.MFinance.GL.CLSRevaluation.RunRevaluation |
( |
out Int32 |
glBatchNumber | ) |
|
|
inline |
Run the revaluation and set the flag for the ledger Returns true if a Reval batch was posted.
◆ VerificationResultCollection
The documentation for this class was generated from the following file: