above (action) menu(s)
(OFBIZ-10949)
See [1] and [2] and other accounting party screens.
Currently the page title of the screen(s) is shown below the (various) menu(s).
In order to improve usability the title of the page should be shown the menu(s).
https://demo-stable.ofbiz.apache.org/accounting/control/AdminMain
https://demo-trunk.ofbiz.apache.org/accounting/control/AdminMain
jleroux: I wrongly applied a 1st patch while committing for OFBIZ-9905. Trivial
anyway.
Thanks: Pierre Smits
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858329 13f79535-47bb-0310-9956-ffa450edef68
687 lines
46 KiB
XML
687 lines
46 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.
|
|
-->
|
|
|
|
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="http://ofbiz.apache.org/Widget-Screen" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd">
|
|
|
|
<screen name="CommonPartyGlDecorator">
|
|
<section>
|
|
<actions>
|
|
<set field="tabButtonItemTop" value="PartyAccounts"/>
|
|
<entity-one entity-name="PartyNameView" value-field="currentOrganization" auto-field-map="false">
|
|
<field-map field-name="partyId" value="${groovy:parameters.get('ApplicationDecorator|organizationPartyId')}"/>
|
|
</entity-one>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyDecorator" location="${parameters.partyDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<include-menu name="OrganizationAccountingTabBar" location="component://accounting/widget/AccountingMenus.xml"/>
|
|
<decorator-section-include name="body"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="PartyAccountsSummary">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="AccountingPartyAccountsSummary"/>
|
|
<set field="tabButtonItem" value="PartyAccountsSummary"/>
|
|
<set field="labelTitleProperty" value="AccountingPartyAccountsSummary"/>
|
|
<!-- entity-condition entity-name="GlAccountOrganization" list="entityList" use-cache="true" >
|
|
<condition-expr field-name="glAccountId" operator="greater" value="0"/>
|
|
</entity-condition -->
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyGlDecorator" location="${parameters.partyGlDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.AccountingPartyAccountsSummary}">
|
|
<include-menu name="PartyGlShortCuts" location="component://accounting/widget/AccountingMenus.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="FindAcctgTrans">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="AccountingAcctgTrans"/>
|
|
<set field="tabButtonItem" value="FindAcctgTrans"/>
|
|
<set field="labelTitleProperty" value="AccountingAcctgTrans"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyGlDecorator" location="${parameters.partyGlDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.AccountingAcctgTrans}">
|
|
<container>
|
|
<link text="${uiLabelMap.AccountingCreateAnAccountingTransaction}" style="buttontext" target="newAcctgTrans">
|
|
<parameter param-name="organizationPartyId"/>
|
|
</link>
|
|
<link text="${uiLabelMap.AccountingCreateAcctgTransAndEntries}" style="buttontext" target="CreateAcctgTransAndEntries">
|
|
<parameter param-name="organizationPartyId"/>
|
|
</link>
|
|
<link text="${uiLabelMap.PageTitleUnpostedTransactions}" style="buttontext" target="ListUnpostedAcctgTrans">
|
|
<parameter param-name="organizationPartyId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="FindAcctgTrans" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
<section>
|
|
<condition>
|
|
<if-compare field="parameters.performSearch" operator="equals" value="Y"/>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.AccountingAcctgTrans}">
|
|
<link text="${uiLabelMap.AccountingExportAsCsv}" style="buttontext" target="AcctgTransSearchResultsCsv.csv">
|
|
<parameter param-name="organizationPartyId"/>
|
|
<parameter param-name="acctgTransId" from-field="parameters.acctgTransId"/>
|
|
<parameter param-name="productId" from-field="parameters.productId"/>
|
|
<parameter param-name="isPosted" from-field="parameters.isPosted"/>
|
|
<parameter param-name="invoiceId" from-field="parameters.invoiceId"/>
|
|
<parameter param-name="glFiscalTypeId" from-field="parameters.glFiscalTypeId"/>
|
|
<parameter param-name="shipmentId" from-field="parameters.shipmentId"/>
|
|
<parameter param-name="acctgTransTypeId" from-field="parameters.acctgTransTypeId"/>
|
|
<parameter param-name="workEffortId" from-field="parameters.workEffortId"/>
|
|
<parameter param-name="glJournalId" from-field="parameters.glJournalId"/>
|
|
<parameter param-name="paymentId" from-field="parameters.paymentId"/>
|
|
<parameter param-name="fromDate" from-field="parameters.fromDate"/>
|
|
<parameter param-name="thruDate" from-field="parameters.thruDate"/>
|
|
</link>
|
|
<link text="${uiLabelMap.AccountingExportAsPdf}" style="buttontext" target="AcctgTransSearchResultPdf.pdf" target-window="_BLANK">
|
|
<parameter param-name="organizationPartyId"/>
|
|
<parameter param-name="acctgTransId" from-field="parameters.acctgTransId"/>
|
|
<parameter param-name="productId" from-field="parameters.productId"/>
|
|
<parameter param-name="isPosted" from-field="parameters.isPosted"/>
|
|
<parameter param-name="invoiceId" from-field="parameters.invoiceId"/>
|
|
<parameter param-name="glFiscalTypeId" from-field="parameters.glFiscalTypeId"/>
|
|
<parameter param-name="shipmentId" from-field="parameters.shipmentId"/>
|
|
<parameter param-name="acctgTransTypeId" from-field="parameters.acctgTransTypeId"/>
|
|
<parameter param-name="workEffortId" from-field="parameters.workEffortId"/>
|
|
<parameter param-name="glJournalId" from-field="parameters.glJournalId"/>
|
|
<parameter param-name="paymentId" from-field="parameters.paymentId"/>
|
|
<parameter param-name="fromDate" from-field="parameters.fromDate"/>
|
|
<parameter param-name="thruDate" from-field="parameters.thruDate"/>
|
|
</link>
|
|
<include-form name="ListAcctgTrans" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="FindAcctgTransEntries">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="AccountingAcctgTransEntries"/>
|
|
<set field="tabButtonItem" value="FindAcctgTransEntries"/>
|
|
<set field="labelTitleProperty" value="AccountingAcctgTransEntries"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyGlDecorator" location="${parameters.partyGlDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.AccountingAcctgTransEntries}">
|
|
<include-form name="FindAcctgTransEntries" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
<section>
|
|
<condition>
|
|
<and>
|
|
<if-compare field="parameters.performSearch" operator="equals" value="Y"/>
|
|
<if-compare field="parameters.reportType" operator="equals" value="byAccount"/>
|
|
</and>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.AccountingAcctgTransEntries} ${uiLabelMap.AccountingByAccount}">
|
|
<link text="${uiLabelMap.AccountingExportAsCsv}" style="buttontext" target="AcctgTransEntriesSearchResultsCsv.csv">
|
|
<parameter param-name="organizationPartyId"/>
|
|
<parameter param-name="productId" from-field="parameters.productId"/>
|
|
<parameter param-name="isPosted" from-field="parameters.isPosted"/>
|
|
<parameter param-name="invoiceId" from-field="parameters.invoiceId"/>
|
|
<parameter param-name="acctgTransId" from-field="parameters.acctgTransId"/>
|
|
<parameter param-name="glFiscalTypeId" from-field="parameters.glFiscalTypeId"/>
|
|
<parameter param-name="glAccountId" from-field="parameters.glAccountId"/>
|
|
<parameter param-name="shipmentId" from-field="parameters.shipmentId"/>
|
|
<parameter param-name="acctgTransTypeId" from-field="parameters.acctgTransTypeId"/>
|
|
<parameter param-name="fromDate" from-field="parameters.fromDate"/>
|
|
<parameter param-name="workEffortId" from-field="parameters.workEffortId"/>
|
|
<parameter param-name="glJournalId" from-field="parameters.glJournalId"/>
|
|
<parameter param-name="partyId" from-field="parameters.partyId"/>
|
|
<parameter param-name="thruDate" from-field="parameters.thruDate"/>
|
|
<parameter param-name="paymentId" from-field="parameters.paymentId"/>
|
|
</link>
|
|
<link text="${uiLabelMap.AccountingExportAsPdf}" style="buttontext" target="AcctgTransEntriesSearchResultsPdf.pdf" target-window="_BLANK">
|
|
<parameter param-name="organizationPartyId"/>
|
|
<parameter param-name="productId" from-field="parameters.productId"/>
|
|
<parameter param-name="isPosted" from-field="parameters.isPosted"/>
|
|
<parameter param-name="invoiceId" from-field="parameters.invoiceId"/>
|
|
<parameter param-name="acctgTransId" from-field="parameters.acctgTransId"/>
|
|
<parameter param-name="glFiscalTypeId" from-field="parameters.glFiscalTypeId"/>
|
|
<parameter param-name="glAccountId" from-field="parameters.glAccountId"/>
|
|
<parameter param-name="shipmentId" from-field="parameters.shipmentId"/>
|
|
<parameter param-name="acctgTransTypeId" from-field="parameters.acctgTransTypeId"/>
|
|
<parameter param-name="fromDate" from-field="parameters.fromDate"/>
|
|
<parameter param-name="workEffortId" from-field="parameters.workEffortId"/>
|
|
<parameter param-name="glJournalId" from-field="parameters.glJournalId"/>
|
|
<parameter param-name="partyId" from-field="parameters.partyId"/>
|
|
<parameter param-name="thruDate" from-field="parameters.thruDate"/>
|
|
<parameter param-name="paymentId" from-field="parameters.paymentId"/>
|
|
</link>
|
|
<link text="${uiLabelMap.AccountingExportWithInvoiceAndPaymentAsPdf}" style="buttontext" target="AcctgTransEntriesSearchResultsInvoiceAndPaymentPdf.pdf" target-window="_BLANK">
|
|
<parameter param-name="organizationPartyId"/>
|
|
<parameter param-name="productId" from-field="parameters.productId"/>
|
|
<parameter param-name="isPosted" from-field="parameters.isPosted"/>
|
|
<parameter param-name="invoiceId" from-field="parameters.invoiceId"/>
|
|
<parameter param-name="acctgTransId" from-field="parameters.acctgTransId"/>
|
|
<parameter param-name="glFiscalTypeId" from-field="parameters.glFiscalTypeId"/>
|
|
<parameter param-name="glAccountId" from-field="parameters.glAccountId"/>
|
|
<parameter param-name="shipmentId" from-field="parameters.shipmentId"/>
|
|
<parameter param-name="acctgTransTypeId" from-field="parameters.acctgTransTypeId"/>
|
|
<parameter param-name="fromDate" from-field="parameters.fromDate"/>
|
|
<parameter param-name="workEffortId" from-field="parameters.workEffortId"/>
|
|
<parameter param-name="glJournalId" from-field="parameters.glJournalId"/>
|
|
<parameter param-name="partyId" from-field="parameters.partyId"/>
|
|
<parameter param-name="thruDate" from-field="parameters.thruDate"/>
|
|
<parameter param-name="paymentId" from-field="parameters.paymentId"/>
|
|
</link>
|
|
<include-form name="ListFindAcctgTransEntriesByAccount" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
<section>
|
|
<condition>
|
|
<and>
|
|
<if-compare field="parameters.performSearch" operator="equals" value="Y"/>
|
|
<if-compare field="parameters.reportType" operator="equals" value="byDate"/>
|
|
</and>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.AccountingAcctgTransEntries} ${uiLabelMap.AccountingByDate}">
|
|
<link text="${uiLabelMap.AccountingExportAsCsv}" style="buttontext" target="AcctgTransEntriesSearchResultsCsv.csv">
|
|
<parameter param-name="organizationPartyId"/>
|
|
<parameter param-name="productId" from-field="parameters.productId"/>
|
|
<parameter param-name="isPosted" from-field="parameters.isPosted"/>
|
|
<parameter param-name="invoiceId" from-field="parameters.invoiceId"/>
|
|
<parameter param-name="acctgTransId" from-field="parameters.acctgTransId"/>
|
|
<parameter param-name="glFiscalTypeId" from-field="parameters.glFiscalTypeId"/>
|
|
<parameter param-name="glAccountId" from-field="parameters.glAccountId"/>
|
|
<parameter param-name="shipmentId" from-field="parameters.shipmentId"/>
|
|
<parameter param-name="acctgTransTypeId" from-field="parameters.acctgTransTypeId"/>
|
|
<parameter param-name="fromDate" from-field="parameters.fromDate"/>
|
|
<parameter param-name="workEffortId" from-field="parameters.workEffortId"/>
|
|
<parameter param-name="glJournalId" from-field="parameters.glJournalId"/>
|
|
<parameter param-name="partyId" from-field="parameters.partyId"/>
|
|
<parameter param-name="thruDate" from-field="parameters.thruDate"/>
|
|
<parameter param-name="paymentId" from-field="parameters.paymentId"/>
|
|
</link>
|
|
<link text="${uiLabelMap.AccountingExportAsPdf}" style="buttontext" target="AcctgTransEntriesSearchResultsPdf.pdf" target-window="_BLANK">
|
|
<parameter param-name="organizationPartyId"/>
|
|
<parameter param-name="productId" from-field="parameters.productId"/>
|
|
<parameter param-name="isPosted" from-field="parameters.isPosted"/>
|
|
<parameter param-name="invoiceId" from-field="parameters.invoiceId"/>
|
|
<parameter param-name="acctgTransId" from-field="parameters.acctgTransId"/>
|
|
<parameter param-name="glFiscalTypeId" from-field="parameters.glFiscalTypeId"/>
|
|
<parameter param-name="glAccountId" from-field="parameters.glAccountId"/>
|
|
<parameter param-name="shipmentId" from-field="parameters.shipmentId"/>
|
|
<parameter param-name="acctgTransTypeId" from-field="parameters.acctgTransTypeId"/>
|
|
<parameter param-name="fromDate" from-field="parameters.fromDate"/>
|
|
<parameter param-name="workEffortId" from-field="parameters.workEffortId"/>
|
|
<parameter param-name="glJournalId" from-field="parameters.glJournalId"/>
|
|
<parameter param-name="partyId" from-field="parameters.partyId"/>
|
|
<parameter param-name="thruDate" from-field="parameters.thruDate"/>
|
|
<parameter param-name="paymentId" from-field="parameters.paymentId"/>
|
|
</link>
|
|
<include-form name="ListFindAcctgTransEntriesByDate" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="CreateAcctgTransAndEntries">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="AccountingCreateAcctgTransAndEntries"/>
|
|
<set field="tabButtonItem" value="FindAcctgTrans"/>
|
|
<set field="labelTitleProperty" value="AccountingCreateAcctgTransAndEntries"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyGlDecorator" location="${parameters.partyGlDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.AccountingCreateAcctgTransAndEntries}">
|
|
<include-form name="CreateAcctgTransAndEntries" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditAcctgTrans">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="titleProperty" value="PageTitleEditTransaction"/>
|
|
<set field="tabButtonItem" value="FindAcctgTrans"/>
|
|
<set field="acctgTransId" from-field="parameters.acctgTransId"/>
|
|
|
|
<entity-one entity-name="AcctgTrans" value-field="acctgTrans"/>
|
|
<entity-one entity-name="AcctgTransEntry" value-field="acctgTransEntry">
|
|
<field-map field-name="acctgTransId"/>
|
|
<field-map field-name="acctgTransEntrySeqId" from-field="parameters.editAcctgTransEntrySeqId"/>
|
|
</entity-one>
|
|
<entity-and entity-name="AcctgTransEntry" list="acctgTransEntries">
|
|
<field-map field-name="acctgTransId"/>
|
|
<order-by field-name="acctgTransEntrySeqId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyGlDecorator" location="${parameters.partyGlDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="acctgTransId"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<include-menu name="EditGlAcctgTransSubTabBar" location="component://accounting/widget/AccountingMenus.xml"/>
|
|
<section>
|
|
<condition>
|
|
<if-compare field="acctgTrans.isPosted" operator="equals" value="Y"/>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.PageTitleViewTransaction}">
|
|
<include-form name="ViewAcctgTrans" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
<screenlet title="${uiLabelMap.PageTitleViewTransactionEntries}">
|
|
<include-form name="ViewAcctgTransEntries" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<screenlet title="${uiLabelMap.PageTitleEditTransaction}">
|
|
<include-form name="EditAcctgTrans" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
<screenlet title="${uiLabelMap.PageTitleEditTransactionEntries}">
|
|
<include-form name="ListAcctgTransEntries" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
<screenlet title="${uiLabelMap.PageTitleAddTransactionEntry}">
|
|
<include-form name="EditAcctgTransEntry" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</fail-widgets>
|
|
</section>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ListUnpostedAcctgTrans">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="titleProperty" value="PageTitleUnpostedTransactions"/>
|
|
<set field="tabButtonItem" value="FindAcctgTrans"/>
|
|
<set field="labelTitleProperty" from-field="uiLabelMap.PageTitleUnpostedTransactions"/>
|
|
<entity-condition entity-name="AcctgTrans" list="transactions">
|
|
<condition-expr field-name="isPosted" operator="not-equals" value="Y"/>
|
|
<order-by field-name="transactionDate"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyGlDecorator" location="${parameters.partyGlDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.PageTitleUnpostedTransactions}">
|
|
<include-form name="ListUnpostedAcctgTrans" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="ListChecksToPrint">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="titleProperty" value="AccountingPrintChecks"/>
|
|
<set field="tabButtonItem" value="ChecksTabButton"/>
|
|
<set field="tabButtonItem2" value="PrintChecksTabButton"/>
|
|
<set field="labelTitleProperty" from-field="uiLabelMap.AccountingPrintChecks"/>
|
|
|
|
<!-- find payments of paymentMethodType PERSONAL_CHECK or COMPANY_CHECK with statusId NOT_PAID -->
|
|
<entity-condition entity-name="Payment" list="payments">
|
|
<condition-list combine="and">
|
|
<condition-expr field-name="partyIdFrom" operator="equals" value="${groovy:parameters.get('ApplicationDecorator|organizationPartyId')}"/>
|
|
<condition-expr field-name="statusId" operator="equals" value="PMNT_NOT_PAID"/>
|
|
<condition-list combine="or">
|
|
<condition-expr field-name="paymentMethodTypeId" operator="equals" value="PERSONAL_CHECK"/>
|
|
<condition-expr field-name="paymentMethodTypeId" operator="equals" value="COMPANY_CHECK"/>
|
|
</condition-list>
|
|
</condition-list>
|
|
<order-by field-name="effectiveDate"/>
|
|
</entity-condition>
|
|
<script location="component://accounting/groovyScripts/admin/FilterOutReceipts.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminChecksDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="checks-body">
|
|
<section>
|
|
<condition><if-has-permission permission="ACCOUNTING" action="_PRINT_CHECKS"/></condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.AccountingPrintChecks}">
|
|
<include-form name="ListChecksToPrint" location="component://accounting/widget/PaymentForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3">${uiLabelMap.AccountingPrintChecksPermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListChecksToSend">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="titleProperty" value="AccountingSendChecks"/>
|
|
<set field="tabButtonItem" value="ChecksTabButton"/>
|
|
<set field="tabButtonItem2" value="SendChecksTabButton"/>
|
|
|
|
<!-- find payments of paymentMethodType PERSONAL_CHECK or COMPANY_CHECK with statusId NOT_PAID -->
|
|
<entity-condition entity-name="Payment" list="payments">
|
|
<condition-list combine="and">
|
|
<condition-expr field-name="partyIdFrom" operator="equals" value="${groovy:parameters.get('ApplicationDecorator|organizationPartyId')}"/>
|
|
<condition-expr field-name="statusId" operator="equals" value="PMNT_NOT_PAID"/>
|
|
<condition-list combine="or">
|
|
<condition-expr field-name="paymentMethodTypeId" operator="equals" value="PERSONAL_CHECK"/>
|
|
<condition-expr field-name="paymentMethodTypeId" operator="equals" value="COMPANY_CHECK"/>
|
|
</condition-list>
|
|
</condition-list>
|
|
<order-by field-name="effectiveDate"/>
|
|
</entity-condition>
|
|
<script location="component://accounting/groovyScripts/admin/FilterOutReceipts.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonAdminChecksDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="checks-body">
|
|
<section>
|
|
<condition>
|
|
<or>
|
|
<if-has-permission permission="ACCOUNTING" action="_UPDATE"/>
|
|
<if-has-permission permission="PAY_INFO" action="_UPDATE"/>
|
|
</or>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.AccountingSendChecks}">
|
|
<include-form name="ListChecksToSend" location="component://accounting/widget/PaymentForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3">${uiLabelMap.AccountingUpdatePaymentPermissionError}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="NewAcctgTrans">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="AccountingCreateAnAccountingTransaction"/>
|
|
<set field="tabButtonItem" value="FindAcctgTrans"/>
|
|
<set field="labelTitleProperty" value="AccountingCreateAnAccountingTransaction"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyGlDecorator" location="${parameters.partyGlDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.AccountingCreateAnAccountingTransaction}">
|
|
<include-form name="CreateAcctgTrans" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="FindGlAccountReconciliation">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="AccountingAcctRecon"/>
|
|
<set field="tabButtonItem" value="AccountReconciliation"/>
|
|
<set field="labelTitleProperty" value="AccountingAcctRecon"/>
|
|
<set field="glAccountId" from-field="parameters.glAccountId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyGlDecorator" location="${parameters.partyGlDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.AccountingAcctRecon}">
|
|
<include-form name="FindGlAccountReconciliation" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
<section>
|
|
<condition>
|
|
<if-compare field="parameters.performSearch" operator="equals" value="Y"/>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.AccountingAcctRecon}">
|
|
<include-form name="ListGlAccountReconciliation" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditGlReconciliation">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="AccountingEditAcctRecon"/>
|
|
<set field="tabButtonItem" from-field="parameters.tabButtonItem" global="true"/>
|
|
<set field="glReconciliationId" from-field="parameters.glReconciliationId" global="true"/>
|
|
<entity-one entity-name="GlReconciliation" value-field="glReconciliation"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyGlDecorator" location="${parameters.partyGlDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.AccountingEditAcctRecon}">
|
|
<include-form name="EditGlReconciliation" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
<screenlet title="${uiLabelMap.AccountingEditAcctRecon}">
|
|
<include-form name="ListGlReconciliationEntries" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="FindGlAccountReconciliations">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="AccountingAcctRecons"/>
|
|
<set field="tabButtonItem" value="AccountReconciliations"/>
|
|
<set field="labelTitleProperty" value="AccountingAcctRecons"/>
|
|
<set field="glAccountId" from-field="parameters.glAccountId"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonPartyGlDecorator" location="${parameters.partyGlDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.AccountingAcctRecons}">
|
|
<include-form name="FindGlAccountReconciliations" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
<section>
|
|
<condition>
|
|
<if-compare field="parameters.performSearch" operator="equals" value="Y"/>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.AccountingAcctRecons}">
|
|
<include-form name="ListGlAccountReconciliations" location="component://accounting/widget/GlForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="AcctgTransSearchResultsCsv">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
</actions>
|
|
<widgets>
|
|
<container>
|
|
<include-form name="AcctgTransSearchResultsCsv" location="component://accounting/widget/GlForms.xml"/>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="AcctgTransEntriesSearchResultsCsv">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
</actions>
|
|
<widgets>
|
|
<container>
|
|
<include-form name="AcctgTransEntriesSearchResultsCsv" location="component://accounting/widget/GlForms.xml"/>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="AcctgTransEntriesSearchResultsPdf">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="WorkEffortUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<entity-condition entity-name="AcctgTransAndEntries" list="acctgTransEntryList">
|
|
<condition-list>
|
|
<condition-expr field-name="organizationPartyId" operator="equals" value="${groovy:parameters.get('ApplicationDecorator|organizationPartyId')}"/>
|
|
<condition-expr field-name="glAccountId" operator="equals" from-field="parameters.glAccountId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="acctgTransTypeId" operator="equals" from-field="parameters.acctgTransTypeId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="glFiscalTypeId" operator="equals" from-field="parameters.glFiscalTypeId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="glJournalId" operator="equals" from-field="parameters.glJournalId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="isPosted" operator="equals" from-field="parameters.isPosted" ignore-if-empty="true"/>
|
|
<condition-expr field-name="partyId" operator="equals" from-field="parameters.partyId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="invoiceId" operator="equals" from-field="parameters.invoiceId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="paymentId" operator="equals" from-field="parameters.paymentId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="productId" operator="equals" from-field="parameters.productId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="workEffortId" operator="equals" from-field="parameters.workEffortId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="shipmentId" operator="equals" from-field="parameters.shipmentId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="acctgTransId" operator="equals" from-field="parameters.acctgTransId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="transactionDate" operator="greater-equals" from-field="parameters.fromDate" ignore-if-empty="true"/>
|
|
<condition-expr field-name="transactionDate" operator="less" from-field="parameters.thruDate" ignore-if-empty="true"/>
|
|
</condition-list>
|
|
<order-by field-name="-transactionDate"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific>
|
|
<xsl-fo>
|
|
<html-template location="component://accounting/template/reports/AcctgTransEntriesSearchResult.fo.ftl"/>
|
|
</xsl-fo>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="AcctgTransSearchResultPdf">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="WorkEffortUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<entity-condition entity-name="AcctgTransAndEntries" list="acctgTransList" distinct="true" >
|
|
<condition-list>
|
|
<condition-expr field-name="organizationPartyId" operator="equals" value="${groovy:parameters.get('ApplicationDecorator|organizationPartyId')}"/>
|
|
<condition-expr field-name="acctgTransTypeId" operator="equals" from-field="parameters.acctgTransTypeId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="glFiscalTypeId" operator="equals" from-field="parameters.glFiscalTypeId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="glJournalId" operator="equals" from-field="parameters.glJournalId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="isPosted" operator="equals" from-field="parameters.isPosted" ignore-if-empty="true"/>
|
|
<condition-expr field-name="invoiceId" operator="equals" from-field="parameters.invoiceId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="paymentId" operator="equals" from-field="parameters.paymentId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="productId" operator="equals" from-field="parameters.productId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="workEffortId" operator="equals" from-field="parameters.workEffortId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="shipmentId" operator="equals" from-field="parameters.shipmentId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="acctgTransId" operator="equals" from-field="parameters.acctgTransId" ignore-if-empty="true"/>
|
|
<condition-expr field-name="transactionDate" operator="greater-equals" from-field="parameters.fromDate" ignore-if-empty="true"/>
|
|
<condition-expr field-name="transactionDate" operator="less" from-field="parameters.thruDate" ignore-if-empty="true"/>
|
|
</condition-list>
|
|
<select-field field-name="acctgTransId"/>
|
|
<select-field field-name="transactionDate"/>
|
|
<select-field field-name="acctgTransTypeId"/>
|
|
<select-field field-name="glFiscalTypeId"/>
|
|
<select-field field-name="invoiceId"/>
|
|
<select-field field-name="paymentId"/>
|
|
<select-field field-name="workEffortId"/>
|
|
<select-field field-name="shipmentId"/>
|
|
<select-field field-name="isPosted"/>
|
|
<select-field field-name="postedDate"/>
|
|
<order-by field-name="-transactionDate"/>
|
|
</entity-condition>
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific>
|
|
<xsl-fo>
|
|
<html-template location="component://accounting/template/reports/AcctgTransSearchResult.fo.ftl"/>
|
|
</xsl-fo>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="AcctgTransDetailReportPdf">
|
|
<section>
|
|
<actions>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<set field="acctgTransId" from-field="parameters.acctgTransId"/>
|
|
<entity-one entity-name="AcctgTrans" value-field="acctgTrans"/>
|
|
<entity-and entity-name="AcctgTransEntry" list="acctgTransEntries">
|
|
<field-map field-name="acctgTransId"/>
|
|
<order-by field-name="acctgTransEntrySeqId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="SimpleDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<decorator-section name="body">
|
|
<include-form name="AcctgTransDetailReportPdf" location="component://accounting/widget/GlForms.xml"/>
|
|
<include-form name="AcctgTransEntriesDetailReportPdf" location="component://accounting/widget/GlForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens>
|