Robert, Thanks for reporting this. I'll be certain Santosh is reproducing and triaging and get back to you with his finding on it.
Ed On Mon, Mar 26, 2018 at 5:06 AM, Ippez Robert <[email protected]> wrote: > I have seen some behavior with Share Account and Dividend. > I initiated a dividend payout of 100,000 to 4 clients with shares as below > > *Product>>Share Product>>Share Account (product name)>>Dividends* > NameDividend Period Start DateDividend Period End DateDividend Amount > Status > Share Account 01 January 2017 31 December 2017 100,000 Dividend Approved > > *Client Name* > > *No. of Shares* > > Asienzo > > 38 (approved) 1 pending approval > > Mureo > > 40 (approved) > > Drani > > 6 (approved) > > Amatura > > 0 > > *TOTAL SHARES* > > *84 (approved) 1 pending approval* > > The distribution of dividend is as follow which to me is wrong. > > Client NameShare AccountDividend AmountStatus > Asienzo Clara 21-00001-0 29,260.01 Dividend Initiated > Mureo Stella 21-00002-3 61,078.95 Dividend Initiated > Drani Joseph 21-00003-1 8,192.8 Dividend Initiated > Amatura Women's Group 21-00004-0 1,468.24 Dividend Initiated > *Justification* > > 1. Dividend per share = 100,000/84 = 1,190.48 ==> This is because > there are 84 approved shares, the 1 pending approval doesn't get dividend. > 2. Amatura Women's Group doesn't qualify for dividend because there is > no share purchased though they have opened a share account. > 3. To me the share distribution table should be as below:- > > Client NameShare AccountDividend AmountStatus > Asienzo Clara 21-00001-0 45,238.24 Dividend Initiated > Mureo Stella 21-00002-3 47,619.2 Dividend Initiated > Skyline Technologies 21-00003-1 7,142.88 Dividend Initiated > Amatura Women's Group 21-00004-0 0 Dividend Initiated > *NB:* > > 1. After dividend has been approved, there is no option for posting > dividend both at product level and share account level. So dividend just > remains in *approved *status(state), yet i see in org.apache.fineract. > portfolio.shareaccounts.data.ShareAccountStatusEnumData.java file Line > 188 a *case POSTED:* switch statement. Was this incomplete. This i a > huge block as clients are not getting their dividend posted to the linked > savings account. > > If this can be solved, it will be of great help especially to SACCO and > other credit unions using share modules. > > Thanks > Regards > Ippez Robert > -- *Ed Cable* President/CEO, Mifos Initiative [email protected] | Skype: edcable | Mobile: +1.484.477.8649 *Collectively Creating a World of 3 Billion Maries | *http://mifos.org <http://facebook.com/mifos> <http://www.twitter.com/mifos>
