Hi Sahar,
Your best bet would be the Inventory Valuations Reports (Stock Management -> Reports -> Status > Stock Value > Stock Value per Dimension/Item group).
I dont think any ERP system would be able to give you true/exact cost figure in real time...even if you build a custom form, it would be so slow that it wont be feasible to use it regularly.... its easy to calculate the true value when there are only a few transactions, but when the number of transactions hit the thousands, the calculations wont be so straight forward (imaging how it would be when there are a million transactions)..
another possible solution would be to use the 'Latest Cost Price' check box on the item master.. i believe if this check box is checked, then the cost price on the item master is updated automatically when a close/recal is executed.
hope this helps. let us know if you have any more questions.
regards,
Mohammed Rasheed
www.dynamic-ax.co.uk