In a customer in Mozambique, I have to make regular stock recalculation given the volume of daily movements. So it's a freight distribution company.
Aplicacao.BSO.Comercial.Stocks.RecalculoStocks (trcRecalculo, "A001", "A001", "A001","A001", true, true, false, strErro)
The problem is that this method has high performance costs, some suggestions for improvement?