QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

ItemRatePercent Property

Line item property: A markup or discount percentage.

Syntax

ANSI (Cross Platform)
char* GetItemRatePercent(int iItemIndex);
int SetItemRatePercent(int iItemIndex, const char* lpszItemRatePercent); Unicode (Windows) LPWSTR GetItemRatePercent(INT iItemIndex);
INT SetItemRatePercent(INT iItemIndex, LPCWSTR lpszItemRatePercent);
- (NSString*)itemRatePercent:(int)itemIndex;
- (void)setItemRatePercent:(int)itemIndex:(NSString*)newItemRatePercent;
#define PID_SALESORDER_ITEMRATEPERCENT 30

INQB_EXTERNAL void* INQB_CALL InQB_SalesOrder_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_SalesOrder_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
INQB_EXTERNAL int INQB_CALL InQB_SalesOrder_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

Line item property: A markup or discount percentage.

If ItemRatePercent is specified instead of ItemRate, then this line item represents a percentage markup or discount, to be applied to the previous Item or Item group.

ItemRatePercent should be formatted as a positive or negative integer; a positive value indicates a markup.

Only one of ItemRatePercent and ItemRate may be specified. If ItemRatePercent is set, then ItemRate will be set to its default.

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]