Average Inventory Value Calculation

Group,

Do you know how epicor calculate average inventory value for a part? I am looking at PartBin and PartWhs and would like to know which fields i should use to calculate this value.

THanks,