Hi David

Thanks for your reply.

I'm
afraid I do not know about the new EL stuff. The code snippet below
shows how accounts figures are added to a map in
prepareIncomeStatement. glAccount.glAccountId is correct as are the
"amount" figures before adding to the map. When the entry is made into
the map glAccountId gets an underscore in the map entry. Please could
you maybe point out an example piece of code to illustrate your point
so I can look at fixing this.

Thanks
Rees

<simple-method method-name="prepareIncomeStatement" short-description="Prepare 
data for the Income Statement">
***
***
***
                <if-empty 
field="glAccountTotalsExpenseMap.${glAccount.glAccountId}">
                    <set 
field="glAccountTotalsExpenseMap.${glAccount.glAccountId}" value="0.0" 
type="BigDecimal"/>
                </if-empty>
                <calculate 
field="glAccountTotalsExpenseMap.${glAccount.glAccountId}">
                   
<calcop field="glAccountTotalsExpenseMap.${glAccount.glAccountId}"
operator="add"><calcop field="amount"
operator="get"/></calcop>
                </calculate>



      

Reply via email to