Update Method
Updates the purchase order in QuickBooks.
Syntax
purchaseordercontrol.Update
Remarks
This method will update the purchase order in QuickBooks.
When the method is called, an Update request will be submitted to QuickBooks. The PO 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 "2.1" or greater to update a purchase order. Moreover, QBXMLVersion should be set to the same value when retrieving the invoice from QuickBooks (either through ObjSearch or through the Get method).