PurchaseCost Property
The purchase cost for this item.
Syntax
ANSI (Cross Platform) char* GetPurchaseCost();
int SetPurchaseCost(const char* lpszPurchaseCost); Unicode (Windows) LPWSTR GetPurchaseCost();
INT SetPurchaseCost(LPCWSTR lpszPurchaseCost);
@property (nonatomic,readwrite,assign,getter=purchaseCost,setter=setPurchaseCost:) NSString* purchaseCost; - (NSString*)purchaseCost; - (void)setPurchaseCost:(NSString*)newPurchaseCost;
#define PID_ITEM_PURCHASECOST 22 INQB_EXTERNAL void* INQB_CALL InQB_Item_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_Item_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
The purchase cost for this item.
Used for service, non-inventory, inventory, and other charge items. 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 and Account instead. QuickBooks will use the type of account to distinguish between purchased items and sold items.
Data Type
String