git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@574777 13f79535-47bb-0310-9956-ffa450edef68
162 lines
8.8 KiB
XML
162 lines
8.8 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="FindGlJournalEntry" type="single" target="FindGlJournalEntry" title="" default-map-name="journal">
|
|
<field name="acctgTransTypeId" title="${uiLabelMap.AccountingTransactionType}">
|
|
<drop-down>
|
|
<entity-options entity-name="AcctgTransType" description="${description}">
|
|
<entity-order-by field-name="acctgTransTypeId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="glFiscalTypeId">
|
|
<drop-down>
|
|
<entity-options entity-name="GlFiscalType" description="${description}">
|
|
<entity-order-by field-name="glFiscalTypeId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="organizationPartyId" parameter-name="organizationPartyId">
|
|
<drop-down>
|
|
<entity-options entity-name="PartyRoleAndPartyDetail" key-field-name="partyId" 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="partyId" parameter-name="partyId">
|
|
<drop-down>
|
|
<entity-options entity-name="Party" key-field-name="partyId" description="${partyId}">
|
|
<entity-order-by field-name="partyId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="invoiceId"><text size="20" maxlength="20"/></field>
|
|
<field name="paymentId"><text size="20" maxlength="20"/></field>
|
|
<field name="produtId"><text size="20" maxlength="20"/></field>
|
|
<field name="debitGlAccountId">
|
|
<drop-down>
|
|
<entity-options entity-name="GlAccount" description="${glAccountId}: ${accountName}" key-field-name="glAccountId">
|
|
<entity-order-by field-name="glAccountId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="creditGlAccountId">
|
|
<drop-down>
|
|
<entity-options entity-name="GlAccount" description="${glAccountId}: ${accountName}" key-field-name="glAccountId">
|
|
<entity-order-by field-name="glAccountId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="text-link"/></field>
|
|
</form>
|
|
|
|
<form name="ListJournalEntries" type="list" title="List Journal Transactions" list-name="listIt">
|
|
<actions>
|
|
<service result-map-list-name="listIt" result-map-name="result" service-name="performFind">
|
|
<field-map field-name="inputFields" env-name="parameters"/>
|
|
<field-map field-name="entityName" value="AcctgTrans"/>
|
|
</service>
|
|
</actions>
|
|
<field name="acctgTransId" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${acctgTransId}" target="ListAcctgTransEntries?acctgTransId=${acctgTransId}"/>
|
|
</field>
|
|
<field name="transactionDate"><display/></field>
|
|
<field name="acctgTransTypeId"><display-entity entity-name="AcctgTransType" description="${description}"/></field>
|
|
<field name="glFiscalTypeId"><display-entity entity-name="GlFiscalType" description="${description}"/></field>
|
|
<field name="invoiceId" use-when="invoiceId!=null" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${invoiceId}" target="editInvoice?invoiceId=${invoiceId}"/>
|
|
</field>
|
|
<field name="invoiceId" use-when="invoiceId==null"><display/></field>
|
|
<field name="paymentId" use-when="paymentId!=null">
|
|
<hyperlink also-hidden="false" description="${paymentId}" target="editPayment?paymentId=${paymentId}"/>
|
|
</field>
|
|
<field name="paymentId" use-when="paymentId==null"><display/></field>
|
|
<field name="partyId"><display/></field>
|
|
<field name="post" title="${uiLabelMap.AccountingPostTransaction}" widget-style="buttontext">
|
|
<hyperlink description="${uiLabelMap.AccountingPostTransaction}" target="postAcctgTrans?acctgTransId=${acctgTransId}&organizationPartyId=${organizationPartyId}" also-hidden="false"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="EditGlJournalEntry" type="single" target="createGlJournalEntry" title="" default-map-name="journal">
|
|
<field name="acctgTransTypeId" title="${uiLabelMap.AccountingTransactionType}">
|
|
<drop-down>
|
|
<entity-options entity-name="AcctgTransType" description="${description}">
|
|
<entity-order-by field-name="acctgTransTypeId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="glFiscalTypeId">
|
|
<drop-down>
|
|
<entity-options entity-name="GlFiscalType" description="${description}">
|
|
<entity-order-by field-name="glFiscalTypeId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="organizationPartyId" parameter-name="organizationPartyId">
|
|
<drop-down>
|
|
<entity-options entity-name="PartyRoleAndPartyDetail" key-field-name="partyId" 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="partyId" parameter-name="partyId">
|
|
<drop-down>
|
|
<entity-options entity-name="Party" key-field-name="partyId" description="${partyId}">
|
|
<entity-order-by field-name="partyId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="roleTypeId" parameter-name="roleTypeId">
|
|
<drop-down>
|
|
<entity-options entity-name="RoleType" key-field-name="roleTypeId" description="${description}">
|
|
<entity-order-by field-name="roleTypeId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="invoiceId"><text size="20" maxlength="20"/></field>
|
|
<field name="paymentId"><text size="20" maxlength="20"/></field>
|
|
<field name="produtId"><text size="20" maxlength="20"/></field>
|
|
<field name="debitGlAccountId">
|
|
<drop-down>
|
|
<entity-options entity-name="GlAccount" description="${glAccountId}: ${accountName}" key-field-name="glAccountId">
|
|
<entity-order-by field-name="glAccountId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="creditGlAccountId">
|
|
<drop-down>
|
|
<entity-options entity-name="GlAccount" description="${glAccountId}: ${accountName}" key-field-name="glAccountId">
|
|
<entity-order-by field-name="glAccountId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="amount"><text size="20" maxlength="20"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
</forms> |