Title: Message Title
|
|
|
|
|
|
Running balances never get displayed correctly when using GET /journalentries API
At present they are ordered by the id only but backed date transactions mess this up.
Ordering needs to be by entry_date, id
Sander van der Heyden: and proposing to put it in like this: {code} if (searchParameters.isOrderByRequested()) { sqlBuilder.append(" order by ").append(searchParameters.getOrderBy());
if (searchParameters.isSortOrderProvided()) { sqlBuilder.append(' ').append(searchParameters.getSortOrder()); } } else { sqlBuilder.append(" order by journalEntry.entry_date, journalEntry.id"); } {code} Sander van der Heyden: so if you do not use API ordering, it will order by itself using these 2 columns. Otherwise your running balance will go left-right-center and never 'flow' like expected
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues