[
https://issues.apache.org/jira/browse/FINERACT-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18129772#comment-18129772
]
Abdallah adham commented on FINERACT-2977:
------------------------------------------
{quote}Hello [~adamsaghy] , I apologize, I just saw your reply right after I
had already submitted PR #6713 for this issue!
Since I am very eager to learn the Fineract architecture and prepare for GSoC
2027, would you mind taking a quick look at my PR whenever you have some free
time? I fully understand that your team is already working on this and my PR
won't be merged, but I would deeply appreciate any feedback or pointers on my
approach to help me improve for my upcoming contributions.
Thank you for your time and understanding!
{quote}
> Chargeback enhancements - PL - Configuration and Implementation - Principal
> only Chargeback allocation
> ------------------------------------------------------------------------------------------------------
>
> Key: FINERACT-2977
> URL: https://issues.apache.org/jira/browse/FINERACT-2977
> Project: Apache Fineract
> Issue Type: Improvement
> Affects Versions: 1.16.0
> Reporter: Adam Saghy
> Assignee: Adam Saghy
> Priority: Major
> Fix For: 1.17.0
>
>
> *Configuration*
> *Goal*
> For progressive loans, we should add a new option once “Chargeback” is
> selected on payment allocation tab:
> * Based on allocation rules (current)
> * Principal only (new)
>
> *Acceptance criteria*
> * Progressive loan payment allocation should allow to configure a Principal
> only strategy for Chargeback
> *
> ** No allocation rules are defined, but rather: “PRINCIPAL_ONLY”
> * Validation rules should allow this new value to be set for Chargeback as
> allocation rule
>
> *Implementation*
> *Goal*
> Currently if no allocation rules are configured for Chargeback transaction
> (progressive loan), we allocate full chargeback amount as principal.
> While we intended to retain this behaviour, since new “allocation” strategies
> are introduced, we should also have a “PRINCIPAL ONLY” option.
>
> *Acceptance criteria*
> * If “PRINCIPAL_ONLY” is configured as allocation rule for Chargeback
> transaction we should also use the existing fallback implementation
> **
> org.apache.fineract.portfolio.loanaccount.domain.transactionprocessor.AbstractLoanRepaymentScheduleTransactionProcessor#processCreditTransaction
> * If neither “PRINCIPAL_ONLY” or “RATIO_BASED” is configured, we should use
> the “rules based” implementation (current implementation in
> org.apache.fineract.portfolio.loanaccount.domain.transactionprocessor.impl.AdvancedPaymentScheduleTransactionProcessor#processCreditTransaction)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)