You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2014/03/05 10:20:26 UTC

svn commit: r1574400 - in /ofbiz/trunk/applications/accounting: data/ script/org/ofbiz/accounting/budget/ servicedef/ widget/

Author: hansbak
Date: Wed Mar  5 09:20:26 2014
New Revision: 1574400

URL: http://svn.apache.org/r1574400
Log:
some missing files from commit 1573884

Added:
    ofbiz/trunk/applications/accounting/data/DemoBudgetData.xml   (with props)
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/budget/
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml   (with props)
    ofbiz/trunk/applications/accounting/servicedef/services_budget.xml   (with props)
    ofbiz/trunk/applications/accounting/widget/BudgetForms.xml   (with props)
    ofbiz/trunk/applications/accounting/widget/BudgetScreens.xml   (with props)

Added: ofbiz/trunk/applications/accounting/data/DemoBudgetData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/DemoBudgetData.xml?rev=1574400&view=auto
==============================================================================
--- ofbiz/trunk/applications/accounting/data/DemoBudgetData.xml (added)
+++ ofbiz/trunk/applications/accounting/data/DemoBudgetData.xml Wed Mar  5 09:20:26 2014
@@ -0,0 +1,45 @@
+<?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.
+-->
+<entity-engine-xml>
+    <Budget budgetId="DemoBudget001" budgetTypeId="CAPITAL_BUDGET" customTimePeriodId="6016" comments="Demo for budget 001"/>
+    <Budget budgetId="DemoBudget002" budgetTypeId="OPERATING_BUDGET" customTimePeriodId="6010" comments="Demo for budget 002"/>
+
+    <BudgetStatus budgetId="DemoBudget001" statusId="BG_CREATED" statusDate="2009-01-09 00:00:00.000"/>
+    <BudgetStatus budgetId="DemoBudget001" statusId="BG_REVIEWED" statusDate="2009-01-10 00:00:00.000"/>
+    <BudgetStatus budgetId="DemoBudget002" statusId="BG_CREATED" statusDate="2009-01-09 00:00:00.000"/>
+    <BudgetStatus budgetId="DemoBudget002" statusId="BG_REVIEWED" statusDate="2009-01-10 00:00:00.000"/>
+    <BudgetStatus budgetId="DemoBudget002" statusId="BG_APPROVED" statusDate="2009-01-11 00:00:00.000"/>
+    
+    <BudgetRole budgetId="DemoBudget001" partyId="ACCOUNTING" roleTypeId="INTERNAL_ORGANIZATIO"/>
+    <BudgetRole budgetId="DemoBudget002" partyId="accountingadmin" roleTypeId="ACCOUNTANT"/>
+    <BudgetRole budgetId="DemoBudget002" partyId="MARKETING" roleTypeId="INTERNAL_ORGANIZATIO"/>
+    
+    <BudgetItem budgetId="DemoBudget001" budgetItemSeqId="00001" budgetItemTypeId="REQUIREMENT_BUDGET_A" amount="500" purpose="Demo item 1 for Demo budget 001" justification="For Demo budget 001"/>
+    <BudgetItem budgetId="DemoBudget002" budgetItemSeqId="00001" budgetItemTypeId="REQUIREMENT_BUDGET_A" amount="1000" purpose="Demo item 1 for Demo budget 002" justification="For Demo budget 002"/>
+    <BudgetItem budgetId="DemoBudget002" budgetItemSeqId="00002" budgetItemTypeId="REQUIREMENT_BUDGET_A" amount="1500" purpose="Demo item 2 for Demo budget 002" justification="For Demo budget 002"/>
+    
+    <BudgetReview budgetId="DemoBudget001" budgetReviewId="00001" partyId="ACCOUNTING" budgetReviewResultTypeId="BGR_REJECTED" reviewDate="2009-01-10 00:00:00.000"/>
+    <BudgetReview budgetId="DemoBudget001" budgetReviewId="00002" partyId="ACCOUNTING" budgetReviewResultTypeId="BGR_ACCEPTED" reviewDate="2009-01-11 00:00:00.000"/>
+    <BudgetReview budgetId="DemoBudget001" budgetReviewId="00003" partyId="ACCOUNTING" budgetReviewResultTypeId="BGR_ACCEPTED" reviewDate="2009-01-11 00:00:00.000"/>
+    <BudgetReview budgetId="DemoBudget002" budgetReviewId="00001" partyId="accountingadmin" budgetReviewResultTypeId="BGR_REJECTED" reviewDate="2009-01-10 00:00:00.000"/>
+    <BudgetReview budgetId="DemoBudget002" budgetReviewId="00002" partyId="accountingadmin" budgetReviewResultTypeId="BGR_REJECTED" reviewDate="2009-01-10 00:00:00.000"/>
+    <BudgetReview budgetId="DemoBudget002" budgetReviewId="00003" partyId="accountingadmin" budgetReviewResultTypeId="BGR_REJECTED" reviewDate="2009-01-10 00:00:00.000"/>
+    <BudgetReview budgetId="DemoBudget002" budgetReviewId="00004" partyId="accountingadmin" budgetReviewResultTypeId="BGR_ACCEPTED" reviewDate="2009-01-11 00:00:00.000"/>
+</entity-engine-xml>

