BudgetTransactionLine.setTransactionCurrencyAmount Method
Sets the transaction currency amount on a budget transaction line.
Syntax
public AmountCur setTransactionCurrencyAmount(
boolean _set,
AmountCur _amount,
[boolean _calculateAccountingAmount])
Run On
Called
Parameters
- _set
Type: boolean
A Boolean value that indicates whether to set the amount.
- _amount
Type: AmountCur Extended Data Type
The amount of the budget transaction line.
- _calculateAccountingAmount
Type: boolean
A Boolean value that determines whether the accounting currency amount is calculated and set; optional.
Return Value
Type: AmountCur Extended Data Type
The amount in the transaction currency on the budget transaction line.
Remarks
The sign of the amount will be changed before it is written or retrieved from the table when the transaction has a BudgetType::Revenue enumeration value.
The quantity and price are reset when the transaction currency amount is edited.