HHi Oleg,
you can check the Amortization process in TRM. By your example, i can suggest to use LAC method to amortize the fees linearly over the period of the loan. you need to assign relevant amortization step in your PMP. way of doing this :
1. Check option discount/premium in transaction type settings. This will open a field called payment amount in ftr_create. The difference between payment and nominal amount will be considered as fees and will be amortized.
RRegards,
nikhil