Propchange: ofbiz/trunk/applications/accounting/data/DemoBudgetData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/accounting/data/DemoBudgetData.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/applications/accounting/data/DemoBudgetData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml?rev=1574400&view=auto
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml (added)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml Wed Mar  5 09:20:26 2014
@@ -0,0 +1,152 @@
+<?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.
+-->
+
+<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/simple-methods-v2.xsd">
+
+    <!-- create a new Budget header record -->
+    <simple-method method-name="createBudget" short-description="Create an Budget">
+          <!-- create new entity and create all the fields -->
+        <make-value value-field="newEntity" entity-name="Budget"/>
+        <set-nonpk-fields map="parameters" value-field="newEntity"/>
+
+        <!-- create a non existing ID if not supplied -->
+        <sequenced-id sequence-name="Budget" field="newEntity.budgetId"/>
+
+        <!-- finally create the record (should not exist already)-->
+        <create-value value-field="newEntity"/>
+        
+        <set field="setStatus.budgetId" from-field="newEntity.budgetId"/>
+        <set field="setStatus.statusId" value="BG_CREATED"/>
+        <call-service service-name="updateBudgetStatus" in-map-name="setStatus"/>
+        <field-to-result field="newEntity.budgetId" result-name="budgetId"/>
+    </simple-method>
+    
+    <!-- update an existing Budget header Record -->
+    <simple-method method-name="updateBudget" short-description="Update an existing Budget">
+        <entity-one entity-name="Budget" value-field="lookedUpValue"/>
+        <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
+        <set-pk-fields value-field="lookedUpValue" map="parameters"/>
+        <store-value value-field="lookedUpValue"/>
+        
+        <field-to-result field="parameters.budgetId" result-name="budgetId"/>
+    </simple-method>
+    
+    <!-- update Budget Status -->
+    <simple-method method-name="updateBudgetStatus" short-description="Update Budget Status">
+        <now-timestamp field="nowDate"/>
+        <entity-and list="budgetStatuses" entity-name="BudgetStatus">
+            <field-map field-name="budgetId" from-field="parameters.budgetId"/>
+            <order-by field-name="-statusDate"/>
+        </entity-and>
+        <if-not-empty field="budgetStatuses">
+            <first-from-list entry="budgetStatus" list="budgetStatuses"/>
+            <entity-one value-field="statusValidChange" entity-name="StatusValidChange">
+                <field-map field-name="statusId" from-field="budgetStatus.statusId"/>
+                <field-map field-name="statusIdTo" from-field="parameters.statusId"/>
+            </entity-one>
+            <if-not-empty field="statusValidChange">
+                <make-value value-field="newEntity" entity-name="BudgetStatus"/>
+                <set-pk-fields value-field="newEntity" map="parameters"/>
+                <set-nonpk-fields map="parameters" value-field="newEntity"/>
+                <set field="newEntity.statusDate" from-field="nowDate"/>
+                <create-value value-field="newEntity"/>
+            </if-not-empty>
+            <else>
+                <make-value value-field="newEntity" entity-name="BudgetStatus"/>
+                <set-pk-fields value-field="newEntity" map="parameters"/>
+                <set-nonpk-fields map="parameters" value-field="newEntity"/>
+                <set field="newEntity.statusDate" from-field="nowDate"/>
+                <create-value value-field="newEntity"/>
+            </else>
+        </if-not-empty>
+    </simple-method>
+    
+    <simple-method method-name="createBudgetItem" short-description="Create a new Budget Item">
+        <set field="budgetId" from-field="parameters.budgetId"/>
+        <make-value value-field="newEntity" entity-name="BudgetItem"/>
+        <set-pk-fields map="parameters" value-field="newEntity"/>
+        <set-nonpk-fields map="parameters" value-field="newEntity"/>
+        <if-empty field="newEntity.budgetItemSeqId">
+            <make-next-seq-id value-field="newEntity" seq-field-name="budgetItemSeqId"/>
+        </if-empty>
+        <create-value value-field="newEntity"/>
+        <field-to-result field="budgetId"/>
+    </simple-method>
+    
+    <simple-method method-name="updateBudgetItem"
+        short-description="Update an existing Budget Item">
+        <make-value value-field="lookedUpValue" entity-name="BudgetItem"/>
+        <set-pk-fields map="parameters" value-field="lookedUpValue"/>
+        <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
+
+        <store-value value-field="lookedUpValue"/>
+        <field-to-result field="lookedUpValue.budgetItemSeqId" result-name="budgetItemSeqId"/>
+        <field-to-result field="lookedUpValue.budgetId" result-name="budgetId"/>
+    </simple-method>
+    
+    <simple-method method-name="removeBudgetItem" short-description="Remove an existing Budget Item">
+        <entity-one entity-name="BudgetItem" value-field="lookedUpValue"/>
+        <remove-value value-field="lookedUpValue"/>
+    </simple-method>
+    
+    <simple-method method-name="createBudgetRole" short-description="Create a Budget Role">
+        <entity-one value-field="partyRole" entity-name="PartyRole">
+            <field-map field-name="partyId" from-field="parameters.partyId"/>
+            <field-map field-name="roleTypeId" from-field="parameters.roleTypeId"/>
+        </entity-one>
+        <if-empty field="partyRole">
+            <set field="createPartyRole.partyId" from-field="parameters.partyId"/>
+            <set field="createPartyRole.roleTypeId" from-field="parameters.roleTypeId"/>
+            <call-service service-name="createPartyRole" in-map-name="createPartyRole"/>
+            <check-errors/>
+        </if-empty>
+        
+        <make-value value-field="newEntity" entity-name="BudgetRole"/>
+        <set-nonpk-fields map="parameters" value-field="newEntity"/>
+        <set-pk-fields map="parameters" value-field="newEntity"/>
+        <create-value value-field="newEntity"/>
+        <field-to-result field="parameters.budgetId" result-name="budgetId"/>
+    </simple-method>
+
+    <simple-method method-name="removeBudgetRole" short-description="Remove existing Budget Role">
+        <entity-one entity-name="BudgetRole" value-field="lookedUpValue"/>
+        <remove-value value-field="lookedUpValue"/>
+        <field-to-result field="parameters.budgetId" result-name="budgetId"/>
+    </simple-method>
+    
+    <simple-method method-name="createBudgetReview" short-description="Create a Budget Review">
+        <make-value value-field="newEntity" entity-name="BudgetReview"/>
+        <set-nonpk-fields map="parameters" value-field="newEntity"/>
+        <set-pk-fields map="parameters" value-field="newEntity"/>
+        <if-empty field="newEntity.budgetReviewId">
+            <make-next-seq-id value-field="newEntity" seq-field-name="budgetReviewId"/>
+        </if-empty>
+        <create-value value-field="newEntity"/>
+        <field-to-result field="parameters.budgetId" result-name="budgetId"/>
+    </simple-method>
+    
+    <simple-method method-name="removeBudgetReview" short-description="Remove existing Budget Review">
+        <entity-one entity-name="BudgetReview" value-field="lookedUpValue"/>
+        <remove-value value-field="lookedUpValue"/>
+        <field-to-result field="parameters.budgetId" result-name="budgetId"/>
+    </simple-method>
+</simple-methods>
+

