QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

item_quantity Property

Line item property: Quantity of item or item group.

Syntax

def get_item_quantity(item_index: int) -> str: ...
def set_item_quantity(item_index: int, value: str) -> None: ...

Default Value

""

Remarks

Line item property: Quantity of item or item group.

The quantity of the Item specified in this line.

If item_quantity and only one of item_cost, item_rate, or item_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.

The item_index parameter specifies the index of the item in the array. The size of the array is controlled by the item_count property.

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