QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

item_link_to_txn_id Property

A link to an existing SALESORDER transaction.

Syntax

def get_item_link_to_txn_id(item_index: int) -> str: ...
def set_item_link_to_txn_id(item_index: int, value: str) -> None: ...

Default Value

""

Remarks

A link to an existing SalesOrder transaction.

The item_link_to_txn_id property links this invoice line with a SalesOrder transaction. The item_link_to_txn_line_id property links to a specific line item in that SalesOrder. Both of these properties must be present if you wish to link to a sales order line.

Note that if you set item_link_to_txn_id and item_link_to_txn_line_id in an invoice line, you may not set the item_name or item_id properties. item_link_to_txn_id and item_link_to_txn_line_id bring in all the item information you need. (You can however specify whatever item_quantity or item_rate that you want, or any other item line element other than item_name and item_id).

You may use this property in conjunction with the Invoice class's LinkToTxnId property, as long as these do NOT link to the same transaction id.

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]