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.
Article ID: 4035458 - Last Review: 2017, ജൂലൈ 12 - Revision: 1