QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

expense_account_name Property

A reference to the account to which this expense is be charged.

Syntax

def get_expense_account_name(expense_index: int) -> str: ...
def set_expense_account_name(expense_index: int, value: str) -> None: ...

Default Value

""

Remarks

A reference to the account to which this expense is be charged. Either expense_account_name or expense_account_id (but not both) may be used to specify the Account. For example, an expense_account_name of "Rent".

Name/Id Reference Properties

This property is used to reference an object that is already done within QuickBooks. This may be done with its full Name (this property) or its Id, for which a corresponding property is defined. If Name is used, it must contain the full name of the object referred to, as generated by QuickBooks. For hierarchically defined objects, such as Customers, this includes the names of parent objects, and the full name can be determined by reading the FullName special field.

Setting the value of this property will set the corresponding Id property to an empty string.

The expense_index parameter specifies the index of the item in the array. The size of the array is controlled by the expense_count property.

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