Make a bin quantity adjustment which is not related to any sales or purchase document (eg. a discrepancy found in recounting). For quantity adjustments that are related to specific sales or purchase documents, you should use saveBinRecords instead.
Internally, this API call will also create transaction records, just like saveBinRecords does. However, in some cases this interface may be more convenient to use.
You can send multiple records with one API call; append numbers 1, 2, 3, … to the parameter names to identify values for record 1, record 2, etc. Fore example,
newAmount1 for the first record,
newAmount2 for the second one and so on.
There is no hard limit to how many records you can send with one call, but it is recommended to keep it below 500. Also, more records take a longer time to process, so make sure you will not hit a timeout while waiting for API’s response.
|Parameter name||Description||Possible value||Required|
|newAmount#||New amount.||Decimal (6 places)||Yes|
|timestamp#||Integer (Unix timestamp)|
|creatorID#||Creator (employee) ID.||Integer||Yes|
|reasonCodeID#||Reason Code ID.||Integer|