QuickBooks Integrator 2020 C++ Edition

Questions / Feedback?

Quantity Property

Quantity of items in this statement.

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_STATEMENTCHARGE_QUANTITY 28

INQB_EXTERNAL void* INQB_CALL InQB_StatementCharge_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
INQB_EXTERNAL int INQB_CALL InQB_StatementCharge_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

The quantity of the Item (specified by ItemId or ItemName) you're adding to the statement.

If Quantity and either Rate, or Amount are specified, QuickBooks will automatically calculate the other.

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.5"

Leave this property blank and no quantity will be sent to QuickBooks.

Data Type

String

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 C++ Edition - Version 20.0 [Build 7941]