martes, 26 de abril de 2011

New "Title" type nodes in Balance & PL reports

I would like to share with you a little, but useful enhancement, available starting from Openbravo MP28, that can be interesting to anybody configuring a chart of accounting, either as part of developing a localization or simply to adapt it to the needs of your company.
A new check-box is available in the Element Value tab (at Financial Management || Accounting || Setup || Account Tree || Element) named "Title Node":
This allows to print nodes in the Balance Sheet & PL report (at Financial Management || Accounting || Analysis Tools) with no amount, just as information or title of a report section, but located inside the report, as one node, with it's corresponding font size and style. This node will always be displayed, regardless of the value of the "Show only accounts with value" flag. For example, let's have a look to the following report:
where Total Expenses and Total Revenues nodes are calculated through operands, as a sum of the two nodes above them.
In this case, nodes 1.1 and 1.2, if displayed, will show duplicated amounts, as shown in this example:
As you can see, amounts are duplicated in the 1.1 and 1.2 nodes. These nodes must be shown, as are part of the structure of the report, but the amount obtained is not useful at all, so we should flag them as "Title Node". Let's see, then, the result:
For further information about how to configure this report, you can have a look at the configuration manual, or the Balance Sheet articles in our wiki.