Propchange: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/accounting/servicedef/services_budget.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/services_budget.xml?rev=1574400&view=auto
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/services_budget.xml (added)
+++ ofbiz/trunk/applications/accounting/servicedef/services_budget.xml Wed Mar  5 09:20:26 2014
@@ -0,0 +1,95 @@
+<?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.
+-->
+
+<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
+    <description>Accounting Services: Fixed Asset </description>
+    <vendor>OFBiz</vendor>
+    <version>1.0</version>
+
+    <!-- Budget  -->
+    <service name="createBudget" default-entity-name="Budget" engine="simple"
+                location="component://accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml" invoke="createBudget" auth="true">
+        <description>Create a Budget</description>
+        <auto-attributes include="pk" mode="INOUT" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateBudget" default-entity-name="Budget" engine="simple"
+                location="component://accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml" invoke="updateBudget" auth="true">
+        <description>Update a Budget</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <attribute name="budgetId" mode="OUT" type="String" optional="false"></attribute>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="updateBudgetStatus" default-entity-name="BudgetStatus" engine="simple"
+                location="component://accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml" invoke="updateBudgetStatus">
+        <description>Update a Budget</description>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="createBudgetItem" default-entity-name="BudgetItem" engine="simple"
+                location="component://accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml" invoke="createBudgetItem">
+        <description>Create a Budget Item</description>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <attribute name="budgetId" mode="INOUT" type="String" optional="false"></attribute>
+    </service>
+    <service name="updateBudgetItem" default-entity-name="BudgetItem" engine="simple"
+                location="component://accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml" invoke="updateBudgetItem">
+        <description>Update a Budget Item</description>
+        <auto-attributes include="pk" mode="INOUT" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+    </service>
+    <service name="removeBudgetItem" engine="simple" default-entity-name="BudgetItem"
+        location="component://accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml" invoke="removeBudgetItem">
+        <description>Remove an existing Budget Item Record</description>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+    </service>
+    
+    <service name="createBudgetRole" engine="simple" default-entity-name="BudgetRole"
+        location="component://accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml" invoke="createBudgetRole">
+        <description>Create a new Budget Role Record</description>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <attribute name="budgetId" mode="OUT" type="String" optional="false"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    
+    <service name="removeBudgetRole" engine="simple" default-entity-name="BudgetRole"
+        location="component://accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml" invoke="removeBudgetRole">
+        <description>Remove an existing Budget Role Record</description>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <attribute name="budgetId" mode="OUT" type="String" optional="false"/>
+    </service>
+    
+    <service name="createBudgetReview" engine="simple" default-entity-name="BudgetReview"
+        location="component://accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml" invoke="createBudgetReview">
+        <description>Create a new Budget Review Record</description>
+        <attribute name="budgetId" mode="INOUT" type="String" optional="false"/>
+        <attribute name="partyId" mode="IN" type="String" optional="false"/>
+        <attribute name="budgetReviewResultTypeId" mode="IN" type="String" optional="false"/>
+        <auto-attributes mode="IN" include="nonpk" optional="true"/>
+    </service>
+    
+    <service name="removeBudgetReview" engine="simple" default-entity-name="BudgetReview"
+        location="component://accounting/script/org/ofbiz/accounting/budget/BudgetServices.xml" invoke="removeBudgetReview">
+        <description>Remove an existing Budget Review Record</description>
+        <auto-attributes mode="IN" include="pk" optional="false"/>
+        <attribute name="budgetId" mode="OUT" type="String" optional="false"/>
+    </service>
+</services>

