QuickBooks Integrator 2020 PHP Edition

Questions / Feedback?

ItemQuantity Property

Line item property: Quantity of item or item group.

Object Oriented Interface

public function getItemQuantity($itemindex);
public function setItemQuantity($itemindex, $value);

Procedural Interface

inqb_creditmemo_get($res, 29 , $itemindex);
inqb_creditmemo_set($res, 29, $value , $itemindex);

Default Value

''

Remarks

Line item property: Quantity of item or item group.

The quantity of the Item specified in this line.

If ItemQuantity and only one of ItemCost, ItemRate, or ItemAmount 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.

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 PHP Edition - Version 20.0 [Build 7941]