Container to Screenlet conversion for Accounting component. For now followed the CamelCase pattern starting with the First letter as capital one. Thanks Awdesh Singh Parihar for your patch and Ratnesh Upadhyay for your Support. Special thanks to Vikas Mayur and Adrian Crum for their useful comments. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@666968 13f79535-47bb-0310-9956-ffa450edef68
585 lines
34 KiB
XML
585 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="h1">${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">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.AccountingAvailableInternalOrganizations}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="ListCompanies" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</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}"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminDecorator">
|
|
<decorator-section name="body">
|
|
<screenlet id="GlAccountOrganizationPanel" title="${uiLabelMap.AccountingChartOfAcctsMenu}" collapsible="true">
|
|
<include-form name="AssignGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListGlAccountOrganization" 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">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.AccountingOpenTimePeriods}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="ListOpenTimePeriods" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.AccountingClosedTimePeriods}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="ListClosedTimePeriods" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.CommonNew}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<section>
|
|
<widgets>
|
|
<include-form name="CreateTimePeriod" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</container>
|
|
</container>
|
|
</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"/>
|
|
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
|
|
<set field="partyId" from-field="parameters.organizationPartyId"/>
|
|
<entity-one entity-name="PartyAcctgPreference" value-name="partyAcctgPreference"/>
|
|
<service service-name="getPartyAccountingPreferences" result-map-name="result">
|
|
<field-map field-name="organizationPartyId"/>
|
|
</service>
|
|
<set field="agregatedPartyAcctgPreference" from-field="result.partyAccountingPreference"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminDecorator">
|
|
<decorator-section name="body">
|
|
<container style="screenlet">
|
|
<container style="screenlet-title-bar">
|
|
<container style="h3">
|
|
<label text="${uiLabelMap.AccountingPreference}"/>
|
|
</container>
|
|
</container>
|
|
<container style="screenlet-body">
|
|
<include-form name="PartyAcctgPreference" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</container>
|
|
</container>
|
|
</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">
|
|
<screenlet id="FxConversionPanel" title="${uiLabelMap.AccountingUpdateFX}" collapsible="true">
|
|
<include-form name="updateFXConversion" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListConversions" 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">
|
|
<screenlet id="GlJournalPanel" title="${uiLabelMap.AccountingGlJournals}" collapsible="true">
|
|
<include-form name="EditGlJournal" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListGlJournals" 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">
|
|
<screenlet id="GlAccountTypeDefaultPanel" title="${uiLabelMap.CommonAdd}" collapsible="true">
|
|
<include-form name="EditGlAccountTypeDefault" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListGlAccountTypeDefaults" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</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="AccountingInvoiceSales"/>
|
|
<set field="labelTitleProperty" value="${uiLabelMap.AccountingInvoiceSales}"/>
|
|
<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">
|
|
<screenlet id="SalInvoiceItemTypeGlAsigmtPanel" title="${uiLabelMap.AccountingAssignSalesInvoiceToRevenue}" collapsible="true">
|
|
<include-form name="AddSalInvoiceItemTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListSalInvoiceItemTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="GlAccountPurInvoice">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="titleProperty" value="AccountingInvoicePurchase"/>
|
|
<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">
|
|
<screenlet id="PurInvoiceItemTypeGlAsigmtPanel" title="${uiLabelMap.AccountingAssignPurchaseInvoiceToRevenue}" collapsible="true">
|
|
<include-form name="AddPurInvoiceItemTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListPurInvoiceItemTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="GlAccountTypePaymentType">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="titleProperty" value="${uiLabelMap.AccountingPaymentType}/${uiLabelMap.FormFieldTitle_glAccountTypeId}"/>
|
|
<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">
|
|
<screenlet id="PaymentTypeGlAsigmtPanel" title="${uiLabelMap.AccountingPaymentTypeAssignAccountType}" collapsible="true">
|
|
<include-form name="AddPaymentTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListPaymentTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="GlAccountNrPaymentMethod">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="titleProperty" value="${uiLabelMap.AccountingPaymentMethodId}/${uiLabelMap.AccountingGlAccountId}"/>
|
|
<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">
|
|
<screenlet id="PaymentMethodTypeGlAsigmtPanel" title="${uiLabelMap.AccountingPaymentMethodAssignAccountType}" collapsible="true">
|
|
<include-form name="AddPaymentMethodTypeGlAssignment" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListPaymentMethodTypeGlAssignments" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</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>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminDecorator">
|
|
<decorator-section name="body">
|
|
<screenlet id="ProductGlAccountPanel" title="${uiLabelMap.ProductAddGlAccount}" collapsible="true">
|
|
<include-form name="AddProductGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListProductGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</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="FinAccountType" list-name="finAccountTypes" use-cache="true">
|
|
<order-by field-name="finAccountTypeId"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminDecorator">
|
|
<decorator-section name="body">
|
|
<screenlet id="FinAccountTypeGlAccountPanel" title="${uiLabelMap.AccountingAddFinAccountTypeGlAccount}" collapsible="true">
|
|
<include-form name="AddFinAccountTypeGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListFinAccountTypeGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</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>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminDecorator">
|
|
<decorator-section name="body">
|
|
<screenlet id="ProductCategoryGlAccountPanel" title="${uiLabelMap.ProductAddCategoryGlAccount}" collapsible="true">
|
|
<include-form name="AddProductCategoryGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListProductCategoryGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</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="AccountingVarianceReasonGlAccounts"/>
|
|
<set field="tabButtonItem" value="GlAccountAssignment"/>
|
|
<set field="tabButtonItem2" value="VarianceReasonGlAccounts"/>
|
|
<set field="labelTitleProperty" value="${uiLabelMap.AccountingVarianceReasonGlAccounts}"/>
|
|
<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>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminDecorator">
|
|
<decorator-section name="body">
|
|
<screenlet id="VarianceReasonGlAccountPanel" title="${uiLabelMap.AccountingVarianceReasonGlAccounts}" collapsible="true">
|
|
<include-form name="AddVarianceReasonGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListVarianceReasonGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</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="AccountingCreditCardTypeGlAccount"/>
|
|
<set field="tabButtonItem" value="GlAccountAssignment"/>
|
|
<set field="tabButtonItem2" value="CreditCardTypeGlAccount"/>
|
|
<set field="labelTitleProperty" value="${uiLabelMap.AccountingCreditCardTypeGlAccount}"/>
|
|
<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>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminDecorator">
|
|
<decorator-section name="body">
|
|
<screenlet id="CreditCardTypeGlAccountPanel" title="${uiLabelMap.AccountingCreditCardTypeGlAccount}" collapsible="true">
|
|
<include-form name="AddCreditCardTypeGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListCreditCardTypeGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</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.PageTitleEditTaxAuthorityGlAccounts}"/>
|
|
<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>
|
|
<script location="component://accounting/webapp/accounting/WEB-INF/actions/chartofaccounts/TaxAuthorityGlAccounts.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminDecorator">
|
|
<decorator-section name="body">
|
|
<screenlet id="OrgTaxAuthorityGlAccountPanel" title="${uiLabelMap.AccountingAddTaxAuthorityGlAccount}" collapsible="true">
|
|
<include-form name="AddTaxAuthorityGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListTaxAuthorityGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</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>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminDecorator">
|
|
<decorator-section name="body">
|
|
<screenlet id="PartyGlAccountPanel" title="${uiLabelMap.AccountingAddPartyGlAccount}" collapsible="true">
|
|
<include-form name="AddPartyGlAccount" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListPartyGlAccounts" location="component://accounting/widget/GlSetupForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |