QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

item_group_name Property

Reference to a group of line items.

Syntax

def get_item_group_name(item_index: int) -> str: ...
def set_item_group_name(item_index: int, value: str) -> None: ...

Default Value

""

Remarks

Reference to a group of line items.

Line item groups represent sets of items that are grouped together. A line item group is a predefined shortcut within QuickBooks. For example, a "Cheeseburger Meal" might consist of a cheeseburger, an order of french fries, and a soft drink. To include an item group in a transaction one should simply set the value of ItemGroup, and optionally, of ItemQuantity. QuickBooks will automatically expand the group into its constituent items. This will send an ItemGroup instead of a regular Item on for this index.

When an ItemGroup is returned from QuickBooks it contains xml aggregates of all of the items in the group you specified. You may access the group's regular properties (total item_amount, item_quantity, and item_description), but the line items returned are not accessible with this object. However, you may parse the returned line items by passing the contents of the item_aggregate property to the LineItemGroups class. You may use the LineItemGroups class to view or change the contents of the line items, and then pass the xml aggregate generated by the class back to the item_aggregate field to use in an Update transaction.

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]