QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

add Method

Adds the record into QuickBooks.

Syntax

def add() -> None: ...

Remarks

Add is used to add the object to QuickBooks.

If QuickBooks is able to add the object, it will return a copy of the object, and the values of all properties will be reset from the QuickBooks response. The qb_response_aggregate property will also be set to the entire QBXML aggregate received from QuickBooks.

For example, read-only properties such as ref_ids will be assigned. In transaction objects, line item information will be filled out, and ItemGroups will be broken up into their respective Items. Also, a total will be calculated.

If QuickBooks is not able to add the object, a trappable error will occur.

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