QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

ItemCost Property

Line item property: Unit cost for item.

Syntax

ANSI (Cross Platform)
char* GetItemCost(int iItemIndex);
int SetItemCost(int iItemIndex, const char* lpszItemCost); Unicode (Windows) LPWSTR GetItemCost(INT iItemIndex);
INT SetItemCost(INT iItemIndex, LPCWSTR lpszItemCost);
- (NSString*)itemCost:(int)itemIndex;
- (void)setItemCost:(int)itemIndex:(NSString*)newItemCost;
#define PID_ITEMRECEIPT_ITEMCOST 24

INQB_EXTERNAL void* INQB_CALL InQB_ItemReceipt_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_ItemReceipt_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
INQB_EXTERNAL int INQB_CALL InQB_ItemReceipt_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

Line item property: Unit cost for item.

The unit cost for this item.

If ItemAmount is specified, then ItemCost will be calculated automatically and should not be specified.

The amount should be formatted as a string in dollars.

The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ItemCount 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]