how to link multiple processing of items

how to link multiple processing of items

Dear all, 

I would like to know or suggestion .as a manufacturing company,our items have many processes like raw material ,machining and coating  . how to linke this cost to calcuate making cost of items ?