[ 
http://mifosforge.jira.com/browse/MIFOS-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Monsen reassigned MIFOS-3215:
----------------------------------

    Assignee: Adam Monsen  (was: Van Mittal-Henkle)

> Review API addition to allow plugins to detect duplicate payment info
> ---------------------------------------------------------------------
>
>                 Key: MIFOS-3215
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3215
>             Project: mifos
>          Issue Type: Improvement
>            Reporter: Sam Birney
>            Assignee: Adam Monsen
>            Priority: Major
>             Fix For: Release E - Iteration 5, Release 1.6.1, Release E
>
>         Attachments: AudiBankXlsImporter.java, AudiBankXlsImporterTest.java, 
> patch-3215.txt
>
>
> the AccountService API currently provides a useful way for client code to 
> apply payments to accounts, which is used by the bank import (and MPesa 
> import) plugins.  
> I propose enhancing it with a way to provide information about existing 
> payments as well.  With the ability to retrieve information about existing 
> payments, clients could make choices about whether to warn users that 
> payments may have already been applied for the same account on the same 
> payment date, with the same receipt number, e.g.  
> This would be a big help at a certain MFI which is currently using the bank 
> import plugin extensively, and often finding that users are mistakenly 
> uploading the same spreadsheet of payment data multiple times, leading to 
> lots of bad data which is not always detected immediately and significantly 
> time-consuming to correct when it is detected.
> The new interface method prototype could look like the following, and its 
> implementation could look like that in the attached file.  Before I go 
> further with extending the plugin with logic to detect duplicate records, 
> does this seem reasonable?  Would it be OK to add this to the AccountService?
>     /**
>      * Lookup all payments associated with a given account.
>      * 
>      * <at> param accountRef is a reference to the account for which payment 
> information is requested.
>      */
>     public List<AccountPaymentParametersDto> 
> lookupPayments(AccountReferenceDto accountRef) throws Exception;
> thanks,
> Sam

-- 
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

        

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to