| <?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" |
| xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form 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"/> |
| <field-map field-name="viewIndex" from-field="viewIndex"/> |
| <field-map field-name="viewSize" from-field="viewSize"/> |
| </service> |
| </actions> |
| <auto-fields-entity entity-name="GlAccountOrganization" default-field-type="display"/> |
| <field name="glAccountId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext"> |
| <hyperlink description="${glAccountId}" target="GlAccountNavigate" also-hidden="false"> |
| <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="${accountCode} - ${accountName} [${glAccountId}]"> |
| <entity-order-by field-name="accountCode"/> |
| </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="orderBy" value="accountCode"/> |
| <field-map field-name="noConditionFind" value="Y"/> |
| </service> |
| <property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/> |
| </actions> |
| <field name="accountCode" title="${uiLabelMap.CommonCode}" widget-style="buttontext"> |
| <hyperlink description="${accountCode}" target="GlAccountNavigate" also-hidden="false"> |
| <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="parentGlAccountId"> |
| <display-entity entity-name="GlAccount" description="${accountName}" key-field-name="glAccountId"> |
| <sub-hyperlink target="GlAccountNavigate" description="[${parentGlAccountId}]" use-when="parentGlAccountId!=null"> |
| <parameter param-name="glAccountId"/> |
| </sub-hyperlink> |
| </display-entity> |
| </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"/></field> |
| <field name="glXbrlClassId"><display-entity entity-name="GlXbrlClass"/></field> |
| |
| <field name="description"><display/></field> |
| <field name="productId"><display-entity entity-name="Product"/></field> |
| <field name="externalId"><display/></field> |
| </form> |
| <form name="ListGlAccountPdf" extends="ListGlAccount"> |
| <actions> |
| <entity-condition entity-name="GlAccount" list="listIt"/> |
| </actions> |
| <field name="accountCode" title="${uiLabelMap.CommonCode}" widget-style="buttontext"><display/></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 name="glAccountId"><display/></field> |
| <field use-when="glAccount==null&&glAccountId!=null" name="glAccountId" tooltip="${uiLabelMap.AccountingCouldNotFindGlAccount} [${glAccountId}]"><display/></field> |
| <!-- this to be taken care of with auto-fields-service as soon as it uses entity field info too --> |
| |
| <field name="glAccountTypeId"> |
| <drop-down allow-empty="false" no-current-selected-key="_NA_"> |
| <entity-options entity-name="GlAccountType"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="glAccountClassId"> |
| <drop-down allow-empty="false"> |
| <entity-options entity-name="GlAccountClass"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="glResourceTypeId"> |
| <drop-down allow-empty="false" no-current-selected-key="_NA_"> |
| <entity-options entity-name="GlResourceType"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="glXbrlClassId"> |
| <drop-down allow-empty="true"> |
| <entity-options entity-name="GlXbrlClass"> |
| <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="${accountCode} - ${accountName} [${glAccountId}]"> |
| <entity-order-by field-name="accountCode"/> |
| </entity-options> |
| </drop-down> |
| </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 description="${acctgTransId}" target="ListAcctgTransEntries" also-hidden="false"> |
| <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=" "> |
| <hyperlink description="${uiLabelMap.AccountingBackToAdmin}" target="AdminMain" also-hidden="false"> |
| <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 description="${glReconciliationId}" target="EditGlReconciliation" also-hidden="false"> |
| <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 description="${acctgTransId}" target="ListAcctgTransEntries" also-hidden="false"> |
| <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" title="${uiLabelMap.PartyPartyId}" sort-field="true"> |
| <hyperlink description="${groupName}${lastName} ${firstName} ${middleName}" target="/partymgr/control/viewprofile" target-type="inter-app"> |
| <parameter param-name="partyId"/> |
| </hyperlink> |
| </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"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="periodTypeId" position="2"> |
| <drop-down> |
| <entity-options entity-name="PeriodType"> |
| <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="${defaultOrganizationPartyCurrencyUomId}"> |
| <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom"> |
| <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="partyId"><lookup target-form-name="LookupPartyName"></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"> |
| <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> |