USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Assert that the calculated value of an asset matches an expected figure
Calls the financial valuation engine for the specified asset and value type, then compares the result to the expected value in argument 5. Throws an exception with a detailed message if the values do not match. Use in automated reconciliation tests.
| Parameter | Description |
|---|---|
| cmd | which value |
| Argument 0 | AssetID |
| Argument 1 | ToDate |
| Argument 2 | BookId |
| Argument 3 | CurrencyCode |
| Argument 4 | Use asset exchange rate where available |
| Argument 5 | Value it should be |
CheckAssetValue "which value", "AssetID", "ToDate", "BookId", "CurrencyCode", "Use asset exchange rate where available", "Value it should be"