[ 
https://issues.apache.org/jira/browse/FINERACT-2048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18054627#comment-18054627
 ] 

Monica commented on FINERACT-2048:
----------------------------------

Confirming the logic: When type="dues", if the user provides some of the four 
fields (amount, interval, recurrence frequency, onMonthDay) but leaves others 
blank, the system should:

Use the user-provided values as-is, and
Fetch only the missing values from the loan repayment schedule?
Or should it be strictly all-or-nothing (either user provides all four, or 
system fetches all four from schedule)?
Error handling: If the loan repayment schedule doesn't have these values 
available, should the validator:

Fail fast with a validation error here, or
Pass through and let downstream service handle the missing data exception?
I'll check the existing implementation to see if this fallback logic is already 
in place or needs to be built. Let me know if there's existing test coverage I 
should reference for the "fetch from schedule" behavior.

> When standing instruction type selected is "dues", the following fields 
> should be optional 
> -------------------------------------------------------------------------------------------
>
>                 Key: FINERACT-2048
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2048
>             Project: Apache Fineract
>          Issue Type: Bug
>    Affects Versions: 1.9.0
>            Reporter: John Ruhiu
>            Priority: Major
>              Labels: beginner-friendly
>         Attachments: Screen Recording 2024-01-25 at 13.25.57.mov
>
>
> When standing instruction type selected is "dues", the following fields 
> should be optional since they wil be picked from the loan repayment schedule: 
>  * amount, 
>  * interval, 
>  * recurrence frequency, 
>  * on month day
>  



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

Reply via email to