Where is UnitCost in SalesOrderDetail and SalesOrderHistoryDetail from?

SOLVED

Hello, 

I'm working with Sage 100 and currently working on figuring out job cost. I have a question as in the subject--Where is UnitCost in SalesOrderDetail and SalesOrderHistoryDetail from? Would someone please help me understand the calculation logic such as the tables and fields used or advising some resource I can refer to? 

Thank you.