QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

link_to_txn_id Property

The LinkToTxnId property allows you to link to an entire transaction, pulling in all of its line items.

Syntax

def get_link_to_txn_id() -> str: ...
def set_link_to_txn_id(value: str) -> None: ...

link_to_txn_id = property(get_link_to_txn_id, set_link_to_txn_id)

Default Value

""

Remarks

When used in the Invoice class, the transaction you are linking to via this field must be a Sales Order. Links to other transactions, such as to estimates, are not currently supported. The use of this property requires qbxml_version on the Invoice to be "6.0" or greater.

When used with the Bill or ItemReceipt classs, the transaction you are linking to via this field must be a Purchase Order. Links to other transactions are not currently supported. The use of this property requires qbxml_version on the Bill or ItemReceipt to be "4.0" or greater.

You will get a runtime error if the transaction specified by link_to_txn_id is already closed or fully received and the request does not contain any other lines. You will also get an error if you attempt to save an empty transaction.

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