Hi Nayan, The constraint not to delete any entity that has financial data linked to it is a good one that should definitely stay there. I was more referring to: Create client > Approved > Revert to Pending > Delete. Then the constraint that no data can be there can still kick in when doing the actual deletion. --
Sander van der Heyden CTO Musoni Services Mobile (NL): +31 (0)6 14239505 Mobile (Kenya): +254 (0)707211284 Skype: s.vdheyden Website: musonisystem.com Follow us on Twitter! Postal address: Hillegomstraat 12-14, office 1.11, 1058 LS, Amsterdam, The Netherlands On 10 Nov 2014, at 09:48, Nayan Ambali <[email protected]> wrote: > Sure Sander, I agree. > But why I had put that condition is if some closed client having closed loans > is moved to back to "Pending for Approval" and that time if client is > DELETED, then what should we do, should we allow to delete (may be database > constraint does not allow, unless its references are deleted first), if it > has any accounts(closed) related to it then only system can restrict the > deletion, > > is this approach fine? > > > Thanks > Nayan Ambali > > > > > Thanks and Regards, > Nayan Ambali > +91 9591996042 > skype: nayangambali > > On Mon, Nov 10, 2014 at 1:34 PM, Sander van der Heyden > <[email protected]> wrote: > Hi Nayan, > > Agreed with the table, one thing I want to avoid is that if somebody by > accident approves first and then goes back that they cannot delete anymore? I > believe the rights to actually delete should just be carefully managed and > handed out by the MFI, instead of restricting them to do it at all. > > Sander > -- > > Sander van der Heyden > > CTO Musoni Services > > <logo.png> > > > > Mobile (NL): +31 (0)6 14239505 > Mobile (Kenya): +254 (0)707211284 > Skype: s.vdheyden > Website: musonisystem.com > Follow us on Twitter! > Postal address: Hillegomstraat 12-14, office 1.11, 1058 LS, Amsterdam, The > Netherlands > > > > On 8 Nov 2014, at 07:27, Nayan Ambali <[email protected]> wrote: > >> Sander thanks for the feedback, I am sorry I did not get you question >> >> Below is the proposed valid state transition table >> >> Old State New state Comments >> Create new client Pending for approval >> Pending for approval Delete note 1 >> Pending for approval withdraw >> Pending for approval rejected >> Pending for approval active >> active closed >> closed Pending for approval >> >> >> Here, delete means, delete the the client from database, and this is delete >> is allowed only on the client "Pending for approval" directly originated >> from "Create new client" and do not allow if origination is from closed >> client or rejected client etc. >> >> Hope I make sense :) >> >> Thanks >> Nayan Ambali >> >> >> >> >> Thanks and Regards, >> Nayan Ambali >> +91 9591996042 >> skype: nayangambali >> >> On Fri, Nov 7, 2014 at 10:34 PM, Sander van der Heyden >> <[email protected]> wrote: >> Hi Nayan, >> >> No major comments again, looks good. Why not allow to remove withdrawn by >> client straight away? >> >> Thanks, >> Sander >> -- >> >> Sander van der Heyden >> >> CTO Musoni Services >> >> <logo.png> >> >> >> >> Mobile (NL): +31 (0)6 14239505 >> Mobile (Kenya): +254 (0)707211284 >> Skype: s.vdheyden >> Website: musonisystem.com >> Follow us on Twitter! >> Postal address: Hillegomstraat 12-14, office 1.11, 1058 LS, Amsterdam, The >> Netherlands >> >> >> >> On 7 Nov 2014, at 17:16, Nayan Ambali <[email protected]> wrote: >> >>> Hello Sander, >>> >>> I am planning to add two new status to client called "Reject" and >>> "Withdrawn by client" and planning to add constraint so that client in >>> pending status can't be moved to closed status. And also closed client can >>> be re-activated as either active or pending for approval. >>> >>> Please refer below diagram as client life cycle state change diagram >>> >>> <client life cycle state digram.jpg> >>> >>> I need your feedback on this approach, if you do not see any concerns then >>> I will go ahead and implement it >>> >>> >>> >>> >>> Thanks and Regards, >>> Nayan Ambali >>> skype: nayangambali >>> +91 9591996042 >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Mifos-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/mifos-users >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Mifos-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mifos-users >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Mifos-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mifos-users > > > ------------------------------------------------------------------------------ > > Mifos-developer mailing list > [email protected] > Unsubscribe or change settings at: > https://lists.sourceforge.net/lists/listinfo/mifos-developer > > ------------------------------------------------------------------------------ > _______________________________________________ > Mifos-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mifos-users
------------------------------------------------------------------------------
_______________________________________________ Mifos-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mifos-users
