QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

item_cost Property

Line item property: Unit cost for item.

Syntax

def get_item_cost(item_index: int) -> str: ...
def set_item_cost(item_index: int, value: str) -> None: ...

Default Value

""

Remarks

Line item property: Unit cost for item.

The unit cost for this item.

If item_amount is specified, then item_cost will be calculated automatically and should not be specified.

The amount should be formatted as a string in dollars.

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]