ItemRate Property
Unit rate of item.
Syntax
ANSI (Cross Platform) char* GetItemRate(int iItemIndex);
int SetItemRate(int iItemIndex, const char* lpszItemRate); Unicode (Windows) LPWSTR GetItemRate(INT iItemIndex);
INT SetItemRate(INT iItemIndex, LPCWSTR lpszItemRate);
- (NSString*)itemRate:(int)itemIndex; - (void)setItemRate:(int)itemIndex:(NSString*)newItemRate;
#define PID_SALESRECEIPT_ITEMRATE 30 INQB_EXTERNAL void* INQB_CALL InQB_SalesReceipt_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_SalesReceipt_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); INQB_EXTERNAL int INQB_CALL InQB_SalesReceipt_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
Unit rate of item.
The unit rate charged for this item.
If ItemAmount is specified, then ItemRate 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