QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

ExpenseAmount Property

The total amount of this expense line.

Syntax

ANSI (Cross Platform)
char* GetExpenseAmount(int iExpenseIndex);
int SetExpenseAmount(int iExpenseIndex, const char* lpszExpenseAmount); Unicode (Windows) LPWSTR GetExpenseAmount(INT iExpenseIndex);
INT SetExpenseAmount(INT iExpenseIndex, LPCWSTR lpszExpenseAmount);
- (NSString*)expenseAmount:(int)expenseIndex;
- (void)setExpenseAmount:(int)expenseIndex:(NSString*)newExpenseAmount;
#define PID_CCCREDIT_EXPENSEAMOUNT 7

INQB_EXTERNAL void* INQB_CALL InQB_CCCredit_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_CCCredit_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
INQB_EXTERNAL int INQB_CALL InQB_CCCredit_CheckIndex(void *lpObj, int propid, int arridx);

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.

This property is not available at design time.

Data Type

String

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 C++ Edition - Version 20.0 [Build 7941]