Cannot create a record in Inventory transaction originator (InventTransOrigin). Reference: Weighted average inventory closing. The record already exists.

Dear all,

When i am closing in invenory ,i am getting this error. 

inventory mgmt->periodic->closing and adjustment-> close procedure->close.

its inventcostclosing class i came to know for closing process.

Not aware of the process actually, can anyone please give suggestions on how to proceed/resolve further