git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795474 13f79535-47bb-0310-9956-ffa450edef68
508 lines
34 KiB
XML
508 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.
|
|
-->
|
|
|
|
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
|
|
|
|
<form name="BaseSummaryOptions" type="single" header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="month" title="${uiLabelMap.CommonMonth}" required-field="true">
|
|
<drop-down allow-empty="false">
|
|
<option key="01" description="${uiLabelMap.CommonJanuary}"/>
|
|
<option key="02" description="${uiLabelMap.CommonFebruary}"/>
|
|
<option key="03" description="${uiLabelMap.CommonMarch}"/>
|
|
<option key="04" description="${uiLabelMap.CommonApril}"/>
|
|
<option key="05" description="${uiLabelMap.CommonMay}"/>
|
|
<option key="06" description="${uiLabelMap.CommonJune}"/>
|
|
<option key="07" description="${uiLabelMap.CommonJuly}"/>
|
|
<option key="08" description="${uiLabelMap.CommonAugust}"/>
|
|
<option key="09" description="${uiLabelMap.CommonSeptember}"/>
|
|
<option key="10" description="${uiLabelMap.CommonOctober}"/>
|
|
<option key="11" description="${uiLabelMap.CommonNovember}"/>
|
|
<option key="12" description="${uiLabelMap.CommonDecember}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="year" title="${uiLabelMap.CommonYear}" required-field="true"><text size="4"/></field>
|
|
<field name="organizationPartyId" required-field="false">
|
|
<drop-down allow-empty="true" no-current-selected-key="Company">
|
|
<entity-options entity-name="PartyRoleNameDetail" description="${groupName} [${partyId}]" key-field-name="partyId">
|
|
<entity-constraint name="roleTypeId" value="INTERNAL_ORGANIZATIO"/>
|
|
<entity-order-by field-name="groupName"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="currencyUomId" required-field="false">
|
|
<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>
|
|
</form>
|
|
|
|
<form name="SalesInvoiceByProductCategorySummaryOptions" type="single" target="SalesInvoiceByProductCategorySummary" extends="BaseSummaryOptions"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="rootProductCategoryId" title="${uiLabelMap.ProductCategoryId}" required-field="true"><lookup target-form-name="LookupProductCategory"/></field>
|
|
<field name="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="SalesInvoiceByProductGlAccountSummaryOptions" type="single" target="SalesInvoiceByProductGlAccountSummary" extends="BaseSummaryOptions"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="PaymentByMethodSummaryOptions" type="single" target="PaymentByMethodSummary" extends="BaseSummaryOptions"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="InventoryIssueSummaryOptions" type="single" target="InventoryIssueSummary" extends="BaseSummaryOptions"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="FinancialAccountSummaryOptions" type="single" target="FinancialAccountSummary" extends="BaseSummaryOptions"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="TrialBalanceList" type="list" list-name="trialBalances"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<row-actions>
|
|
<entity-one entity-name="GlAccount" value-field="glAccount">
|
|
<field-map field-name="glAccountId"/>
|
|
</entity-one>
|
|
<set field="showDebit" value="${bsh:(postedBalance.compareTo(java.math.BigDecimal.ZERO) >= 0 && org.ofbiz.accounting.util.UtilAccounting.isDebitAccount(glAccount)) || (postedBalance.compareTo(java.math.BigDecimal.ZERO) < 0 && org.ofbiz.accounting.util.UtilAccounting.isCreditAccount(glAccount))}" type="Boolean"/>
|
|
<set field="showCredit" value="${bsh:(postedBalance.compareTo(java.math.BigDecimal.ZERO) >= 0 && org.ofbiz.accounting.util.UtilAccounting.isCreditAccount(glAccount)) || (postedBalance.compareTo(java.math.BigDecimal.ZERO) < 0 && org.ofbiz.accounting.util.UtilAccounting.isDebitAccount(glAccount))}" type="Boolean"/>
|
|
<set field="absolutePostedBalance" value="${bsh:(postedBalance.abs())}" type="BigDecimal"/>
|
|
<set field="showTotals" value="${bsh:(isLastRow != null && isLastRow==true)}" type="Boolean"/>
|
|
<set field="debitTotal" from-field="parameters.debitTotal" type="BigDecimal"/>
|
|
<set field="creditTotal" from-field="parameters.creditTotal" type="BigDecimal"/>
|
|
<set field="parameters.debitTotal" value="${bsh:(showDebit ? (debitTotal.add(absolutePostedBalance)) : (debitTotal))}" type="BigDecimal"/>
|
|
<set field="parameters.creditTotal" value="${bsh:(showCredit ? (creditTotal.add(absolutePostedBalance)) : (creditTotal))}" type="BigDecimal"/>
|
|
</row-actions>
|
|
<field name="glAccountId" use-when="!showTotals || isPdf != true">
|
|
<hyperlink target="FindAcctgTransEntries" description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}">
|
|
<parameter param-name="glAccountId"/>
|
|
<parameter param-name="organizationPartyId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="glAccountId" use-when="isPdf == true" title-area-style="tableheadhuge"><display description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}"/></field>
|
|
<field name="debit" use-when="showDebit" widget-style="tabletextright"><display description="${absolutePostedBalance}" type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="debit" use-when="showCredit" widget-style="tabletextright"><display/></field>
|
|
<field name="credit" use-when="showCredit" widget-style="tabletextright"><display description="${absolutePostedBalance}" type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="credit" use-when="showDebit" widget-style="tabletextright"><display/></field>
|
|
<field name="glAccountId" use-when="showTotals"><display description="${uiLabelMap.CommonTotal}"/></field>
|
|
<field name="debit" use-when="showTotals" widget-style="tabletextright"><display description="${parameters.debitTotal}" type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="credit" use-when="showTotals" widget-style="tabletextright"><display description="${parameters.creditTotal}" type="currency" currency="${currencyUomId}"/></field>
|
|
</form>
|
|
|
|
<form name="IncomeStatementParameters" type="single" target="prepareIncomeStatement"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="organizationPartyId"><hidden/></field>
|
|
<field name="fromDate"><date-time/></field>
|
|
<field name="thruDate"><date-time/></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="submitButton" widget-style="smallSubmit" tooltip="Please enter From and Thru date in fields above"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="IncomeStatementList" type="list" list-name="glAccountTotalsList"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<row-actions>
|
|
<entity-one entity-name="GlAccount" value-field="glAccount">
|
|
<field-map field-name="glAccountId"/>
|
|
</entity-one>
|
|
</row-actions>
|
|
<field name="glAccountId" use-when="isPdf != true">
|
|
<hyperlink target="FindAcctgTransEntries" description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}">
|
|
<parameter param-name="glAccountId"/>
|
|
<parameter param-name="organizationPartyId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="glAccountId" use-when="isPdf == true"><display description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}"/></field>
|
|
<field name="totalAmount"><display type="currency" currency="${currencyUomId}"/></field>
|
|
</form>
|
|
|
|
<form name="BalanceSheetParameters" type="single" target="prepareBalanceSheet"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="organizationPartyId"><hidden/></field>
|
|
<field name="thruDate"><date-time/></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="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="ComparativeBalanceSheetParameters" type="single" target="prepareComparativeBalanceSheet"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="organizationPartyId"><hidden/></field>
|
|
<field name="period1ThruDate"><date-time/></field>
|
|
<field name="period1GlFiscalTypeId">
|
|
<drop-down>
|
|
<entity-options entity-name="GlFiscalType" key-field-name="glFiscalTypeId" description="${description}">
|
|
<entity-order-by field-name="glFiscalTypeId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="period2ThruDate"><date-time/></field>
|
|
<field name="period2GlFiscalTypeId">
|
|
<drop-down>
|
|
<entity-options entity-name="GlFiscalType" key-field-name="glFiscalTypeId" description="${description}">
|
|
<entity-order-by field-name="glFiscalTypeId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="BalanceSheetAssetList" type="list" list-name="assetBalancesList"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<row-actions>
|
|
<entity-one entity-name="GlAccount" value-field="glAccount">
|
|
<field-map field-name="glAccountId"/>
|
|
</entity-one>
|
|
</row-actions>
|
|
<field name="glAccountId" use-when="isPdf != true">
|
|
<hyperlink target="FindAcctgTransEntries" description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}">
|
|
<parameter param-name="glAccountId"/>
|
|
<parameter param-name="organizationPartyId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="glAccountId" use-when="isPdf == true"><display description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}"/></field>
|
|
<field name="totalAmount"><display type="currency" currency="${currencyUomId}"/></field>
|
|
</form>
|
|
<form name="BalanceSheetLiabilityList" type="list" list-name="liabilityBalancesList"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<row-actions>
|
|
<entity-one entity-name="GlAccount" value-field="glAccount">
|
|
<field-map field-name="glAccountId"/>
|
|
</entity-one>
|
|
</row-actions>
|
|
<field name="glAccountId" use-when="isPdf != true">
|
|
<hyperlink target="FindAcctgTransEntries" description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}">
|
|
<parameter param-name="glAccountId"/>
|
|
<parameter param-name="organizationPartyId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="glAccountId" use-when="isPdf == true"><display description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}"/></field>
|
|
<field name="totalAmount"><display type="currency" currency="${currencyUomId}"/></field>
|
|
</form>
|
|
<form name="BalanceSheetEquityList" type="list" list-name="equityBalancesList"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<row-actions>
|
|
<entity-one entity-name="GlAccount" value-field="glAccount">
|
|
<field-map field-name="glAccountId"/>
|
|
</entity-one>
|
|
</row-actions>
|
|
<field name="glAccountId" use-when="isPdf != true">
|
|
<hyperlink target="FindAcctgTransEntries" description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}">
|
|
<parameter param-name="glAccountId"/>
|
|
<parameter param-name="organizationPartyId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="glAccountId" use-when="isPdf == true"><display description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}"/></field>
|
|
<field name="totalAmount"><display type="currency" currency="${currencyUomId}"/></field>
|
|
</form>
|
|
|
|
<form name="FindTransactionTotals" type="single" target="TransactionTotals" title="Find list of transaction totals"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="organizationPartyId"><hidden/></field>
|
|
<field name="fromDate"><date-time/></field>
|
|
<field name="thruDate"><date-time/></field>
|
|
<field name="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="PostedTransactionTotalList" type="list" list-name="postedTransTotalList"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="glAccountId"><display/></field>
|
|
<field name="accountName" entry-name="glAccountId"><display-entity entity-name="GlAccount" key-field-name="glAccountId" description="${accountName}"/></field>
|
|
<field name="debit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="credit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
</form>
|
|
|
|
<form name="UnpostedTransactionTotalList" type="list" list-name="unpostedTransTotalList"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="glAccountId"><display/></field>
|
|
<field name="accountName" entry-name="glAccountId"><display-entity entity-name="GlAccount" key-field-name="glAccountId" description="${accountName}"/></field>
|
|
<field name="debit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="credit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
</form>
|
|
<form name="PostedAndUnpostedTransactionTotalList" type="list" list-name="postedAndUnpostedTransTotalList"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="glAccountId"><display/></field>
|
|
<field name="accountName" entry-name="glAccountId"><display-entity entity-name="GlAccount" key-field-name="glAccountId" description="${accountName}"/></field>
|
|
<field name="debit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="credit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
</form>
|
|
|
|
<form name="PostedTransactionTotalListCsv" type="list" list-name="postedTransTotalList" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="quot0" title="""><display description="""/></field>
|
|
<field name="glAccountId"><display/></field>
|
|
<field name="quot1" title="""><display description="""/></field>
|
|
<field name="seprator0" title=","><display description=","/></field>
|
|
|
|
<field name="accountName" entry-name="glAccountId"><display-entity entity-name="GlAccount" key-field-name="glAccountId" description="${accountName}"/></field>
|
|
<field name="seprator1" title=","><display description=","/></field>
|
|
|
|
<field name="quot2" title="""><display description="""/></field>
|
|
<field name="debit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="quot3" title="""><display description="""/></field>
|
|
<field name="seprator2" title=","><display description=","/></field>
|
|
|
|
<field name="quot4" title="""><display description="""/></field>
|
|
<field name="credit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="quot5" title="""><display description="""/></field>
|
|
</form>
|
|
|
|
<form name="UnpostedTransactionTotalListCsv" type="list" list-name="unpostedTransTotalList" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="quot0" title="""><display description="""/></field>
|
|
<field name="glAccountId"><display/></field>
|
|
<field name="quot1" title="""><display description="""/></field>
|
|
<field name="seprator0" title=","><display description=","/></field>
|
|
|
|
<field name="accountName" entry-name="glAccountId"><display-entity entity-name="GlAccount" key-field-name="glAccountId" description="${accountName}"/></field>
|
|
<field name="seprator1" title=","><display description=","/></field>
|
|
|
|
<field name="quot2" title="""><display description="""/></field>
|
|
<field name="debit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="quot3" title="""><display description="""/></field>
|
|
<field name="seprator2" title=","><display description=","/></field>
|
|
|
|
<field name="quot4" title="""><display description="""/></field>
|
|
<field name="credit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="quot5" title="""><display description="""/></field>
|
|
</form>
|
|
|
|
<form name="PostedAndUnpostedTransactionTotalListCsv" type="list" list-name="postedAndUnpostedTransTotalList" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="quot0" title="""><display description="""/></field>
|
|
<field name="glAccountId"><display/></field>
|
|
<field name="quot1" title="""><display description="""/></field>
|
|
<field name="seprator0" title=","><display description=","/></field>
|
|
|
|
<field name="accountName" entry-name="glAccountId"><display-entity entity-name="GlAccount" key-field-name="glAccountId" description="${accountName}"/></field>
|
|
<field name="seprator1" title=","><display description=","/></field>
|
|
|
|
<field name="quot2" title="""><display description="""/></field>
|
|
<field name="debit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="quot3" title="""><display description="""/></field>
|
|
<field name="seprator2" title=","><display description=","/></field>
|
|
|
|
<field name="quot4" title="""><display description="""/></field>
|
|
<field name="credit"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="quot5" title="""><display description="""/></field>
|
|
</form>
|
|
|
|
<form name="IncomeStatementListCsv" type="list" list-name="glAccountTotalsList" view-size="99999">
|
|
<row-actions>
|
|
<entity-one entity-name="GlAccount" value-field="glAccount" auto-field-map="true"/>
|
|
<set field="totalAmount" from-field="${totalAmount}"/>
|
|
</row-actions>
|
|
<field name="quot0" title="""><display description="""/></field>
|
|
<field name="glAccountId"><display description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}"/></field>
|
|
<field name="quot1" title="""><display description="""/></field>
|
|
<field name="seprator0" title=","><display description=","/></field>
|
|
|
|
<field name="quot2" title="""><display description="""/></field>
|
|
<field name="totalAmount"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="quot3" title="""><display description="""/></field>
|
|
</form>
|
|
|
|
<form name="BalanceSheetAssetListCsv" type="list" list-name="assetBalancesList" view-size="99999">
|
|
<row-actions>
|
|
<entity-one entity-name="GlAccount" value-field="glAccount">
|
|
<field-map field-name="glAccountId"/>
|
|
</entity-one>
|
|
</row-actions>
|
|
<field name="quot0" title="""><display description="""/></field>
|
|
<field name="glAccountId"><display description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}"/></field>
|
|
<field name="quot1" title="""><display description="""/></field>
|
|
<field name="seprator0" title=","><display description=","/></field>
|
|
|
|
<field name="quot2" title="""><display description="""/></field>
|
|
<field name="totalAmount"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="quot3" title="""><display description="""/></field>
|
|
</form>
|
|
<form name="BalanceSheetLiabilityListCsv" type="list" list-name="liabilityBalancesList" view-size="99999">
|
|
<row-actions>
|
|
<entity-one entity-name="GlAccount" value-field="glAccount">
|
|
<field-map field-name="glAccountId"/>
|
|
</entity-one>
|
|
</row-actions>
|
|
<field name="quot0" title="""><display description="""/></field>
|
|
<field name="glAccountId"><display description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}"/></field>
|
|
<field name="quot1" title="""><display description="""/></field>
|
|
<field name="seprator0" title=","><display description=","/></field>
|
|
|
|
<field name="quot2" title="""><display description="""/></field>
|
|
<field name="totalAmount"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="quot3" title="""><display description="""/></field>
|
|
</form>
|
|
<form name="BalanceSheetEquityListCsv" type="list" list-name="equityBalancesList" view-size="99999">
|
|
<row-actions>
|
|
<entity-one entity-name="GlAccount" value-field="glAccount">
|
|
<field-map field-name="glAccountId"/>
|
|
</entity-one>
|
|
</row-actions>
|
|
<field name="quot0" title="""><display description="""/></field>
|
|
<field name="glAccountId"><display description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}"/></field>
|
|
<field name="quot1" title="""><display description="""/></field>
|
|
<field name="seprator0" title=","><display description=","/></field>
|
|
|
|
<field name="quot2" title="""><display description="""/></field>
|
|
<field name="totalAmount"><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="quot3" title="""><display description="""/></field>
|
|
</form>
|
|
|
|
<form name="TrialBalanceSearchResultsCsv" type="list" list-name="trialBalances"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<row-actions>
|
|
<entity-one entity-name="GlAccount" value-field="glAccount">
|
|
<field-map field-name="glAccountId"/>
|
|
</entity-one>
|
|
<set field="showDebit" value="${bsh:(postedBalance.compareTo(java.math.BigDecimal.ZERO) >= 0 && org.ofbiz.accounting.util.UtilAccounting.isDebitAccount(glAccount)) || (postedBalance.compareTo(java.math.BigDecimal.ZERO) < 0 && org.ofbiz.accounting.util.UtilAccounting.isCreditAccount(glAccount))}" type="Boolean"/>
|
|
<set field="showCredit" value="${bsh:(postedBalance.compareTo(java.math.BigDecimal.ZERO) >= 0 && org.ofbiz.accounting.util.UtilAccounting.isCreditAccount(glAccount)) || (postedBalance.compareTo(java.math.BigDecimal.ZERO) < 0 && org.ofbiz.accounting.util.UtilAccounting.isDebitAccount(glAccount))}" type="Boolean"/>
|
|
<set field="absolutePostedBalance" value="${bsh:(postedBalance.abs())}" type="BigDecimal"/>
|
|
<set field="showTotals" value="${bsh:(isLastRow != null && isLastRow==true)}" type="Boolean"/>
|
|
<set field="debitTotal" from-field="parameters.debitTotal" type="BigDecimal"/>
|
|
<set field="creditTotal" from-field="parameters.creditTotal" type="BigDecimal"/>
|
|
<set field="noValue" value="0" type="BigDecimal"/>
|
|
<set field="parameters.debitTotal" value="${bsh:(showDebit ? (debitTotal.add(absolutePostedBalance)) : (debitTotal))}" type="BigDecimal"/>
|
|
<set field="parameters.creditTotal" value="${bsh:(showCredit ? (creditTotal.add(absolutePostedBalance)) : (creditTotal))}" type="BigDecimal"/>
|
|
</row-actions>
|
|
<field name="glAccountId" use-when="!showTotals"><display description="[${glAccountId}] [${glAccount.accountCode}] ${glAccount.accountName}"/></field>
|
|
<field name="separator0" title=","><display description=","/></field>
|
|
|
|
<field name="quot0" title="""><display/></field>
|
|
<field name="debit" use-when="showDebit"><display description="${absolutePostedBalance}" type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="debit" use-when="showCredit"><display description="${noValue}"/></field>
|
|
<field name="quot1" title="""><display/></field>
|
|
<field name="separator1" title=","><display description=","/></field>
|
|
|
|
<field name="quot2" title="""><display/></field>
|
|
<field name="credit" use-when="showCredit"><display description="${absolutePostedBalance}" type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="credit" use-when="showDebit"><display description="${noValue}"/></field>
|
|
<field name="quot3" title="""><display/></field>
|
|
<field name="glAccountId" use-when="showTotals"><display description="${uiLabelMap.Total}"/></field>
|
|
<field name="separator2" title="," use-when="showTotals"><display description=","/></field>
|
|
<field name="debit" use-when="showTotals"><display description="${parameters.debitTotal}" type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="credit" use-when="showTotals"><display description="${parameters.creditTotal}" type="currency" currency="${currencyUomId}"/></field>
|
|
</form>
|
|
<form name="GlAccountTrialBalance" type="single" target="GlAccountTrialBalance">
|
|
<actions>
|
|
<entity-and entity-name="CustomTimePeriod" list="customTimePeriods">
|
|
<field-map field-name="organizationPartyId"/>
|
|
<field-map field-name="periodTypeId" value="FISCAL_YEAR"/>
|
|
<order-by field-name="fromDate"/>
|
|
</entity-and>
|
|
</actions>
|
|
<field name="organizationPartyId"><hidden/></field>
|
|
<field name="glAccountId" title="${uiLabelMap.AccountingGlAccountId}">
|
|
<drop-down>
|
|
<entity-options entity-name="GlAccountOrganizationAndClass" description="${glAccountId} ${accountName}">
|
|
<entity-constraint name="organizationPartyId" operator="equals" env-name="organizationPartyId"/>
|
|
<entity-order-by field-name="glAccountId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="timePeriod">
|
|
<drop-down>
|
|
<list-options list-name="customTimePeriods" key-name="customTimePeriodId" description="${fromDate} - ${thruDate}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="isPosted">
|
|
<drop-down>
|
|
<option description="${uiLabelMap.CommonYes}" key="Y"/>
|
|
<option description="${uiLabelMap.CommonNo}" key="N"/>
|
|
<option description="${uiLabelMap.CommonAll}" key="ALL"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" widget-style="buttontext" action=""><submit button-type="text-link"/></field>
|
|
</form>
|
|
<form name="MonthlyTrialBalance" type="single" target="MonthlyTrialBalance" title="Find list of monthly transaction totals"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
|
|
<field name="organizationPartyId"><hidden/></field>
|
|
<field name="selectedMonth">
|
|
<drop-down>
|
|
<option key="${month.value}" description="${month.description}"/>
|
|
<list-options list-name="monthList" key-name="value" description="${description}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="posted">
|
|
<drop-down>
|
|
<option description="${uiLabelMap.CommonY}" key="Y"/>
|
|
<option description="${uiLabelMap.CommonN}" key="N"/>
|
|
<option description="${uiLabelMap.CommonAll}" key="All"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="MonthlyPostedTransactionList" type="list" list-name="postedTransTotalList" paginate-target="MonthlyTrialBalance"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
|
|
<field name="isPosted" field-name="parameters.isPosted"><hidden/></field>
|
|
<field name="accountCode" title="${uiLabelMap.FormFieldTitle_accountCode}" entry-name="glAccountId">
|
|
<display-entity entity-name="GlAccount" key-field-name="glAccountId" description="${accountCode}"/>
|
|
</field>
|
|
<field name="accountName" title="${uiLabelMap.FormFieldTitle_accountName}" entry-name="glAccountId">
|
|
<display-entity entity-name="GlAccount" key-field-name="glAccountId" description="${accountName}"/>
|
|
</field>
|
|
<field name="openingBalanceCredit" title="${uiLabelMap.AccountingOpeningBalanceCredit}">
|
|
<display description="${openingBalanceCredit}" type="currency" currency="${currencyUomId}"/>
|
|
</field>
|
|
<field name="openingBalanceDebit" title="${uiLabelMap.AccountingOpeningBalanceDebit}">
|
|
<display description="${openingBalanceDebit}" type="currency" currency="${currencyUomId}"/>
|
|
</field>
|
|
<field name="monthlyBalanceCredit" title="${uiLabelMap.AccountingMonthlyBalanceCredit}">
|
|
<display description="${credit}" type="currency" currency="${currencyUomId}"/>
|
|
</field>
|
|
<field name="monthlyBalanceDebit" title="${uiLabelMap.AccountingMonthlyBalanceDebit}">
|
|
<display description="${debit}" type="currency" currency="${currencyUomId}"/>
|
|
</field>
|
|
<field name="closingBalanceCredit" title="${uiLabelMap.AccountingClosingBalanceCredit}">
|
|
<display description="${openingBalanceCredit + credit}" type="currency" currency="${currencyUomId}"/>
|
|
</field>
|
|
<field name="closingBalanceDebit" title="${uiLabelMap.AccountingClosingBalanceDebit}">
|
|
<display description="${openingBalanceDebit + debit}" type="currency" currency="${currencyUomId}"/>
|
|
</field>
|
|
<field name="yearToDateBalanceCredit" title="${uiLabelMap.AccountingYearToDateBalanceCredit}">
|
|
<display description="${openingBalanceCredit + credit}" type="currency" currency="${currencyUomId}"/>
|
|
</field>
|
|
<field name="yearToDateBalanceDebit" title="${uiLabelMap.AccountingYearToDateBalanceDebit}">
|
|
<display description="${openingBalanceDebit + debit}" type="currency" currency="${currencyUomId}"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="MonthlyUnpostedTransactionList" type="list" list-name="unpostedTransTotalList" paginate-target="MonthlyTrialBalance"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
|
|
extends="MonthlyPostedTransactionList" extends-resource="component://accounting/widget/ReportFinancialSummaryForms.xml">
|
|
<field name="isPosted" field-name="parameters.isPosted"><hidden/></field>
|
|
</form>
|
|
|
|
<form name="MonthlyPostedUnpostedTransactionList" type="list" list-name="postedAndUnpostedTransTotalList" paginate-target="MonthlyTrialBalance"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
|
|
extends="MonthlyPostedTransactionList" extends-resource="component://accounting/widget/ReportFinancialSummaryForms.xml">
|
|
<field name="isPosted" field-name="parameters.isPosted"><hidden/></field>
|
|
</form>
|
|
</forms> |