You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2007/04/07 10:57:14 UTC

svn commit: r526414 - /ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml

Author: jonesde
Date: Sat Apr  7 01:57:14 2007
New Revision: 526414

URL: http://svn.apache.org/viewvc?view=rev&rev=526414
Log:
Small change, a few more non-functional stubs/placeholders; just clearing the brain before taking a break

Modified:
    ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml

Modified: ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml?view=diff&rev=526414&r1=526413&r2=526414
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/ReportFinancialSummaryScreens.xml Sat Apr  7 01:57:14 2007
@@ -55,67 +55,140 @@
         </section>
     </screen>
 	
-    <screen name="SalesInvoiceByProductCategorySummary">
+    <screen name="FinancialSummaryDataPrep">
         <section>
             <actions>
-                <set field="titleProperty" value="PageTitleSalesInvoiceByProductCategorySummary"/>
                 <set field="headerItem" value="FinancialSummryReports"/>
-                
+
                 <set field="month" from-field="parameters.month" type="Integer" default-value="${bsh:org.ofbiz.base.util.UtilDateTime.nowDateString(&quot;MM&quot;)}"/>
                 <set field="year" from-field="parameters.year" type="Integer" default-value="${bsh:org.ofbiz.base.util.UtilDateTime.nowDateString(&quot;yyyy&quot;)}"/>
-                <set field="rootProductCategoryId" from-field="parameters.rootProductCategoryId"/>
                 <set field="organizationPartyId" from-field="parameters.organizationPartyId"/>
                 <set field="currencyUomId" from-field="parameters.currencyUomId"/>
                 
-                <entity-one entity-name="ProductCategory" value-name="rootProductCategory" auto-field-map="false" use-cache="true">
-                    <field-map field-name="productCategoryId" env-name="rootProductCategoryId"/>
-                </entity-one>
                 <entity-one entity-name="PartyNameView" value-name="organizationPartyName" auto-field-map="false" use-cache="true">
                     <field-map field-name="partyId" env-name="organizationPartyId"/>
                 </entity-one>
                 <entity-one entity-name="Uom" value-name="currencyUom" auto-field-map="false" use-cache="true">
                     <field-map field-name="uomId" env-name="currencyUomId"/>
                 </entity-one>
-                
-                <script location="component://accounting/webapp/accounting/WEB-INF/actions/reports/SalesInvoiceByProductCategorySummary.bsh"/>
             </actions>
+            <widgets></widgets>
+        </section>
+    </screen>
+    
+    <screen name="SalesInvoiceByProductCategorySummary">
+        <section>
+            <widgets>
+                <include-screen name="FinancialSummaryDataPrep" share-scope="true"/>
+                <section>
+                    <actions>
+                        <set field="titleProperty" value="PageTitleSalesInvoiceByProductCategorySummary"/>
+                        
+                        <set field="rootProductCategoryId" from-field="parameters.rootProductCategoryId"/>
+                        <entity-one entity-name="ProductCategory" value-name="rootProductCategory" auto-field-map="false" use-cache="true">
+                            <field-map field-name="productCategoryId" env-name="rootProductCategoryId"/>
+                        </entity-one>
+                        
+                        <script location="component://accounting/webapp/accounting/WEB-INF/actions/reports/SalesInvoiceByProductCategorySummary.bsh"/>
+                    </actions>
+                    <widgets>
+                        <decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
+                            <decorator-section name="body">
+                                <label style="head1" text="${uiLabelMap.PageTitleSalesInvoiceByProductCategorySummary}"/>
+                                <platform-specific><html><html-template location="component://accounting/webapp/accounting/reports/SalesInvoiceByProductCategorySummary.ftl"/></html></platform-specific>
+                            </decorator-section>
+                        </decorator-screen>
+                    </widgets>
+                </section>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="SalesInvoiceByProductGlAccountSummary">
+        <section>
             <widgets>
-                <decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <label style="head1" text="${uiLabelMap.PageTitleSalesInvoiceByProductCategorySummary}"/>
-                        <platform-specific><html><html-template location="component://accounting/webapp/accounting/reports/SalesInvoiceByProductCategorySummary.ftl"/></html></platform-specific>
-                    </decorator-section>
-                </decorator-screen>
+                <include-screen name="FinancialSummaryDataPrep" share-scope="true"/>
+                <section>
+                    <actions>
+                        <set field="titleProperty" value="PageTitleSalesInvoiceByProductGlAccountSummary"/>
+                        
+                        <script location="component://accounting/webapp/accounting/WEB-INF/actions/reports/SalesInvoiceByProductGlAccountSummary.bsh"/>
+                    </actions>
+                    <widgets>
+                        <decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
+                            <decorator-section name="body">
+                                <label style="head1" text="${uiLabelMap.PageTitleSalesInvoiceByProductGlAccountSummary}"/>
+                                <platform-specific><html><html-template location="component://accounting/webapp/accounting/reports/SalesInvoiceByProductGlAccountSummary.ftl"/></html></platform-specific>
+                            </decorator-section>
+                        </decorator-screen>
+                    </widgets>
+                </section>
             </widgets>
         </section>
     </screen>
