git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
281 lines
16 KiB
XML
281 lines
16 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="result" result-map-list="listIt">
|
|
<field-map field-name="inputFields" from-field="parameters"/>
|
|
<field-map field-name="entityName" from-field="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">
|
|
<parameter param-name="glAccountId"/>
|
|
</hyperlink>
|
|
</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="result" result-map-list="listIt">
|
|
<field-map field-name="inputFields" from-field="parameters"/>
|
|
<field-map field-name="entityName" from-field="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">
|
|
<parameter param-name="glAccountId"/>
|
|
</hyperlink>
|
|
</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&&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&&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>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" use-when="glAccount==null" 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">
|
|
<parameter param-name="acctgTransId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="acctgTransEntrySeqId"><display/></field>
|
|
<field name="glAccountId">
|
|
<display-entity entity-name="GlAccount" description="${accountName}">
|
|
<sub-hyperlink target="ListGlAccountEntries" description="[${glAccountId}]">
|
|
<parameter param-name="glAccountId"/>
|
|
</sub-hyperlink>
|
|
</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="backToAdmin" title="${uiLabelMap.CommonEmptyHeader}">
|
|
<hyperlink also-hidden="false" description="${uiLabelMap.AccountingBackToAdmin}" target="AdminMain">
|
|
<parameter param-name="organizationPartyId"/>
|
|
</hyperlink>
|
|
</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="EditGlReconciliation">
|
|
<parameter param-name="glReconciliationId"/>
|
|
<parameter param-name="organizationPartyId"/>
|
|
<parameter param-name="glAccountId"/>
|
|
</hyperlink>
|
|
</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" description="[${glAccountId}]">
|
|
<parameter param-name="glAccountId"/>
|
|
<parameter param-name="organizationPartyId"/>
|
|
</sub-hyperlink>
|
|
</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">
|
|
<parameter param-name="acctgTransId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="acctgTransEntrySeqId"><display/></field>
|
|
<field name="reconciledAmount"><display/></field>
|
|
</form>
|
|
<form name="ListRateAmounts" type="list" target="deleteRateAmount" paginate-target="viewRateAmounts"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<set field="sortField" from-field="parameters.sortField" default-value="rateTypeId"/>
|
|
<entity-condition entity-name="RateAmountAndRelations" filter-by-date="true">
|
|
<order-by field-name="${sortField}"/>
|
|
<order-by field-name="rateTypeId"/>
|
|
<order-by field-name="periodTypeId"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<field name="fromDate"><hidden/></field>
|
|
<field name="rateTypeId"><hidden/></field>
|
|
<field name="rateCurrencyUomId"><hidden/></field>
|
|
<field name="rateDescription"><display/></field>
|
|
<field name="periodTypeId"><display description="${periodDescription}"/></field>
|
|
<field name="partyId" sort-field="true"><display description="${groupName}${lastName} ${firstName} ${middleName}"/></field>
|
|
<field name="workEffortId" sort-field="true"><display description="${workEffortName}"/></field>
|
|
<field name="emplPositionTypeId" sort-field="true"><display description="${employeePositionDescription}"/></field>
|
|
<field name="rateAmount"><display type="currency" currency="${rateCurrencyUomId}"/></field>
|
|
<field name="delete" title="${uiLabelMap.CommonDelete}"><submit/></field>
|
|
</form>
|
|
|
|
<form name="updateRateAmount" type="single" target="updateRateAmount" default-service-name="updateRateAmount"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<actions>
|
|
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
|
|
</actions>
|
|
<field name="rateTypeId">
|
|
<drop-down>
|
|
<entity-options entity-name="RateType" description="${description}">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="periodTypeId" position="2">
|
|
<drop-down>
|
|
<entity-options entity-name="PeriodType" description="${description}">
|
|
<entity-constraint name="periodTypeId" operator="like" value="RATE_%"/>
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="rateAmount" position="1"><text/></field>
|
|
<field name="rateCurrencyUomId" position="2">
|
|
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
|
|
<entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom">
|
|
<entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/>
|
|
<entity-order-by field-name="abbreviation"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="partyId"><lookup target-form-name="LookupPartyId"></lookup></field>
|
|
<field name="workEffortId"><lookup target-form-name="LookupWorkEffort"><sub-hyperlink target="ww" description="${workEffortName}"/></lookup></field>
|
|
<field name="emplPositionTypeId" position="2">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="EmplPositionType" description="${description}">
|
|
<entity-constraint name="emplPositionTypeId" operator="not-equals" value="_NA_"/>
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.AccountingUpdateRateAmount}"><submit/></field>
|
|
</form>
|
|
</forms>
|