Move Cost Category from starting work center to last work center of a production route for Open status production orders

Hi All,

I’d like to know how to move the cost category assigned from starting work center to last work center of a production route for open production orders in X++. Also, I’d like to retain the journal of starting work center so that there is a trace.

Thanks in advance.