Files
ofbiz-framework/applications/accounting/widget/GlSetupScreens.xml
T
Vikas Mayur 3ab66ede73 Implement ability to map parties to GlAccounts
Applied patch from Shankar Soni, part of the issue OFBIZ-1541 (https://issues.apache.org/jira/browse/OFBIZ-1541) 

Thanks to Shankar Soni for the patch and Jacopo, Ashish for there help.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@613389 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 13:36:42 +00:00

584 lines
34 KiB
XML

<?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="CommonAdminDecorator">
<section>
<actions>
<set field="tabButtonItemTop" value="Admin"/>
<entity-one entity-name="PartyNameView" value-name="currentOrganization" auto-field-map="false">
<field-map field-name="partyId" env-name="organizationPartyId"/>
</entity-one>
</actions>
<widgets>
<decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<include-menu name="PartyAdminTabBar" location="component://accounting/widget/Menus.xml"/>
<section>
<condition>
<if-compare field-name="tabButtonItem" operator="equals" value="GlAccountAssignment"/>
</condition>
<widgets>
<include-menu name="PartyAdminAssignTabBar" location="component://accounting/widget/Menus.xml"/>
</widgets>
</section>
<container>
<label style="head1">${labelTitleProperty} ${uiLabelMap.CommonFor}: ${currentOrganization.groupName} [${organizationPartyId}]</label>
</container>
<decorator-section-include name="body"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ListCompanies">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="AccountingAvailableInternalOrganizations"/>
<set field="headerItem" value="companies"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingAvailableInternalOrganizations}"/>
<entity-condition entity-name="PartyRole" list-name="parties">
<condition-expr field-name="roleTypeId" operator="equals" value="INTERNAL_ORGANIZATIO"/>
</entity-condition>
<service service-name="acctgPrefPermissionCheck" result-map-name="permResult">
<field-map field-name="mainAction" value="UPDATE"/>
</service>
<set field="hasPrefPermission" from-field="permResult.hasPermission"/>
<service service-name="basicGeneralLedgerPermissionCheck" result-map-name="permResult">
<field-map field-name="mainAction" value="VIEW"/>
</service>
<set field="hasBasicPermission" from-field="permResult.hasPermission"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<include-form name="ListCompanies" location="component://accounting/widget/GlSetupForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="ListGlAccountOrganization">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="AccountingChartOfAcctsMenu"/>
<set field="tabButtonItem" value="ListGlAccountOrganization"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingChartOfAcctsMenu}"/>
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<include-form name="ListGlAccountOrganization" location="component://accounting/widget/GlSetupForms.xml"/>
<include-form name="AssignGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="TimePeriods">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="TimePeriod"/>
<set field="labelTitleProperty" value="${uiLabelMap.TimePeriod}"/>
<set field="tabButtonItem" value="TimePeriods"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId"/>
<entity-condition entity-name="CustomTimePeriod" list-name="openTimePeriods">
<condition-list>
<condition-expr field-name="organizationPartyId" operator="equals" env-name="organizationPartyId"/>
<condition-expr field-name="isClosed" operator="equals" value="N"/>
</condition-list>
<order-by field-name="thruDate"/>
</entity-condition>
<entity-condition entity-name="CustomTimePeriod" list-name="closedTimePeriods">
<condition-list>
<condition-expr field-name="organizationPartyId" operator="equals" env-name="organizationPartyId"/>
<condition-expr field-name="isClosed" operator="equals" value="Y"/>
</condition-list>
<order-by field-name="periodTypeId"/>
<order-by field-name="periodNum"/>
<order-by field-name="thruDate"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<label style="head1">${uiLabelMap.AccountingOpenTimePeriods}</label>
<include-form name="ListOpenTimePeriods" location="component://accounting/widget/GlSetupForms.xml"/>
<label style="head1">${uiLabelMap.AccountingClosedTimePeriods}</label>
<include-form name="ListClosedTimePeriods" location="component://accounting/widget/GlSetupForms.xml"/>
<label style="head1">${uiLabelMap.CommonNew}</label>
<include-form name="CreateTimePeriod" location="component://accounting/widget/GlSetupForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="PartyAcctgPreference">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="AccountingPreference"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingPreference}"/>
<set field="tabButtonItem" value="PartyAcctgPreference"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId"/>
<set field="partyId" from-field="parameters.organizationPartyId"/>
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD" />
<entity-one entity-name="PartyAcctgPreference" value-name="partyAcctgPreference"/>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<include-form name="PartyAcctgPreference" location="component://accounting/widget/GlSetupForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<!-- Screen to view and manage foreign exchange conversions -->
<screen name="ViewFXConversions">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="AccountingFX"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingFX}"/>
<set field="tabButtonItem" value="ViewFXConversions"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" global="true"/>
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD" />
<!-- TODO: If UomConversionDated is ever used for another type of conversion besides currencies or if some currencies are
stored in UomConversion, we need to change the logic here -->
<entity-condition entity-name="UomConversionDated" list-name="conversions">
<order-by field-name="uomId"/>
<order-by field-name="uomIdTo"/>
<order-by field-name="fromDate"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<include-form name="ListConversions" location="component://accounting/widget/GlSetupForms.xml"/>
<label style="head1">${uiLabelMap.AccountingUpdateFX}</label>
<include-form name="updateFXConversion" location="component://accounting/widget/GlSetupForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="SetupGlJournals">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="AccountingGlJournals"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingGlJournals}"/>
<set field="tabButtonItem" value="SetupGlJournals"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId"/>
<entity-one entity-name="GlJournal" value-name="glJournal"/>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<include-form name="ListGlJournals" location="component://accounting/widget/GlSetupForms.xml"/>
<include-form name="EditGlJournal" location="component://accounting/widget/GlSetupForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="GlAccountTypeDefaults">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="AccountingGlAccountTypeDefaults"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingGlAccountTypeDefaults}"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="GlAccountTypeDefaults"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<include-form name="ListGlAccountTypeDefaults" location="component://accounting/widget/GlSetupForms.xml"/>
<container><label style="head1">${uiLabelMap.CommonAdd}</label></container>
<include-form name="EditGlAccountTypeDefault" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="GlAccountSalInvoice">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="AccountingGlAccountAssignments"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingGlAccountAssignments}"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="GlAccountSalInvoice"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<container><label style="head1">${uiLabelMap.AccountingSalesInvoiceToRevenue}</label></container>
<include-form name="ListSalInvoiceItemTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/>
<container><label style="head1">${uiLabelMap.AccountingAssignSalesInvoiceToRevenue}</label></container>
<include-form name="AddSalInvoiceItemTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="GlAccountPurInvoice">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="GlAccountPurInvoice"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<container><label style="head1">Purchase Invoice type to Expense GL Account Number assignmentlist</label></container>
<container>
<include-form name="ListPurInvoiceItemTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
<container><label style="head1">Assign Purchase Invoice Item type to Expense GL Account Number</label></container>
<include-form name="AddPurInvoiceItemTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="GlAccountTypePaymentType">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="GlAccountTypePaymentType"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<container><label style="head1">Payment type to GL Account type assignment list</label></container>
<include-form name="ListPaymentTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/>
<container><label style="head1">Assign Payment type to GL Account Type</label></container>
<include-form name="AddPaymentTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="GlAccountNrPaymentMethod">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="GlAccountNrPaymentMethod"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<container><label style="head1">Payment methods to GL Account numbers assigmentlist</label></container>
<include-form name="ListPaymentMethodTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/>
<container><label style="head1">Assign Payment method type to GL Account number></label></container>
<include-form name="AddPaymentMethodTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductGlAccounts">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="AccountingProductGlAccount"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingProductGlAccount}"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="ProductGlAccounts"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
<entity-condition entity-name="ProductGlAccount" list-name="productGlAccounts">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="glAccountTypeId"/>
</entity-condition>
<entity-condition entity-name="GlAccountType" list-name="productGlAccountTypes" use-cache="true">
<order-by field-name="description"/>
</entity-condition>
<entity-condition entity-name="GlAccountOrganizationAndClass" list-name="glAccounts" use-cache="true">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="accountCode"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<include-form name="ListProductGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
<container>
<label style="head2">${uiLabelMap.ProductAddGlAccount}</label>
</container>
<include-form name="AddProductGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditFinAccountTypeGlAccounts">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="AccountingFinAccountTypeGlAccount"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingFinAccountTypeGlAccount}"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="FinAccountTypeGlAccounts"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
<entity-condition entity-name="FinAccountTypeGlAccount" list-name="finAccountTypeGlAccounts">
<condition-expr field-name="organizationPartyId" operator="equals" env-name="organizationPartyId"/>
<order-by field-name="finAccountTypeId"/>
</entity-condition>
<entity-condition entity-name="GlAccountOrganizationAndClass" list-name="glAccounts" use-cache="true">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="accountCode"/>
</entity-condition>
<entity-condition entity-name="FinAccountType" list-name="finAccountTypes" use-cache="true">
<order-by field-name="finAccountTypeId"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<include-form name="ListFinAccountTypeGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
<container>
<label style="head2">${uiLabelMap.AccountingAddFinAccountTypeGlAccount}</label>
</container>
<include-form name="AddFinAccountTypeGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditProductCategoryGlAccounts">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="AccountingProductCategoryGlAccount"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingProductCategoryGlAccount}"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="ProductCategoryGlAccounts"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
<entity-condition entity-name="ProductCategoryGlAccount" list-name="productCategoryGlAccounts">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="glAccountTypeId"/>
</entity-condition>
<entity-condition entity-name="GlAccountType" list-name="productGlAccountTypes" use-cache="true">
<order-by field-name="description"/>
</entity-condition>
<entity-condition entity-name="GlAccountOrganizationAndClass" list-name="glAccounts" use-cache="true">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="accountCode"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<include-form name="ListProductCategoryGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
<container>
<label style="head2">${uiLabelMap.ProductAddCategoryGlAccount}</label>
</container>
<include-form name="AddProductCategoryGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditVarianceReasonGlAccounts">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="VarianceReasonGlAccount"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="VarianceReasonGlAccounts"/>
<set field="labelTitleProperty" value="${uiLabelMap.VarianceReasonGlAccount}"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
<entity-condition entity-name="VarianceReasonGlAccount" list-name="varianceReasonGlAccounts">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="glAccountId"/>
</entity-condition>
<entity-condition entity-name="GlAccountOrganizationAndClass" list-name="glAccounts" use-cache="true">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="accountCode"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<include-form name="ListVarianceReasonGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
<container>
<label style="head2">${uiLabelMap.VarianceReasonGlAccount}</label>
</container>
<include-form name="AddVarianceReasonGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditCreditCardTypeGlAccounts">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="CreditCardTypeGlAccounts"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="CreditCardTypeGlAccount"/>
<set field="labelTitleProperty" value="${uiLabelMap.CreditCardTypeGlAccount}"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
<entity-condition entity-name="CreditCardTypeGlAccount" list-name="creditCardTypeGlAccounts">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
</entity-condition>
<entity-condition entity-name="GlAccountOrganizationAndClass" list-name="glAccounts" use-cache="true">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="accountCode"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<include-form name="ListCreditCardTypeGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
<container>
<label style="head2">${uiLabelMap.ProductAddCategoryGlAccount}</label>
</container>
<include-form name="AddCreditCardTypeGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditOrganizationTaxAuthorityGlAccounts">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="PageTitleEditTaxAuthorityGlAccounts"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="TaxAuthorityGlAccounts"/>
<set field="labelTitleProperty" value="${uiLabelMap.AccountingEditTaxAuthorityGlAccounts}"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId" />
<entity-condition entity-name="TaxAuthorityGlAccount" list-name="taxAuthorityGlAccounts">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="taxAuthGeoId"/>
<order-by field-name="taxAuthPartyId"/>
</entity-condition>
<entity-condition entity-name="GlAccountOrganizationAndClass" list-name="glAccounts" use-cache="true">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="accountCode"/>
</entity-condition>
<script location="component://accounting/webapp/accounting/WEB-INF/actions/chartofaccounts/TaxAuthorityGlAccounts.bsh"/>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<include-form name="ListTaxAuthorityGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
<container>
<label style="head1">${uiLabelMap.AccountingAddTaxAuthorityGlAccount}</label>
</container>
<include-form name="AddTaxAuthorityGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="EditPartyGlAccount">
<section>
<actions>
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
<set field="titleProperty" value="PageTitleEditPartyGlAccounts"/>
<set field="labelTitleProperty" value="${uiLabelMap.PageTitleEditPartyGlAccounts}"/>
<set field="tabButtonItem" value="GlAccountAssignment"/>
<set field="tabButtonItem2" value="PartyGlAccounts"/>
<set field="organizationPartyId" from-field="parameters.organizationPartyId"/>
<entity-condition entity-name="PartyGlAccount" list-name="partyGlAccounts">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="partyId"/>
</entity-condition>
<entity-condition entity-name="GlAccountOrganizationAndClass" list-name="glAccounts">
<condition-expr field-name="organizationPartyId" env-name="organizationPartyId"/>
<order-by field-name="accountCode"/>
</entity-condition>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator">
<decorator-section name="body">
<container>
<include-form name="ListPartyGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
<container>
<label style="head2">${uiLabelMap.AccountingAddPartyGlAccount}</label>
</container>
<include-form name="AddPartyGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
</container>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>