Propchange: ofbiz/trunk/applications/accounting/servicedef/services_budget.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/accounting/servicedef/services_budget.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/applications/accounting/servicedef/services_budget.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/accounting/widget/BudgetForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/BudgetForms.xml?rev=1574400&view=auto
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/BudgetForms.xml (added)
+++ ofbiz/trunk/applications/accounting/widget/BudgetForms.xml Wed Mar  5 09:20:26 2014
@@ -0,0 +1,265 @@
+<?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.
+-->
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
+    <!-- list all assets in a tabular format -->
+    <form name="ListBudgets" type="list" list-name="listIt" paginate-target="ListBudgets"
+        odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
+        <actions>
+            <service service-name="performFind" result-map="result" result-map-list="listIt">
+                <field-map field-name="inputFields" from-field="parameters"/>
+                <field-map field-name="entityName" value="Budget"/>
+                <field-map field-name="orderBy" from-field="parameters.sortField"/>
+                <field-map field-name="viewIndex" from-field="viewIndex"/>
+                <field-map field-name="viewSize" from-field="viewSize"/>
+            </service>
+        </actions>
+        <field name="budgetId" widget-style="linktext" sort-field="true">
+            <hyperlink also-hidden="false" description="${budgetId}" target="EditBudget">
+                <parameter param-name="budgetId"/>
+            </hyperlink>
+        </field>
+        <field name="budgetTypeId" sort-field="true"><display-entity entity-name="BudgetType"/></field>
+        <field name="customTimePeriodId" sort-field="true">
+            <display/>
+        </field>
+        <field name="comments" sort-field="true">
+            <display/>
+        </field>
+        <on-event-update-area event-type="paginate" area-id="search-results" area-target="BudgetSearchResults"/>
+    </form>
+
+    <form name="FindBudgetOptions" extends="lookupBudget" extends-resource="component://accounting/widget/FieldLookupForms.xml"
+        target="ListBudgets">
+        <field name="searchOptions_collapsed"><hidden value="true"/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+
+    <!-- create and update a fixed asset -->
+    <form name="EditBudget" type="single" target="updateBudget" title="" default-map-name="budget"
+        header-row-style="header-row" default-table-style="basic-table">
+        <alt-target use-when="budget == null" target="createBudget"/>
+        <field use-when="budget != null" name="budgetId"><display/></field>
+        <field name="budgetTypeId">
+            <drop-down allow-empty="false">
+                <entity-options entity-name="BudgetType" description="${description}">
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="customTimePeriodId"><lookup target-form-name="LookupCustomTimePeriod"/></field>
+        <field name="comments" ><text/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonCreate}" use-when="budget == null"><submit /></field>
+        <field name="submitButton" title="${uiLabelMap.CommonUpdate}" use-when="budget != null"><submit /></field>
+    </form>
+
+    <form name="BudgetHeader" type="single" title="Budget header information" default-map-name="budget"
+        header-row-style="header-row" default-table-style="basic-table">
+        <field name="budgetId"><hidden/></field>
+        <field position="1" name="budgetTypeId"><display-entity entity-name="BudgetType"/></field>
+        <field name="customTimePeriodId" position="2"><display/></field>
+        <field position="1" name="comments"><display/></field>
+    </form>
+    
+    <form name="BudgetStatus" list-name="budgetStatuses" target="" title="" type="list" separate-columns="true" paginate-target="budgetOverview"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <field name="budgetId"><hidden/></field>
+        <field name="statusDate"><display/></field>
+        <field name="statusId" title="${uiLabelMap.AccountingBudgetStatus}"><display-entity entity-name="StatusItem" description="${description}"/></field>
+    </form>
+    
+    <form name="BudgetRoles" type="list" use-row-submit="true" title="" list-name="budgetRoles" paginate-target="BudgetOverview"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <!--auto-fields-entity entity-name="InvoiceRole" default-field-type="display"/-->
+        <field name="budgetId"><hidden/></field>
+        <field name="partyId" widget-style="buttontext">
+            <hyperlink description="${partyId}" target-type="inter-app" target="/partymgr/control/viewprofile">
+                <parameter param-name="partyId"/>
+            </hyperlink>
+        </field>
+        <field name="name" entry-name="partyId">
+            <display-entity also-hidden="false" entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${firstName} ${lastName}"/>
+        </field>
+        <field name="roleTypeId">
+            <display-entity also-hidden="false" entity-name="RoleType"/>
+        </field>
+    </form>
+    
+    <form name="BudgetItems" list-name="budgetItems" target="" title="" type="list" separate-columns="true" paginate-target="BudgetOverview"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <auto-fields-entity entity-name="BudgetItem" default-field-type="display"/>
+        <field name="budgetId"><hidden/></field>
+        <field name="budgetItemSeqId"><display/></field>
+        <field name="budgetItemTypeId"><display-entity entity-name="BudgetItemType"/></field>
+        <field name="amount" ><display/></field>
+        <field name="purpose" ><display/></field>
+        <field name="justification" ><display/></field>
+    </form>
+    
+    <form name="BudgetReviews" list-name="budgetReviews" target="" title="" type="list" separate-columns="true" paginate-target="BudgetOverview"
+        odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+        <field name="budgetReviewId"><display/></field>
+        <field name="partyId" widget-style="buttontext">
+            <hyperlink description="${partyId}" target-type="inter-app" target="/partymgr/control/viewprofile">
+                <parameter param-name="partyId"/>
+            </hyperlink>
+        </field>
+        <field name="name" entry-name="partyId">
+            <display-entity also-hidden="false" entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${firstName} ${lastName}"/>
+        </field>
+        <field name="budgetReviewResultTypeId">
+            <display-entity also-hidden="false" entity-name="BudgetReviewResultType"/>
+        </field>
+        <field name="reviewDate"><display/></field>
+    </form>
+    
+    <form name="EditBudgetItems" type="multi"  list-name="budgetItems" default-entity-name="BudgetItem" target="updateBudgetItem?budgetId=${budgetId}&amp;viewSize=${viewSize}&amp;viewIndex=${viewIndex}" title="Edit Budget Items" paginate-target="EditBudgetItems"
+       odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+       <field name="viewSize"><hidden value="${viewSize}"/></field>
+       <field name="viewIndex"><hidden value="${viewIndex}"/></field>
+       <field name="budgetId"><hidden/></field>
+       <field name="budgetItemSeqId" widget-style="buttontext">
+           <hyperlink target="EditBudgetItems"  description="${budgetItemSeqId}">
+                <parameter param-name="budgetId"/>
+                <parameter param-name="budgetItemSeqId"/>
+            </hyperlink>
+        </field>
+       <field name="budgetItemTypeId">
+           <drop-down allow-empty="false">
+               <entity-options entity-name="BudgetItemType" description="${description}" key-field-name="budgetItemTypeId"/>
+           </drop-down>
+       </field>
+       <field name="amount" ><text size="10"/></field>
+       <field name="purpose" ><text size="50"/></field>
+       <field name="justification" ><text size="50"/></field>
+       <field name="updateButton" title="${uiLabelMap.CommonUpdate}" widget-style="buttontext" ><submit button-type="text-link"/></field>
+       <field name="removeButton" title=" " widget-style="buttontext">
+            <hyperlink description="${uiLabelMap.CommonRemove}" target="removeBudgetItem">
+                <parameter param-name="budgetId"/>
+                <parameter param-name="budgetItemSeqId"/>
+                <parameter param-name="viewIndex"/>
+                <parameter param-name="viewSize"/>
+            </hyperlink>
+       </field>
+    </form>
+    
+    <form name="EditBudgetItem" type="single" target="createBudgetItem" title="" default-map-name="budgetItem" default-entity-name="BudgetItem"
+        header-row-style="header-row" default-table-style="basic-table">
+        <field name="budgetId"><hidden/></field>
+       <field name="budgetItemTypeId">
+           <drop-down allow-empty="false">
+               <entity-options entity-name="BudgetItemType" description="${description}" key-field-name="budgetItemTypeId"/>
+           </drop-down>
+       </field>
+       <field name="amount" ><text size="10"/></field>
+       <field name="purpose" ><text size="50"/></field>
+       <field name="justification" ><text size="50"/></field>
+        <field name="addButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit" use-when="invoiceItem==null">
+            <submit button-type="button"/>
+        </field>
+        <field name="updateButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit" use-when="invoiceItem!=null">
+            <submit button-type="button"/>
+        </field>
+    </form>
+    
+    <form name="EditBudgetRole" type="single" target="createBudgetRole" title=""
+        header-row-style="header-row" default-table-style="basic-table">
+        <auto-fields-entity entity-name="BudgetRole"/>
+        <field name="budgetId"><hidden/></field>
+        <field name="partyId"><lookup target-form-name="LookupPartyName"/></field>
+        <field name="roleTypeId">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" entity-name="RoleType">
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    
+    <form name="ListBudgetRoles" type="list" use-row-submit="true" title="" list-name="budgetRoles" paginate-target="BudgetRoles"
+        odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
+        <field name="budgetId"><hidden/></field>
+        <field name="partyId" widget-style="buttontext">
+            <hyperlink description="${partyId}" target-type="inter-app" target="/partymgr/control/viewprofile">
+                <parameter param-name="partyId"/>
+            </hyperlink>
+        </field>
+        <field name="name" entry-name="partyId">
+            <display-entity also-hidden="false" entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${firstName} ${lastName}"/>
+        </field>
+        <field name="roleTypeId">
+            <display-entity also-hidden="false" entity-name="RoleType"/>
+        </field>
+        <field name="removeButton" widget-style="buttontext">
+           <hyperlink description="${uiLabelMap.CommonRemove}" target="removeBudgetRole">
+                <parameter param-name="budgetId"/>
+                <parameter param-name="partyId"/>
+                <parameter param-name="roleTypeId"/>
+                <parameter param-name="viewIndex"/>
+                <parameter param-name="viewSize"/>
+            </hyperlink>
+        </field>
+    </form>
+    
+    <form name="EditBudgetReview" type="single" target="createBudgetReview" title=""
+        header-row-style="header-row" default-table-style="basic-table">
+        <field name="budgetId"><hidden/></field>
+        <field name="partyId"><lookup target-form-name="LookupPartyName"/></field>
+        <field name="budgetReviewResultTypeId" title="${uiLabelMap.AccountingBudgetReviewResult}">
+            <drop-down allow-empty="false">
+                <entity-options description="${description}" entity-name="BudgetReviewResultType">
+                    <entity-order-by field-name="description"/>
+                </entity-options>
+            </drop-down>
+        </field>
+        <field name="reviewDate"><date-time /></field>
+        <field name="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
+    </form>
+    
+    <form name="ListBudgetReviews" type="list" use-row-submit="true" title="" list-name="budgetReviews" paginate-target="BudgetReviews"
+        odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
+        <field name="budgetId"><hidden/></field>
+        <field name="budgetReviewId"><display/></field>
+        <field name="partyId" widget-style="buttontext">
+            <hyperlink description="${partyId}" target-type="inter-app" target="/partymgr/control/viewprofile">
+                <parameter param-name="partyId"/>
+            </hyperlink>
+        </field>
+        <field name="name" entry-name="partyId">
+            <display-entity also-hidden="false" entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${firstName} ${lastName}"/>
+        </field>
+        <field name="budgetReviewResultTypeId" title="${uiLabelMap.AccountingBudgetReviewResult}">
+            <display-entity also-hidden="false" entity-name="BudgetReviewResultType"/>
+        </field>
+        <field name="reviewDate"><display/></field>
+        <field name="removeButton" widget-style="buttontext">
+           <hyperlink description="${uiLabelMap.CommonRemove}" target="removeBudgetReview">
+                <parameter param-name="budgetId"/>
+                <parameter param-name="budgetReviewId"/>
+                <parameter param-name="partyId"/>
+                <parameter param-name="budgetReviewResultTypeId"/>
+                <parameter param-name="viewIndex"/>
+                <parameter param-name="viewSize"/>
+            </hyperlink>
+        </field>
+    </form>
+</forms>

