QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

ExpenseCustomerName Property

The customer associated with this expense line.

Syntax

ANSI (Cross Platform)
char* GetExpenseCustomerName(int iExpenseIndex);
int SetExpenseCustomerName(int iExpenseIndex, const char* lpszExpenseCustomerName); Unicode (Windows) LPWSTR GetExpenseCustomerName(INT iExpenseIndex);
INT SetExpenseCustomerName(INT iExpenseIndex, LPCWSTR lpszExpenseCustomerName);
- (NSString*)expenseCustomerName:(int)expenseIndex;
- (void)setExpenseCustomerName:(int)expenseIndex:(NSString*)newExpenseCustomerName;
#define PID_CHECK_EXPENSECUSTOMERNAME 13

INQB_EXTERNAL void* INQB_CALL InQB_Check_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_Check_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
INQB_EXTERNAL int INQB_CALL InQB_Check_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

The customer associated with this expense line.

Either ExpenseCustomerName or ExpenseCustomerId may reference to a Customer for this expense line.

If this property is set, the expense will be set as billable to the Customer referenced.

Name/Id Reference Properties

This property is used to reference an object that is already done within QuickBooks. This may be done with its full Name (this property) or its Id, for which a corresponding property is defined. If Name is used, it must contain the full name of the object referred to, as generated by QuickBooks. For hierarchically defined objects, such as Customers, this includes the names of parent objects, and the full name can be determined by reading the FullName special field.

Setting the value of this property will set the corresponding Id property to an empty string.

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]