Quantity Property
The quantity of this line item group.
Syntax
ANSI (Cross Platform) char* GetQuantity();
int SetQuantity(const char* lpszQuantity); Unicode (Windows) LPWSTR GetQuantity();
INT SetQuantity(LPCWSTR lpszQuantity);
@property (nonatomic,readwrite,assign,getter=quantity,setter=setQuantity:) NSString* quantity; - (NSString*)quantity; - (void)setQuantity:(NSString*)newQuantity;
#define PID_LINEITEMGROUPS_QUANTITY 35 INQB_EXTERNAL void* INQB_CALL InQB_LineItemGroups_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_LineItemGroups_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property is a String type in order to allow setting fractional quantities. Setting this property with non-numeric data will cause an error. Correct usage of this property is shown below:
class.Quantity = "3"
Leave this property blank and no quantity will be sent to QuickBooks.
Data Type
String