InventoryQuantityOnHand Property
The quantity in stock for this inventory item.
Syntax
ANSI (Cross Platform) char* GetInventoryQuantityOnHand();
int SetInventoryQuantityOnHand(const char* lpszInventoryQuantityOnHand); Unicode (Windows) LPWSTR GetInventoryQuantityOnHand();
INT SetInventoryQuantityOnHand(LPCWSTR lpszInventoryQuantityOnHand);
@property (nonatomic,readwrite,assign,getter=inventoryQuantityOnHand,setter=setInventoryQuantityOnHand:) NSString* inventoryQuantityOnHand; - (NSString*)inventoryQuantityOnHand; - (void)setInventoryQuantityOnHand:(NSString*)newInventoryQuantityOnHand;
#define PID_ITEM_INVENTORYQUANTITYONHAND 5 INQB_EXTERNAL void* INQB_CALL InQB_Item_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INQB_EXTERNAL int INQB_CALL InQB_Item_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
"0"
Remarks
The total quantity you have on hand for this item.
If both InventoryQuantityOnHand and PurchaseCost are included, then InventoryTotalValue will be set to InventoryQuantityOnHand times PurchaseCost, regardless of what InventoryTotalValue is explicitly set to.
This property is only applicable for Inventory Items (ItemType = itInventory).
Data Type
String