Hi,
As Ravi Chirivella said, you are doing Material to material transfer posting.
Check whether movemnt type in the material document is 309.
First set of entry is coming because there is a difference in Standard price of the material and is correct.
Regards
Vasuki