QuickBooks Integrator 2020 Node.js Edition

Questions / Feedback?

QBXMLVersion Property

The version of QBXML used in the outgoing message.

Syntax

 salesorder.getQBXMLVersion([callback])
 salesorder.setQBXMLVersion( QBXMLVersion, [callback])

Default Value

"3.0"

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 the getQBXMLVersion([callback]) method is defined as:

function(err, data){ }

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

'data' is the value returned by the method.

The callback for the setQBXMLVersion([callback]) 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

The SalesOrder prodtype; requires the use of QBXML version 2.1 or above. In particular, a U.S. version of QuickBooks 2003 or higher is required, and all software updates to QuickBooks must be downloaded from Intuit.

If the property is set to a value such as "1.1", "CA2.0", etc., the class will fail with an error. Currently sales orders cannot be added to Canadian editions of QuickBooks, although future versions of QuickBooks and QBXML might support this.

This property is not available at design time.

Data Type

String

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