Files
ofbiz-framework/applications/accounting/widget/GlobalGlAccountsForms.xml
T
2008-04-06 17:08:48 +00:00

199 lines
12 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.
-->
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
<form name="ListGlAccountOrganization" list-name="listIt" target="" title="" type="list" paginate-target="ListGlAccountOrganization"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<set field="entityName" value="GlAccountOrganization"/>
<set field="noConditionFind" value="Y"/>
<service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
<field-map field-name="inputFields" env-name="parameters"/>
<field-map field-name="entityName" env-name="entityName"/>
</service>
</actions>
<auto-fields-entity entity-name="GlAccountOrganization" default-field-type="display"/>
<field name="glAccountId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${glAccountId}" target="GlAccountNavigate?glAccountId=${glAccountId}"/>
</field>
</form>
<!-- Displays the form for assigning accounts to a party or company -->
<!-- TODO: Localize field names -->
<form name="AssignGlAccount" type="single" target="createGlAccountOrganization" title="" default-map-name="account"
header-row-style="header-row" default-table-style="basic-table">
<field name="glAccountId">
<drop-down>
<entity-options entity-name="GlAccount" description="${glAccountId} ${accountName}">
<entity-order-by field-name="glAccountId"/>
</entity-options>
</drop-down>
</field>
<!-- field name="organizationPartyId" title="Party" -->
<field name="partyId" parameter-name="organizationPartyId">
<drop-down>
<entity-options entity-name="PartyRoleAndPartyDetail" description="${partyId}" >
<!-- entity-options entity-name="PartyRoleAndPartyDetail" description="${organizationPartyId}" -->
<entity-constraint name="roleTypeId" value="INTERNAL_ORGANIZATIO"/>
<entity-order-by field-name="partyId"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.AccountingCreateAssignment}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="ListGlAccount" list-name="listIt" target="" title="" type="list" default-entity-name="GlAccount"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<set field="entityName" value="GlAccount"/>
<set field="noConditionFind" value="Y"/>
<service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
<field-map field-name="inputFields" env-name="parameters"/>
<field-map field-name="entityName" env-name="entityName"/>
<field-map field-name="noConditionFind" value="Y"/>
</service>
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD" />
</actions>
<!--auto-fields-entity entity-name="GlAccount" default-field-type="display"/-->
<field name="glAccountId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${glAccountId}" target="GlAccountNavigate?glAccountId=${glAccountId}"/>
</field>
<field name="accountName" entry-name="glAccountId"><display-entity entity-name="GlAccount" key-field-name="glAccountId" description="${accountName}"/></field>
<field name="glAccountTypeId"><display-entity entity-name="GlAccountType"/></field>
<field name="glAccountClassId"><display-entity entity-name="GlAccountClass"/></field>
<field name="glResourceTypeId"><display-entity entity-name="GlResourceType"></display-entity></field>
<field name="glXbrlClassId"><display-entity entity-name="GlXbrlClass"></display-entity></field>
<field name="parentGlAccountId"><display-entity entity-name="GlAccount" description="${accountName} [${glAccountId}]" key-field-name="glAccountId"></display-entity></field>
<field name="accountCode"><hidden/></field>
<field name="postedBalance" widget-area-style="align-text" title-area-style="align-text"><display type="currency" currency="${defaultCurrencyUomId}"/></field>
</form>
<form name="EditGlAccount" type="single" target="updateGlAccount" title="" default-map-name="glAccount"
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="glAccount==null" target="createGlAccount"/>
<auto-fields-service service-name="updateGlAccount" map-name=""/>
<field use-when="glAccount!=null" name="glAccountId" tooltip="${uiLabelMap.AccountingNotModificationRecrationGlAccount}"><display/></field>
<field use-when="glAccount==null&amp;&amp;glAccountId!=null" name="glAccountId" tooltip="${uiLabelMap.AccountingCouldNotFindGlAccount} [${glAccountId}]"><text size="20" maxlength="20"/></field>
<!-- this to be taken care of with auto-fields-service as soon as it uses entity field info too -->
<field use-when="glAccount==null&amp;&amp;glAccountId==null" name="glAccountId"><text size="20" maxlength="20"/></field>
<field name="glAccountTypeId">
<drop-down allow-empty="false">
<entity-options entity-name="GlAccountType" description="${description}">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="glAccountClassId">
<drop-down allow-empty="false">
<entity-options entity-name="GlAccountClass" description="${description}">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="glResourceTypeId">
<drop-down allow-empty="false">
<entity-options entity-name="GlResourceType" description="${description}">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="glXbrlClassId">
<drop-down allow-empty="true">
<entity-options entity-name="GlXbrlClass" description="${description}">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="parentGlAccountId">
<drop-down allow-empty="true">
<entity-options key-field-name="glAccountId" entity-name="GlAccount" description="[${glAccountId}] ${accountName}-${accountCode}">
<entity-order-by field-name="glAccountId"/>
</entity-options>
</drop-down>
</field>
<field name="postedBalance"><display/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<!-- this is used to list AcctgTransEntries and can be called either by using an acctgTransId or a glAccountId -->
<form name="ListAcctgTransEntries" type="list" list-name="entries" default-entity-name="AcctgTransEntry"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="acctgTransId">
<hyperlink also-hidden="false" description="${acctgTransId}" target="ListAcctgTransEntries?acctgTransId=${acctgTransId}"/>
</field>
<field name="acctgTransEntrySeqId"><display/></field>
<field name="glAccountId">
<display-entity entity-name="GlAccount" description="${accountName}">
<sub-hyperlink target="ListGlAccountEntries?glAccountId=${glAccountId}" description="[${glAccountId}]"/>
</display-entity>
</field>
<field name="description"><display/></field>
<field name="voucherRef"><display/></field>
<field name="partyId"><display/></field>
<field name="organizationPartyId"><display/></field>
<field name="productId"><display/></field>
<field name="debitCreditFlag"><display/></field>
<field name="amount"><display/></field>
<field name="reconcileStatusId"><display/></field>
<field name="settlementTermId"><display/></field>
<field name="isSummary"><display/></field>
</form>
<form name="GlAccountsNavForm" type="single" target="" title="GL Accounts" default-map-name="journal"
header-row-style="header-row" default-table-style="basic-table">
<field name="" title="${uiLabelMap.CommonEmptyHeader}">
<hyperlink also-hidden="false" description="[Back to Admin]" target="AdminMain?organizationPartyId=${organizationPartyId}"/>
</field>
</form>
<form name="ListGlReconciliations" type="list" list-name="glReconciliations" default-entity-name="GlReconciliation"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="glReconciliationId">
<hyperlink also-hidden="false" description="${glReconciliationId}" target="viewGlReconciliation?glReconciliationId=${glReconciliationId}&amp;amp;organizationPartyId=${organizationPartyId}&amp;amp;glAccountId=${glAccountId}"/>
</field>
<field name="glReconciliationName"><display/></field>
<field name="description"><display/></field>
<field name="createdByUserLogin"><display/></field>
<field name="glAccountId">
<display-entity entity-name="GlAccount" description="${accountName}">
<sub-hyperlink target="ListGlAccountEntries?glAccountId=${glAccountId}&amp;amp;organizationPartyId=${organizationPartyId}"
description="[${glAccountId}]"/>
</display-entity>
</field>
<field name="reconciledBalance"><display/></field>
<field name="reconciledDate"><display/></field>
</form>
<form name="ListGlReconciliationEntries" type="list" list-name="glReconciliationEntries" default-entity-name="GlReconciliationEntry"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="glReconciliationId"><display/></field>
<field name="acctgTransId">
<hyperlink also-hidden="false" description="${acctgTransId}"
target="ListAcctgTransEntries?acctgTransId=${acctgTransId}"/>
</field>
<field name="acctgTransEntrySeqId"><display/></field>
<field name="reconciledAmount"><display/></field>
</form>
</forms>