Logging OnError audit events when transactions are posted as a batch. (2 replies)
Hi Randy,
With submitting a batch as you are we would expect that the endpoint return an iterable response that could be iterated over in-line with the transactions that created the request.
The TransactionIterator object can be moved back to the beginning of your batch by using a negative number:
TransactionIterator _iterator _iterator.Move(-2000, true)
TransactionIterator _iterator _iterator.Move(-2000, true)
Hope this helps.
Closed due to inactivity.
For the Item Batch Import in Magento, we iterate through all of the records in the dataset, and then process them in groups of 2000 or so at a time.
This means that when we do the actual API call we are not currently iterating through any transactions, and all of the IMan error logging methods I’ve seen require a Transaction object.
How do you recommend that I write this information back to IMan correctly without a Transaction object?