QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

set_custom_field Method

Sets a custom field value within QuickBooks.

Syntax

def set_custom_field(field_name: str, field_value: str) -> None: ...

Remarks

This method requires QuickBooks 2004 or above, with qbxml_version set to at least "3.0".

This method will immediately set the value of a QuickBooks custom field, which has been defined by the user from within the QuickBooks UI. Before calling this method, the preceding operation must retrieve the object from QuickBooks, using get, ObjSearch, etc. Then, you may use on_set_custom_field to set custom field values (the fields will be modified or added, as appropriate).

Note that invoking this method will create a connection to QuickBooks if one is not already in place.

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