You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/10/15 12:55:10 UTC

svn commit: r584727 [2/2] - in /ofbiz/trunk: framework/entity/config/ specialpurpose/ specialpurpose/bi/ specialpurpose/bi/config/ specialpurpose/bi/data/ specialpurpose/bi/entitydef/ specialpurpose/bi/script/ specialpurpose/bi/script/org/ specialpurpo...

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/controller.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/controller.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/controller.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/web.xml?rev=584727&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/web.xml (added)
+++ ofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/web.xml Mon Oct 15 03:55:07 2007
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<web-app>
+    <display-name>Open For Business - Business Intelligence</display-name>
+    <description>Business Intelligence component of the Open For Business Project</description>
+    
+    <context-param>
+        <param-name>entityDelegatorName</param-name>
+        <param-value>default</param-value>
+        <description>The Name of the Entity Delegator to use, defined in entityengine.xml</description>
+    </context-param>
+    <context-param>
+        <param-name>localDispatcherName</param-name>
+        <param-value>bi</param-value>
+        <description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description>
+    </context-param>    
+    <context-param>
+        <param-name>mainDecoratorLocation</param-name>
+        <param-value>component://bi/widget/BiScreens.xml</param-value>
+        <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description>
+    </context-param>
+
+    <filter>
+        <filter-name>ContextFilter</filter-name>
+        <display-name>ContextFilter</display-name>
+        <filter-class>org.ofbiz.webapp.control.ContextFilter</filter-class>
+        <init-param>
+            <param-name>disableContextSecurity</param-name>
+            <param-value>N</param-value>
+        </init-param>
+        <init-param>
+            <param-name>allowedPaths</param-name>
+            <param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
+        </init-param>
+        <init-param>
+            <param-name>errorCode</param-name>
+            <param-value>403</param-value>
+        </init-param>
+        <init-param>
+            <param-name>redirectPath</param-name>
+            <param-value>/control/main</param-value>
+        </init-param>        
+    </filter>
+    <filter-mapping>
+        <filter-name>ContextFilter</filter-name>
+            <url-pattern>/*</url-pattern>
+    </filter-mapping> 
+
+    <listener><listener-class>org.ofbiz.webapp.control.ControlEventListener</listener-class></listener>
+    <listener><listener-class>org.ofbiz.webapp.control.LoginEventListener</listener-class></listener>
+    <!-- NOTE: not all app servers support mounting implementations of the HttpSessionActivationListener interface -->
+    <!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> -->
+  
+    <servlet>
+        <servlet-name>ControlServlet</servlet-name>
+        <display-name>ControlServlet</display-name>
+        <description>Main Control Servlet</description>
+        <servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>ControlServlet</servlet-name>
+        <url-pattern>/control/*</url-pattern>
+    </servlet-mapping>
+
+    <session-config>
+        <session-timeout>60</session-timeout> <!-- in minutes -->
+    </session-config>
+
+    <welcome-file-list>
+        <welcome-file>index.jsp</welcome-file>
+        <welcome-file>index.html</welcome-file>
+        <welcome-file>index.htm</welcome-file>
+    </welcome-file-list>
+</web-app>

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl?rev=584727&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl (added)
+++ ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl Mon Oct 15 03:55:07 2007
@@ -0,0 +1,39 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<table cellspacing="0" class="basic-table form-widget-table dark-grid">
+    <tr class="header-row">
+        <#list columnNames as columnName>
+        <td>
+            ${columnName}
+        </td>
+        </#list>
+    </tr>
+    <#list records as record>
+    <tr>
+        <#list columnNames as columnName>
+        <#assign columnValue = record[columnName]?default("")>
+        <td<#if columnValue?is_number> class="align-text"</#if>>
+            ${columnValue}
+        </td>
+        </#list>
+    </tr>
+    </#list>
+    
+</table>

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/SelectStarSchemaFields.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/SelectStarSchemaFields.ftl?rev=584727&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/SelectStarSchemaFields.ftl (added)
+++ ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/SelectStarSchemaFields.ftl Mon Oct 15 03:55:07 2007
@@ -0,0 +1,53 @@
+<#--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<form action="<@o...@ofbizUrl>">
+    <input type="hidden" name="starSchemaName" value="${starSchemaName}"/>
+    <table cellspacing="0" class="basic-table form-widget-table dark-grid">
+        <tr class="header-row">
+            <td>
+                Select
+            </td>
+            <td>
+                Field Name
+            </td>
+            <td>
+                Field Description
+            </td>
+        </tr>
+        <#list starSchemaFields as starSchemaField>
+        <tr>
+            <td>
+                <input name="selectedField" value="${starSchemaField.name}" type="checkbox"/>
+            </td>
+            <td>
+                ${starSchemaField.name}
+            </td>
+            <td>
+                ${starSchemaField.description?default("")}
+            </td>
+        </tr>
+        </#list>
+        <tr>
+            <td colspan="3">
+                <input name="submitButton" type="submit" value="Render the Report"/>
+            </td>
+        </tr>
+    </table>
+</form>

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/SelectStarSchemaFields.ftl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/SelectStarSchemaFields.ftl
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/bi/webapp/bi/reportbuilder/SelectStarSchemaFields.ftl
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/trunk/specialpurpose/bi/widget/BiForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/widget/BiForms.xml?rev=584727&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/bi/widget/BiForms.xml (added)
+++ ofbiz/trunk/specialpurpose/bi/widget/BiForms.xml Mon Oct 15 03:55:07 2007
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+        xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-form.xsd">
+
+    <form name="selectStarSchema" title="" type="single" target="ReportBuilderSelectStarSchemaFields">
+        <actions>
+            <script location="component://bi/webapp/bi/WEB-INF/actions/reportbuilder/getStarSchemas.bsh"/>
+        </actions>
+        <field name="starSchemaName" title="Select the star schema (report)">
+            <drop-down allow-empty="false">
+                <list-options list-name="starSchemas" key-name="name" description="${title}"/>
+            </drop-down>
+        </field>
+        <field name="submitButton" title="${uiLabelMap.CommonSubmit}">
+            <submit button-type="button"/>
+        </field>
+    </form>
+
+    <form name="SalesInvoiceItemStarSchema" list-name="invoiceItemFacts" title="" type="list">
+        <actions>
+            <entity-condition entity-name="SalesInvoiceItemStarSchema" list-name="invoiceItemFacts">
+                <select-field field-name="invoiceDateDayName"/>
+                <select-field field-name="productProductType"/>
+                <select-field field-name="extGrossAmount"/>
+                <select-field field-name="quantity"/>
+            </entity-condition>
+        </actions>
+        <field name="invoiceDateDayName"><display/></field>
+        <field name="productProductType"><display/></field>
+        <field name="extGrossAmount"><display/></field>
+        <field name="quantity"><display/></field>
+    </form>
+</forms>

Propchange: ofbiz/trunk/specialpurpose/bi/widget/BiForms.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/bi/widget/BiForms.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/bi/widget/BiForms.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml?rev=584727&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml (added)
+++ ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml Mon Oct 15 03:55:07 2007
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
+    <menu name="BiAppBar" default-menu-item-name="main" id="app-navigation" type="simple" title="${uiLabelMap.BusinessIntelligenceApplication}"
+        default-selected-style="selected">
+        <menu-item name="main" title="${uiLabelMap.CommonMain}"><link target="main"/></menu-item>
+        <menu-item name="reportbuilder" title="${uiLabelMap.ReportBuilder}"><link target="ReportBuilderSelectStarSchema"/></menu-item>
+
+        <menu-item name="Logout" title="Logout" align-style="col-right" selected-style="selected">
+            <condition><not><if-empty field-name="userLogin"/></not></condition>
+            <link target="logout"/>
+        </menu-item>
+        <menu-item name="Login" title="Login" align-style="col-right" selected-style="selected">
+            <condition><if-empty field-name="userLogin"/></condition>
+            <link target="${checkLoginUrl}"/>
+        </menu-item>
+    </menu>
+</menus>

Propchange: ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/bi/widget/BiMenus.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml?rev=584727&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml (added)
+++ ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml Mon Oct 15 03:55:07 2007
@@ -0,0 +1,225 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
+    <screen name="main-decorator">
+        <section>
+            <actions>
+                <!-- base/top/specific map first, then more common map added for shared labels --> 
+                <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
+
+                <set field="layoutSettings.companyName" from-field="uiLabelMap.ManufacturingCompanyName" global="true"/>
+                <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.ManufacturingCompanySubtitle" global="true"/>
+                <set field="activeApp" value="bi" global="true"/>
+                <set field="applicationMenuName" value="BiAppBar" global="true"/>
+                <set field="applicationMenuLocation" value="component://bi/widget/BiMenus.xml" global="true"/>
+            </actions>
+            <widgets>
+                <include-screen name="GlobalDecorator" location="component://common/widget/CommonScreens.xml"/>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="login">
+        <section>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <platform-specific>
+                            <html><html-template location="component://common/webcommon/login.ftl"/></html>
+                        </platform-specific>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="requirePasswordChange">
+        <section>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <platform-specific>
+                            <html><html-template location="component://common/webcommon/changePassword.ftl"/></html>
+                        </platform-specific>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="ReportBuilderSelectStarSchema">
+        <section>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <include-form name="selectStarSchema" location="component://bi/widget/BiForms.xml"/>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="ReportBuilderSelectStarSchemaFields">
+        <section>
+            <actions>
+                <script location="component://bi/webapp/bi/WEB-INF/actions/reportbuilder/getStarSchemaFields.bsh"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <platform-specific>
+                            <html><html-template location="component://bi/webapp/bi/reportbuilder/SelectStarSchemaFields.ftl"/></html>
+                        </platform-specific>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="ReportBuilderRenderStarSchemaReport">
+        <section>
+            <actions>
+                <script location="component://bi/webapp/bi/WEB-INF/actions/reportbuilder/runStarSchemaQuery.bsh"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <platform-specific>
+                            <html><html-template location="component://bi/webapp/bi/reportbuilder/RenderStarSchemaReport.ftl"/></html>
+                        </platform-specific>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+
+    <screen name="main">
+        <section>
+            <actions>
+                <set field="fromDate" value="2007-01-01 00:00:00.0" type="Timestamp"/>
+                <set field="thruDate" value="2008-01-01 00:00:00.0" type="Timestamp"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <container>
+                            <label style="head1">Business Intelligence integrated framework</label>
+                        </container>
+                        <container>
+                            <label>
+                                This is a proof of concept for an OFBiz integrated framework for business intelligence analysis.
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                The idea is to define a set entities for business intelligence analysis in a separate (olap) database,
+                                accessible as the main one (oltp) via the delegator.
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                The new olap database, will contain all the entities necessary to datawarehouse analysis:
+                                dimensions, facts and star schemas (that are view-entities).
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                The dimensions, facts and star schemas are defined according to best practices for datawarehouses
+                                and best practices for OFBiz: they are defined as standard entities using the xml entity defs;
+                                clear and consistent naming conventions is used and they are documented
+                                by meta data descriptions (in the entity def).
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                The best practices for datawarehouses are mainly taken from the great book "The Data Warehouse Toolkit - Second Edition" by Ralph Kimball.
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                The data for dimensions and facts is maintained and kept up to date using standard OFBiz services
+                                (most of them written in minilang) and eca rules (easily customizable).
+                            </label>
+                        </container>
+                        <container>
+                            <label style="head3">
+                                Current Status
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                The main low level services to post data to the datawarehouse, 
+                                to map the operational keys with the datawarehouse ones, and to manage
+                                history of data changes are already implemented; they will need to be improved (mainly for performance).
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                The following dimensions (and data services) are defined: CurrencyDimension, DateDimension, ProductDimension;
+                                we will have to complete them and disign the other ones (to total number of dimension will be probably about 20 entities).
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                Just one fact and one star schema are defined: SalesInvoiceItemFact and SalesInvoiceItemStarSchema.
+                            </label>
+                        </container>
+                        <container>
+                            <label style="head3">
+                                Quick Start Guide
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                You can quickly initialize the datawarehouse by clicking on the link below:
+                                The CurrencyDimension, DateDimension, ProductDimension and the SalesInvoiceItemFact entities will be automatically populated.
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                Then you can run the analysis using the report builder menu.
+                                The report builder is a very simple tool that allows you to run
+                                the analysis on all the star schemas defined in the system.
+                                However, right now there is just one star schema defined:
+                                SalesInvoiceItemStarSchema that is a simple "profit and loss" (P&amp;L) analysis.
+                            </label>
+                        </container>
+                        <container>
+                            <label>
+                                Just select using the checkboxes the fields (columns) you want to see in the report
+                                and a simple report will be shown: according to the columns selected the data will be aggregated (drill up/down);
+                                all the descriptions you see in the report screens are pulled from the entity definitions.
+                            </label>
+                        </container>
+                        <container>
+                            <link target="quickInitDataWarehouse?fromDate=${fromDate}&amp;thruDate=${thruDate}" text="Quick Init DataWarehouse" style="buttontext"/>
+                            <label> (from date ${fromDate} thru date ${thruDate})</label>
+                        </container>
+                        <container>
+                            <label>
+                                The initialization is needed only once, because the product data and sales invoice data
+                                are kept updated by ecas: if you create/update a product or create a new invoice,
+                                the new information will be immediately included in the datawarehouse analysis.
+                            </label>
+                        </container>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+</screens>
+

Propchange: ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/bi/widget/BiScreens.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/specialpurpose/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/build.xml?rev=584727&r1=584726&r2=584727&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/build.xml (original)
+++ ofbiz/trunk/specialpurpose/build.xml Mon Oct 15 03:55:07 2007
@@ -20,7 +20,7 @@
 
 <project name="OFBiz Special Purpose Applications Build" default="build" basedir=".">
     <filelist id="application-builds" dir="."
-        files="pos/build.xml, hhfacility/build.xml, assetmaint/build.xml, oagis/build.xml"/>
+        files="pos/build.xml, hhfacility/build.xml, assetmaint/build.xml, oagis/build.xml, bi/build.xml"/>
 
     <!-- ================================================================== -->
     <!-- Removes all created files and directories                          -->

Modified: ofbiz/trunk/specialpurpose/component-load.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/component-load.xml?rev=584727&r1=584726&r2=584727&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/component-load.xml (original)
+++ ofbiz/trunk/specialpurpose/component-load.xml Mon Oct 15 03:55:07 2007
@@ -26,4 +26,5 @@
     <load-component component-location="${ofbiz.home}/specialpurpose/cmssite"/>
     <load-component component-location="${ofbiz.home}/specialpurpose/projectmgr"/>
     <load-component component-location="${ofbiz.home}/specialpurpose/oagis"/>
+    <load-component component-location="${ofbiz.home}/specialpurpose/bi"/>
 </component-loader>