[ 
http://mifosforge.jira.com/browse/MIFOS-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58632#action_58632
 ] 

Udai Gupta commented on MIFOS-3187:
-----------------------------------

Okay, so to sum up this requirement, plugin will look for accounts in order 
mentioned in "Transaction Party Details" or "ImportTransactionOrder". If 
"Transaction Party Details" doesn't contain any account then it looks in 
ImportTransactionOrder but if no account is found in ImportTransactionOrder too 
the error will be thrown, if one of the account is not found in the order and 
next one is found then it will skip not found and make payment(or deposit if 
it's the last account) to existing accounts in order.

Initially we assumed that the last account name is savings account. Now if we 
have to consider like IE Transaction Party Details = GOVT ID, Loan Account 1, 
then it would have to detect if the last account is a loan account or savings 
account. This can be done but what order we want in terms of sensing what type 
of account is the last account.
i.e. should we first check if it is a savings account (if found make deposit) 
if not found then see if it is a loan account, if found make payment. (or the 
opposite, first check if it is a loan account.....)

 "," instead of space is fine and doesn't matter much, will do that in plugin.

> If first loan doesn't exist for client, MPESA plugin errors out instead of 
> going on to second loan from ImportTransactionOrder
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MIFOS-3187
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3187
>             Project: mifos
>          Issue Type: Bug
>          Components: ImportExport
>    Affects Versions: Release 1.5.1
>            Reporter: Kay Chau
>            Assignee: mifosdeveloperqueue
>             Fix For: Release E - Iteration 1, Release E
>
>         Attachments: m-pesa-plugin-savings-account-validation-fix.patch, 
> M-Pesa-plugin_testing.tar.gz
>
>
> Haven't verified this yet but for repro:
> # Have MPESA plugin set, have a client with a national ID and one loan 
> account with short name NL1 and a savings account with short name SAV.
> # Set ImportTransactionOrder = AL1, NL1, and SAV.
> # Client's NL1 loan account should have a payment due next.
> # Import a file with payment due for NL1.
> Expected: 
> Row correctly imports
> Actual:
> Errors out saying AL1 account is not found for the client

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to