Item Ledger Entries (Cost Amount (Actual) and Value Entries (Cost per Unit)

I am doing a report from Sales Invoice Line, I want to show the output of Cost Amount (Actual) from Item Ledger Entries. I set a SETRANGE function with Sales Invoice Line and Item Ledger Entries, all entries from Item Ledger Entries were shown but not the Cost Amount (Actual) which is empty (Zero Amount). I noticed that the Cost Amount (Actual) were computed from Value Entries. Please help me to solve the issues? Thank You!

Those are FlowFields. You need to use CALCFIELDS before displaying.