If 'Details' field in XLS file is not starting with "Payment to" and 
Transaction Type is "Business Payment to Customer" then transaction is 
processed as payment instead of disbursement
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MIFOS-4786
                 URL: http://mifosforge.jira.com/browse/MIFOS-4786
             Project: mifos
          Issue Type: Bug
          Components: ImportExport
    Affects Versions: Elsie F
            Reporter: Lukasz Chudy
            Assignee: Jakub Sławiński
             Fix For: Release G, Unscheduled


Actual implemetation is consistent with 'MPESA Import Loan Disbursals and Loan 
Fees' specification but there is a case where error message is not intuitive:

If 'Details' field in XLS file is not starting with "Payment to" and 
Transaction Type is "Business Payment to Customer" then transaction is 
processed as payment but should be processed as disbursement. Row should be 
ignored and appropriate error message should be displayed.

Repro:
1. Prepare xls file with Loan disbursement.
2. In 'Details' column enter "xxxxxx", Withdrawn amount: "1000", Transaction 
Type: "Business Payment to Customer".
3. Login to Mifos.
4. Go to 'Admin' tab, click on 'Import transactions' link.
5. Select previously prepared xls file and click on 'Review' button.

Expected result:
Error message appears saying that 'Details' field is inappropriate.

Actual result:
Row with inappropriate 'Details' field is processed as payment and there is 
error message like: "Row <#> error - <Receipt ID> - Amount must be greater than 
0" but Withdrawn amount is 1000. So in this case row should be ignored because 
Transaction Type is "Business Payment to Customer" so it should be processed as 
disbursement.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to