1. Split previous query into 2 query to avoid duplicate records are selected.
2. The fix is that won't create purchParmLine if old purchPrmLIne exists based on current purchLine, and removing the code which checking purchParmLine based on purchLine.InventTransId to make sure each parmLine should be created.
ID do Artigo: 4035458 - Última Revisão: 12/07/2017 - Revisão: 1