Propchange: ofbiz/trunk/applications/accounting/widget/BudgetForms.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/accounting/widget/BudgetForms.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/applications/accounting/widget/BudgetForms.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/accounting/widget/BudgetScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/BudgetScreens.xml?rev=1574400&view=auto
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/BudgetScreens.xml (added)
+++ ofbiz/trunk/applications/accounting/widget/BudgetScreens.xml Wed Mar  5 09:20:26 2014
@@ -0,0 +1,296 @@
+<?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="ListBudgets">
+        <section>
+            <actions>
+                <set field="titleProperty" value="AccountingFindBudgets"/>
+                <set field="headerItem" value="ListBudgets"/>
+                <set field="tabButtonItem" value="ListBudgets"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="body">
+                        <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
+                            <decorator-section name="menu-bar">
+                                <section>
+                                    <condition>
+                                        <if-service-permission service-name="fixedAssetPermissionCheck" main-action="CREATE"/>
+                                    </condition>
+                                    <widgets>
+                                        <container style="button-bar">
+                                            <link target="EditBudget" text="${uiLabelMap.AccountingNewBudget}" style="buttontext create"/>
+                                        </container>
+                                    </widgets>
+                                </section>
+                            </decorator-section>
+                            <decorator-section name="search-options">
+                                <include-form name="FindBudgetOptions" location="component://accounting/widget/BudgetForms.xml"/>
+                            </decorator-section>
+                            <decorator-section name="search-results">
+                                <include-screen name="BudgetSearchResults"/>
+                            </decorator-section>
+                        </decorator-screen>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+         </section>
+    </screen>
+
+    <screen name="BudgetSearchResults">
+        <section>
+            <condition>
+                <if-service-permission service-name="fixedAssetPermissionCheck" main-action="VIEW"/>
+            </condition>
+            <actions>
+                <property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
+                <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
+            </actions>
+            <widgets>
+                <include-form name="ListBudgets" location="component://accounting/widget/BudgetForms.xml"/>
+            </widgets>
+        </section>
+    </screen>
+
+    <screen name="CommonBudgetDecorator">
+        <section>
+            <actions>
+                <set field="headerItem" value="ListBudgets"/>
+                <set field="budgetId" from-field="budget.budgetId" default-value="${parameters.budgetId}"/>
+                <entity-one entity-name="Budget" value-field="budget"/>
+                <entity-and list="budgetStatus" entity-name="BudgetStatus">
+                    <field-map field-name="budgetId" from-field="budgetId"/>
+                    <order-by field-name="-statusDate"/>
+                </entity-and>
+                <set field="statusId" from-field="budgetStatus[0].statusId"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
+                    <decorator-section name="pre-body">
+                        <section>
+                            <condition>
+                                <not><if-empty field="budgetId"/></not>
+                            </condition>
+                            <widgets>
+                                <include-menu name="BudgetTabBar" location="component://accounting/widget/AccountingMenus.xml"/>
+                            </widgets>
+                        </section>
+                        <decorator-section-include name="pre-body"/>
+                    </decorator-section>
+                    <decorator-section name="body">
+                        <section>
+                            <widgets>
+                                <section>
+                                    <condition>
+                                        <not><if-empty field="budgetId"/></not>
+                                    </condition>
+                                    <widgets>
+                                        <include-menu name="BudgetSubTabBar" location="component://accounting/widget/AccountingMenus.xml"/>
+                                        <label style="h1" text="Budget : [${budgetId}]"/>
+                                    </widgets>
+                                </section>
+                                <decorator-section-include name="body"/>
+                            </widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+
+    <!-- create and/or update a budget -->
+    <screen name="EditBudget">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleEditBudget"/>
+                <set field="tabButtonItem" value="EditBudget"/>
+                <set field="budgetId" from-field="parameters.budgetId"/>
+                <entity-one entity-name="Budget" value-field="budget"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonBudgetDecorator" location="${parameters.budgetDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <condition>
+                                <not>
+                                    <if-empty field="budget"/>
+                                </not>
+                            </condition>
+                            <widgets>
+                                <screenlet title="${uiLabelMap.AccountingEditBudget}">
+                                    <include-form name="EditBudget" location="component://accounting/widget/BudgetForms.xml"/>
+                                </screenlet>
+                            </widgets>
+                            <fail-widgets>
+                                <screenlet title="${uiLabelMap.AccountingNewBudget}">
+                                    <include-form name="EditBudget" location="component://accounting/widget/BudgetForms.xml"/>
+                                </screenlet>
+                            </fail-widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+
+     <screen name="BudgetOverview">
+        <section>
+            <actions>
+                <property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
+                <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
+                <set field="titleProperty" value="PageTitleBudgetOverview"/>
+                <set field="tabButtonItem" value="BudgetOverview"/>
+                <set field="budgetId" from-field="parameters.budgetId"/>
+                <entity-one entity-name="Budget" value-field="budget"/>
+                <entity-and entity-name="BudgetRole" list="budgetRoles">
+                    <field-map from-field="parameters.budgetId" field-name="budgetId"/>
+                    <order-by field-name="partyId"/>
+                </entity-and>
+                <entity-and entity-name="BudgetStatus" list="budgetStatuses">
+                    <field-map from-field="parameters.budgetId" field-name="budgetId"/>
+                    <order-by field-name="statusId"/>
+                </entity-and>
+                <entity-and entity-name="BudgetItem" list="budgetItems">
+                    <field-map from-field="parameters.budgetId" field-name="budgetId"/>
+                    <order-by field-name="budgetItemSeqId"/>
+                </entity-and>
+                <entity-and entity-name="BudgetReview" list="budgetReviews">
+                    <field-map from-field="budgetId" field-name="budgetId"/>
+                    <order-by field-name="budgetReviewId"/>
+                </entity-and>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonBudgetDecorator" location="${parameters.budgetDecoratorLocation}">
+                    <decorator-section name="body">
+                        <section>
+                            <widgets>
+                                <screenlet title="${uiLabelMap.AccountingBudgetHeader}">
+                                    <include-form name="BudgetHeader" location="component://accounting/widget/BudgetForms.xml"/>
+                                </screenlet>
+                                <container style="lefthalf">
+                                    <screenlet title="${uiLabelMap.AccountingBudgetStatus}" navigation-form-name="BudgetStatus">
+                                        <include-form name="BudgetStatus" location="component://accounting/widget/BudgetForms.xml"/>
+                                    </screenlet>
+                                </container>
+                                <container style="righthalf">
+                                    <screenlet title="${uiLabelMap.AccountingBudgetRoles}" navigation-form-name="BudgetRoles">
+                                        <include-form name="BudgetRoles" location="component://accounting/widget/BudgetForms.xml"/>
+                                    </screenlet>
+                                </container>
+                                <container style="clear"/>
+                                <screenlet title="${uiLabelMap.AccountingBudgetItems}" navigation-form-name="BudgetItems">
+                                    <include-form name="BudgetItems" location="component://accounting/widget/BudgetForms.xml"/>
+                                </screenlet>
+                                <container style="clear"/>
+                                <screenlet title="${uiLabelMap.AccountingBudgetReviews}" navigation-form-name="BudgetReviews">
+                                    <include-form name="BudgetReviews" location="component://accounting/widget/BudgetForms.xml"/>
+                                </screenlet>
+                            </widgets>
+                        </section>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    
+    <screen name="EditBudgetItems">
+        <section>
+            <actions>
+                <property-map resource="AccountingEntityLabels" map-name="uiLabelMap" global="true"/>
+                <set field="viewIndex" from-field="parameters.viewIndex"/>
+                <set field="viewSize" from-field="parameters.viewSize"/>
+                <set field="titleProperty" value="PageTitleListBudget"/>
+                <set field="tabButtonItem" value="BudgetItem"/>
+                <set field="budgetId" from-field="parameters.budgetId"/>
+                <set field="budgetItemSeqId" from-field="parameters.budgetItemSeqId"/>
+                <entity-one entity-name="Budget" value-field="budget"/>
+                <entity-one entity-name="BudgetItem" value-field="budgetItem"/>
+                <entity-and entity-name="BudgetItem" list="budgetItems">
+                    <field-map field-name="budgetId" from-field="parameters.budgetId"/>
+                    <order-by field-name="budgetItemSeqId"/>
+                </entity-and>
+                <entity-condition entity-name="BudgetItemType" list="budgetItemTypes"/>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonBudgetDecorator" location="${parameters.budgetDecoratorLocation}">
+                    <decorator-section name="body">
+                        <screenlet title="${uiLabelMap.AccountingBudgetItems}">
+                            <include-form name="EditBudgetItems" location="component://accounting/widget/BudgetForms.xml"/>
+                        </screenlet>
+                        <screenlet title="${uiLabelMap.AccountingBudgetItemsAdd}">
+                            <include-form name="EditBudgetItem" location="component://accounting/widget/BudgetForms.xml"/>
+                        </screenlet>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="BudgetRoles">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleListBudgetRoles"/>
+                <set field="tabButtonItem" value="BudgetRoles"/>
+                <set field="budgetId" from-field="parameters.budgetId"/>
+                <entity-one entity-name="Budget" value-field="budget"/>
+                <entity-and entity-name="BudgetRole" list="budgetRoles">
+                    <field-map from-field="budgetId" field-name="budgetId"/>
+                    <order-by field-name="partyId"/>
+                </entity-and>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonBudgetDecorator" location="${parameters.budgetDecoratorLocation}">
+                    <decorator-section name="body">
+                        <screenlet id="PartyBudgetRolePanel" title="${uiLabelMap.AccountingPartyRoleAdd}" collapsible="true">
+                            <include-form name="EditBudgetRole" location="component://accounting/widget/BudgetForms.xml"/>
+                        </screenlet>
+                        <include-form name="ListBudgetRoles" location="component://accounting/widget/BudgetForms.xml"/>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+    <screen name="BudgetReviews">
+        <section>
+            <actions>
+                <set field="titleProperty" value="PageTitleListBudgetReviews"/>
+                <set field="tabButtonItem" value="BudgetReviews"/>
+                <set field="budgetId" from-field="parameters.budgetId"/>
+                <entity-one entity-name="Budget" value-field="budget"/>
+                <entity-and entity-name="BudgetReview" list="budgetReviews">
+                    <field-map from-field="budgetId" field-name="budgetId"/>
+                    <order-by field-name="budgetReviewId"/>
+                </entity-and>
+            </actions>
+            <widgets>
+                <decorator-screen name="CommonBudgetDecorator" location="${parameters.budgetDecoratorLocation}">
+                    <decorator-section name="body">
+                        <screenlet id="BudgetReviewPanel" title="${uiLabelMap.AccountingBudgetReviewAdd}" collapsible="true">
+                            <include-form name="EditBudgetReview" location="component://accounting/widget/BudgetForms.xml"/>
+                        </screenlet>
+                        <include-form name="ListBudgetReviews" location="component://accounting/widget/BudgetForms.xml"/>
+                    </decorator-section>
+                </decorator-screen>
+            </widgets>
+        </section>
+    </screen>
+</screens>

Propchange: ofbiz/trunk/applications/accounting/widget/BudgetScreens.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/accounting/widget/BudgetScreens.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/applications/accounting/widget/BudgetScreens.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml