From: Jeff B. <jbr...@gr...> - 2010-09-23 23:02:13
|
Gayl and Kelechi, I have reviewed your custom properties file and understand now why your BranchReport task producing this error: " Unable to find currency with id: 2. You may be missing an entry for the currency with this id in applicationConfiguration.custom.properties. " Since you have the AccountingRules.CurrencyCode=NGN in your custom properties file, the batch job is not able to locate its default property setting of 2 (INR). This report shouldn't have its own currency property, and I've filed a new issue http://mifosforge.jira.com/browse/MIFOS-3758 to that regard. In the meantime, if you edit the file "webapps\mifos\WEB-INF\classes\org\mifos\reports\resources\ProgressRepor t.properties" and replace currency.id with a value of 108 instead of 2 you task should now match up with the custom properties file the next time the batch job executes. This file is inside your exploded mifos folder below the tomcat's webapps directory. Currency code for NGN is 108 according to the currency table in Mifos. Will you modify that properties file and test if that resolves the batch job error? Once the batch job executes cleanly, do you see a populated branch progress report? One note, I tried this on my machine and for some reason the intermediate value I entered for currency.id (one I made up) kept coming being used by the batch job even after I modified the properties file again. I'm unsure why that was the case. Others on the list may be able to comment on that. If you set it to 108 right away, you should be set. Jeff |