Set the flushing method to backwards on the work centres in the routing, and on the items being consumed. When the order is then moved from released to finished the stock will be automatically consumed and the time recorded as per the routing.
You cannot auto consume the time and stock of a finished order as it is already finished, it has to be done during the process of finishing it.