Adam Saghy created FINERACT-2201:
------------------------------------

             Summary: [Bug] - Negative numbers in case of progressive interest 
bearing loans - Reamortization
                 Key: FINERACT-2201
                 URL: https://issues.apache.org/jira/browse/FINERACT-2201
             Project: Apache Fineract
          Issue Type: Sub-task
    Affects Versions: 1.11
            Reporter: Adam Saghy
             Fix For: 1.12


*Test steps:*

 
{code:java}
 Scenario: Verify the accrual activity creation in case of full repayment on 
maturity date
    When Admin sets the business date to "19 February 2025"
    And Admin creates a client with random data
    And Admin creates a fully customized loan with the following data:
      | LoanProduct                                                             
         | submitted on date | with Principal | ANNUAL interest rate % | 
interest type     | interest calculation period | amortization type  | 
loanTermFrequency | loanTermFrequencyType | repaymentEvery | 
repaymentFrequencyType | numberOfRepayments | graceOnPrincipalPayment | 
graceOnInterestPayment | interest free period | Payment strategy            |
      | 
LP2_ADV_PYMNT_INTEREST_DAILY_AUTO_DOWNPAYMENT_EMI_ACTUAL_ACTUAL_ACCRUAL_ACTIVITY
 | 19 February 2025  | 50             | 19.99                  | 
DECLINING_BALANCE | DAILY                       | EQUAL_INSTALLMENTS | 12       
         | MONTHS                | 1              | MONTHS                 | 12 
                | 0                       | 0                      | 0          
          | ADVANCED_PAYMENT_ALLOCATION |
    And Admin successfully approves the loan on "19 February 2025" with "50" 
amount and expected disbursement date on "19 February 2025"
    And Admin successfully disburse the loan on "19 February 2025" with "50" 
EUR transaction amount
    And Customer makes "AUTOPAY" repayment on "19 February 2025" with 5 EUR 
transaction amount
    And Admin runs inline COB job for Loan
    When Admin sets the business date to "20 February 2025"
    When Admin makes "MERCHANT_ISSUED_REFUND" transaction with "AUTOPAY" 
payment type on "20 February 2025" with 25 EUR transaction amount
    And Admin runs inline COB job for Loan
    When Admin sets the business date to "21 February 2025"
    And Admin runs inline COB job for Loan
    When Admin sets the business date to "22 February 2025"
    And Admin runs inline COB job for Loan {code}
 

*Actual result:*
 * Negative numbers on the transactions

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to