Hi Adrian

If you are able to fix balance sheet and income statement that will be 
fantastic - thanks.  No value figures are appearing on Income statement - not 
sure if this the same issue.

Cheers
Rees




________________________________
From: Adrian Crum <[email protected]>
To: [email protected]
Sent: Thursday, 26 March, 2009 17:28:37
Subject: Re: r755534 breaks balance sheet Income statement

I will look into this over the weekend.

-Adrian

Rees Watkins wrote:
> 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