The folks working on the community app were not too happy with how the accounting fields were rendered as a part of the view Loan Products Json
the bits they were concerned about are
< { code > :xml} "accountingMappings":{ "fundSourceAccountId":2, "loanPortfolioAccountId":12, "interestOnLoanAccountId":3, "incomeFromFeeAccountId":19, "incomeFromPenaltyAccountId":19, "writeOffAccountId":72, "transfersInSuspenseAccountId":9, "overpaymentLiabilityAccountId":97 }, </code>
or the bit around charges to accounts mappings
< { code > :json} "paymentChannelToFundSourceMappings":[ { "paymentTypeId":16, "fundSourceAccountId":9 }, { "paymentTypeId":16, "fundSourceAccountId":9 } ], "feeToIncomeAccountMappings":[ { "chargeId":7, "incomeAccountId":17 } ], "penaltyToIncomeAccountMappings":[ { "chargeId":35, "incomeAccountId":17 } ], </code>
We would need to restructure this JSON so that meaningful display on the UI is possible without the need for making any further API calls (to figure out name of charge or glaccount/code)
|