Finish the coding of CNC work order