expenseAmount (property)
The total amount of this expense line.
Syntax
- (NSString*)expenseAmount:(int)expenseIndex; - (void)setExpenseAmount:(int)expenseIndex:(NSString*)newExpenseAmount;
public func expenseAmount(expenseIndex: Int32) throws -> String
public func setExpenseAmount(expenseIndex: Int32, newExpenseAmount: String) throws -> Void
Default Value
""
Remarks
The total amount of this expense line. The amount should be formatted as a string in dollars.
About Expenses:
In payment transactions (a Bill, a VendorCredit, a CCCharge, a CCCredit, or a Check) the payment may be tracked through Items and/or Expenses. A set of array properties is available for each. Expense lines are used to charge regularly occurring expenses such as freight charges, rent, etc., to an ExpenseAccount.
Expense line items consist of an ExpenseAccount (Name or Id), an ExpenseAmount, an ExpenseClass (Name or Id), an ExpenseCustomer (Name or Id), and an ExpenseMemo. The number of expense lines is given by ExpenseCount.
The ExpenseIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ExpenseCount property.