[ https://issues.apache.org/jira/browse/FINERACT-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edward Cable updated FINERACT-261: ---------------------------------- Attachment: Screen Shot 2016-11-22 at 4.23.15 PM.png Screen Shot 2016-11-22 at 4.23.07 PM.png Screen Shot 2016-11-22 at 4.22.56 PM.png > Validate that a GL account isn't attached to a product before setting to > disabled > ---------------------------------------------------------------------------------- > > Key: FINERACT-261 > URL: https://issues.apache.org/jira/browse/FINERACT-261 > Project: Apache Fineract > Issue Type: Bug > Reporter: Edward Cable > Assignee: Markus Geiss > Priority: Minor > Labels: fineract-gci > Attachments: Screen Shot 2016-11-22 at 4.22.56 PM.png, Screen Shot > 2016-11-22 at 4.23.07 PM.png, Screen Shot 2016-11-22 at 4.23.15 PM.png > > > As reported by [~andrew.dzak] at > https://mifosforge.jira.com/browse/MIFOSX-1045 > Original description: > "when editing gl accounts to "disabled" there should be a validation, to > check if the gl account been edited is attached to a product". > Steps to reproduce: > 1. Create a loan or savings product and attach a GL account to that product. > 2. Go into chart of accounts and edit the GL account you added to the product > and set it to disabled. > 3. Try and disburse a loan from that product. > The loan is still able to disbursed even though the attached GL account is > disabled. > Validation should be in place to prevent a user from disabling a GL account > that is attached to a product and providing the proper error message. -- This message was sent by Atlassian JIRA (v6.3.4#6332)