It works now.

Thanks,

Jacopo

On Apr 20, 2009, at 4:44 PM, Adrian Crum wrote:

Rees,

Thanks for looking at this again. Actually, I think I solved the problem in the framework itself - so the patch isn't needed. Try updating your local copy to the latest revision and see what happens.

I'll create some test data when I have time, but my spare time is very limited right now.

-Adrian

Rees Watkins wrote:
Hi Andrian
I have incorporated your changes into the Income Statement. This is the result
Income Statement
Gl Account Id     [_id804000] []
[_id400000] []
[_id500000] []
No totals are shown and the account names do not show. In your previous mail you said you could not test because you do not have any demo data. Is there any way you could add some data to your test site so you can test your fixes?
Kind regards
Rees
________________________________
From: Adrian Crum <[email protected]>
To: [email protected]
Sent: Monday, 13 April, 2009 17:04:58
Subject: Re: r755534 breaks balance sheet Income statement
Did you update to the latest revision? The util:toIdentifier(String) UEL function was just added to the framework on Sunday.
-Adrian
Rees Watkins wrote:
Hi Adrian

glAccountTotalsProfitMap and glAccountTotalsExpenseMap are empty, but there are valid values been set into them.

I logged the following in the loop where entries are made into map
a <log level="info" message="prepareIncomeStatement mapKey $ {util:toIdentifier(glAccount.glAccountId)}"/> b <log level="info" message="prepareIncomeStatement mapKey ${glAccount.glAccountId}"/> c <log level="info" message="prepareIncomeStatement mapKey ${mapKey}"/>

Only b gives a value, a and c are null.

I have spent some time working with your solution but can't seem to be able to make progress. I have not been able to find an example in the ofbiz code where mapping is used like this.
Any ideas?

Thanks
Rees





________________________________
From: Adrian Crum <[email protected]>
To: [email protected]
Sent: Sunday, 12 April, 2009 23:13:22
Subject: Re: r755534 breaks balance sheet Income statement


Rees,

I have a patch for you to try out:

https://issues.apache.org/jira/browse/OFBIZ-2292

Let me know if it fixes this problem. I can't test it myself because there is no demo data to work with.

-Adrian





Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to