+
     <screen name="PaymentByMethodSummary">
         <section>
-            <actions>
-                <set field="titleProperty" value="PageTitlePaymentByMethodSummary"/>
-                <set field="headerItem" value="FinancialSummryReports"/>
-                
-                <set field="month" from-field="parameters.month" type="Integer" default-value="${bsh:org.ofbiz.base.util.UtilDateTime.nowDateString(&quot;MM&quot;)}"/>
-                <set field="year" from-field="parameters.year" type="Integer" default-value="${bsh:org.ofbiz.base.util.UtilDateTime.nowDateString(&quot;yyyy&quot;)}"/>
-                <set field="organizationPartyId" from-field="parameters.organizationPartyId"/>
-                <set field="currencyUomId" from-field="parameters.currencyUomId"/>
-                
-                <entity-one entity-name="PartyNameView" value-name="organizationPartyName" auto-field-map="false" use-cache="true">
-                    <field-map field-name="partyId" env-name="organizationPartyId"/>
-                </entity-one>
-                <entity-one entity-name="Uom" value-name="currencyUom" auto-field-map="false" use-cache="true">
-                    <field-map field-name="uomId" env-name="currencyUomId"/>
-                </entity-one>
-                
-                <script location="component://accounting/webapp/accounting/WEB-INF/actions/reports/PaymentByMethodSummary.bsh"/>
-            </actions>
             <widgets>
-                <decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
-                    <decorator-section name="body">
-                        <label style="head1" text="${uiLabelMap.PageTitlePaymentByMethodSummary}"/>
-                        <platform-specific><html><html-template location="component://accounting/webapp/accounting/reports/PaymentByMethodSummary.ftl"/></html></platform-specific>
-                    </decorator-section>
-                </decorator-screen>
+                <include-screen name="FinancialSummaryDataPrep" share-scope="true"/>
+                <section>
+                    <actions>
+                        <set field="titleProperty" value="PageTitlePaymentByMethodSummary"/>
+                        
+                        <script location="component://accounting/webapp/accounting/WEB-INF/actions/reports/PaymentByMethodSummary.bsh"/>
+                    </actions>
+                    <widgets>
+                        <decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
+                            <decorator-section name="body">
+                                <label style="head1" text="${uiLabelMap.PageTitlePaymentByMethodSummary}"/>
+                                <platform-specific><html><html-template location="component://accounting/webapp/accounting/reports/PaymentByMethodSummary.ftl"/></html></platform-specific>
+                            </decorator-section>
+                        </decorator-screen>
+                    </widgets>
+                </section>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="InventoryIssueSummary">
+        <section>
+            <widgets>
+                <include-screen name="FinancialSummaryDataPrep" share-scope="true"/>
+                <section>
+                    <actions>
+                        <set field="titleProperty" value="PageTitleInventoryIssueSummary"/>
+                        
+                        <script location="component://accounting/webapp/accounting/WEB-INF/actions/reports/InventoryIssueSummary.bsh"/>
+                    </actions>
+                    <widgets>
+                        <decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
+                            <decorator-section name="body">
+                                <label style="head1" text="${uiLabelMap.PageTitleInventoryIssueSummary}"/>
+                                <platform-specific><html><html-template location="component://accounting/webapp/accounting/reports/InventoryIssueSummary.ftl"/></html></platform-specific>
+                            </decorator-section>
+                        </decorator-screen>
+                    </widgets>
+                </section>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="FinancialAccountSummary">
+        <section>
+            <widgets>
+                <include-screen name="FinancialSummaryDataPrep" share-scope="true"/>
+                <section>
+                    <actions>
+                        <set field="titleProperty" value="PageTitleFinancialAccountSummary"/>
+                        
+                        <script location="component://accounting/webapp/accounting/WEB-INF/actions/reports/FinancialAccountSummary.bsh"/>
+                    </actions>
+                    <widgets>
+                        <decorator-screen name="CommonFinAccountDecorator" location="${parameters.mainDecoratorLocation}">
+                            <decorator-section name="body">
+                                <label style="head1" text="${uiLabelMap.PageTitleFinancialAccountSummary}"/>
+                                <platform-specific><html><html-template location="component://accounting/webapp/accounting/reports/FinancialAccountSummary.ftl"/></html></platform-specific>
+                            </decorator-section>
+                        </decorator-screen>
+                    </widgets>
+                </section>
             </widgets>
         </section>
     </screen>