Hi to everybody. I have a big problem to update InventTrans when the periods have been closed with InventoryClosing.
This is the example, i'm running a new development call it Monetary Correction, this development search and select on InventTrans all transactions with ValueOpen == Yes. This transactions conforms the stock for an specific Item, so, this transactions must be updated using the updateNow method from InventTransAdjust class with certain criteria including the amount of the adjust. This procedure will adjust the transaction on multiple fields, but when it tries to update the transaction, throws an error that says that the transaction can not be updated because the period has been closed. What can i do??? Because i have to run InventoryClosing to reduce the number of transactions that i have to update, if not, the process can take more than 24 hours with 2'800.000 transactions and it will adjust transactions that doesn't need to be updated. Please help me with this. And Sorry for mi English jejeje :D Att: Gustavo Camargo