You need to transfer the calculation to the active contract by approval process. The approval process is designed for you by standard way, however you can shorten the process and skip some parts of the workflow if needed.
Note that from the status Approved the loan is taken as a Contract.