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.
Calculate the financial value of an asset and store it in the result buffer
Calls the financial valuation engine for the specified asset and value type, applying the given book, currency, date, and exchange-rate settings. The calculated decimal value is stored as a string in the result buffer.
| Parameter | Description |
|---|---|
| cmd | which value |
| Argument 0 | AssetID |
| Argument 1 | ToDate (used for purchases and other transactions) |
| Argument 2 | BookId |
| Argument 3 | CurrencyCode |
| Argument 4 | Use asset exchange rate where available |
| Argument 5 | Field querystring |
GetAssetValue "which value", "AssetID", "ToDate (used for purchases and other transactions)", "BookId", "CurrencyCode", "Use asset exchange rate where available", "Field querystring"