PurchaseExpenseAccountId Property
The expense account charged when this item is purchased.
Syntax
char* GetPurchaseExpenseAccountId();
int SetPurchaseExpenseAccountId(char* lpszPurchaseExpenseAccountId);
Default Value
""
Remarks
The expense account charged when this item is purchased.
Used for non-inventory, service, and other charge items. For inventory items specify PurchaseCOGSAccountName (or Id) and PurchaseAssetAccountName (or Id) instead.
You should specify this property in case the item is both purchased and sold. In case the item is purchased but not sold, it is recommended that you specify Price, Description, and Account instead. QuickBooks will use the type of account to distinguish between purchased items and sold items.
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 property.
Setting the value of this property will set the corresponding Id property to an empty string.
Data Type
String