addAmountValue macro
Use this macro to add an amount value to the UserArea. An amount value has a Name, a Value and a currency. The data type “amount” is implied.
addAmountValue(string name, string value, string currency)
This table shows the arguments:
Argument | Description |
---|---|
Name | The element name the field requires to get in the BOD or BDE XML |
Value | The value of the field; the amount value must be converted to string |
Currency | The currency in which the amount is represented |
Example:
addAmountValue("PurchaseOrderAmount",
str$(tdpur400.amnt), tdpur400.ccur)