QuickBooks Integrator 2020 Qt Edition

Questions / Feedback?

Add Method

Adds the Inventory Adjustment into QuickBooks.

Syntax

int Add();

Remarks

Add is used to add an Inventory Adjustment transaction into to QuickBooks.

If QuickBooks is able to add the Inventory Adjustment, it will return a copy of the adjustment, 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.

Please note that this class is adding an inventory adjustment transaction into QuickBooks. This is fundamentally different from modifying an inventory item. QuickBooks does not allow the direct manipulation of inventory item quantities or values, but rather it maintains a history of the transactions that modify the inventory items.

Furthermore, these transactions record only the difference in value or quantity that was added or removed. Current and previous quantities and values for inventory items are not recorded or returned. Only the difference is recorded. Please see the AdjustmentQuantityDifference and AdjustmentValueDifference properties for more information.

If QuickBooks is not able to add the Inventory Adjustment, the class will fails with an error.

Error Handling

This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)

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