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_CHECK_ITEMCOST 25 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
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