QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

get Method

Gets a single record from QuickBooks.

Syntax

def get(id: str) -> None: ...

Remarks

Get may be used to retrieve a single Inventory Adjustment transaction from QuickBooks, based on its ref_id. When the method is called, a search will be initiated for the requested object. If it is found, all properties of the class will be set to the information retrieved from QuickBooks. The qb_response_aggregate property will also be set to the entire QBXML aggregate received from QuickBooks.

Please note that this class is retrieving an inventory adjustment transaction from QuickBooks. This is fundamentally different from retrieving an inventory item. QuickBooks does not allow the direct manipulation of inventory item quantities or values, but rather it maintains a history of the transactions that modify the inventory items.

Therefore this Get operation takes the Id of a previous Inventory Adjustment add, and returns all of the adjustments made in that transaction in the Adjustment line item properties. Any quantity or value differences for a particular inventory item will show up in the adjustment_quantity_difference and adjustment_value_difference properties.

You can not set the Id parameter to the Id for an inventory item. This will result in an error. You must use the Item or ObjSearch classs to retrieve inventory items.

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