Imad,
If you are using Data Collection to record labor transactions, then the detail labor data you're looking for is contained in the SF010115 table. If you are use Time Entry, then the data is located in the SF010600 and SF010601 tables. Here are a couple of queries to get you started.
-- Labor Detail when entered in Time Entry Window
select * from SF010600 TEH
left join SF010601 TED on TEH.DCHDRNUM_I = TED.DCHDRNUM_I
-- Labor Detail when entered in Data Collection Window
Select
DCT.MANUFACTUREORDER_I
,DCT.RTSEQNUM_I
,CASE DCT.DATAENTRYTYPE_I
when 1 then 'Direct_Labor'
when 2 then 'Machine_Cost'
when 3 then 'Indirect_Labor'
ELSE 'ERROR'
End Entry_Type
,DCT.EMPLOYID Employee_ID
,RTRIM(RTRIM(EMP.LASTNAME)+', '+RTRIM(EMP.FRSTNAME)+' '+RTRIM(EMP.MIDLNAME)) Employee_Name
,LCD.COST_I ShopRate
,DCT.ELAPSEDTIME_I Elapsed_Time
,DCT.SEQUENCECOST_I Labor_Cost
,DCT.FIXOVERMARK_I Fixed_Overhead
,DCT.Variable_Overhead_Amount Variable_Overhead
,DCT.PIECES_I Pieces
,DCT.REJECTS_I Rejects
,DCT.PIECECOST_I Piece_Cost
,CONVERT(varchar(10),DCT.ACTUALFINISHDATE_I,101) Finish_Date
from SF010115 DCT
left join LC010014 LCD on DCT.LABORCODE_I = LCD.LABORCODE_I
Left join UPR00100 EMP on DCT.EMPLOYID = EMP.EMPLOYID
Where DCT.DATAENTRYTYPE_I in (1,3)
-----------------------------------------------------------------------------------------------
Here is a link to a post, which might be useful as well.
community.dynamics.com/.../115118