Thanks for your responses.
I tried creating a custom function to delete the duplicate entries from P0014 and it actually works fine to get the desired result. But this doesn't seem to be a good way to handle the situation
The solution would be to create rule to get the required wage and compare the same with the previous wage that was being processed ( after sorting p0014 on wage and dates).
if both the wages are same then no further processing with take place. ( may be using a variable to check to previous wage)
Can you please provide the required PCR logic to handle the same.