QuickBooks Integrator 2020 Node.js Edition

Questions / Feedback?

Update Method

Updates the estimate in QuickBooks.

Syntax

estimate.update([callback])

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for this method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

This method will update the estimate in QuickBooks.

When the method is called, an Update request will be submitted to QuickBooks. The estimate will have its information updated based on the various property values.

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

QBXMLVersion must be set to "3.0" or greater to update an estimate. Moreover, QBXMLVersion should be set to the same value when retrieving the estimate from QuickBooks (either through ObjSearch or through the Get method).

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