Files
ofbiz-framework/applications/accounting/widget/Menus.xml
T

586 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.
-->
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
<menu name="InvoiceTabBar" menu-container-style="button-bar tab-bar" default-selected-style="selected" type="simple" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="invoiceOverview" title="${uiLabelMap.AccountingInvoiceOverview}">
<condition>
<not><if-empty field-name="invoice.invoiceId"/></not>
</condition>
<link target="invoiceOverview?invoiceId=${invoice.invoiceId}"/>
</menu-item>
<menu-item name="editInvoice" title="${uiLabelMap.AccountingInvoiceHeader}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_IN_PROCESS"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_SENT"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_RECEIVED"/>
</or>
</and>
</condition>
<link target="editInvoice?invoiceId=${invoice.invoiceId}"/>
</menu-item>
<menu-item name="listInvoiceItems" title="${uiLabelMap.AccountingInvoiceItems}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_IN_PROCESS"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_SENT"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_RECEIVED"/>
</or>
</and>
</condition>
<link target="listInvoiceItems?invoiceId=${invoice.invoiceId}"/>
</menu-item>
<menu-item name="EditInvoiceTimeEntries" title="${uiLabelMap.AccountingInvoiceTimeEntries}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_IN_PROCESS"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_SENT"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_RECEIVED"/>
</or>
</and>
</condition>
<link target="editInvoiceTimeEntries?invoiceId=${invoice.invoiceId}"/>
</menu-item>
<menu-item name="invoiceRoles" title="${uiLabelMap.AccountingInvoiceRoles}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_IN_PROCESS"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_SENT"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_RECEIVED"/>
</or>
</and>
</condition>
<link target="invoiceRoles?invoiceId=${invoice.invoiceId}"/>
</menu-item>
<menu-item name="editInvoiceApplications" title="${uiLabelMap.AccountingApplications}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_IN_PROCESS"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_SENT"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_RECEIVED"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_APPROVED"/>
</or>
</and>
</condition>
<link target="editInvoiceApplications?invoiceId=${invoice.invoiceId}"/>
</menu-item>
<menu-item name="sendPerEmail" title="${uiLabelMap.CommonSendPerEmail}">
<condition>
<not><if-empty field-name="invoice.invoiceId"/></not>
</condition>
<link target="sendPerEmail?invoiceId=${invoice.invoiceId}&amp;other=Y"/><!-- always try to send in the currency of the recipient -->
</menu-item>
</menu>
<menu name="InvoiceSubTabBar" menu-container-style="button-bar button-style-2" default-selected-style="selected">
<menu-item name="createNew" title="${uiLabelMap.CommonCreateNew}" >
<link target="newInvoice"/>
</menu-item>
<menu-item name="copyInvoice" title="${uiLabelMap.CommonCopy}">
<condition>
<not><if-empty field-name="invoice.invoiceId"/></not>
</condition>
<link target="copyInvoice?invoiceIdToCopyFrom=${invoiceId}"/>
</menu-item>
<menu-item name="pdf" title="${uiLabelMap.AccountingInvoicePDF}">
<condition>
<not><if-empty field-name="invoice.invoiceId"/></not>
</condition>
<link target="invoice.pdf?invoiceId=${invoice.invoiceId}" target-window="_BLANK"/>
</menu-item>
<menu-item name="pdfOtherCur" title="${uiLabelMap.AccountingInvoicePDFOtherCur}">
<condition>
<not><if-empty field-name="invoice.invoiceId"/></not>
</condition>
<link target="invoice.pdf?invoiceId=${invoice.invoiceId}&amp;other=Y" target-window="_BLANK"/>
</menu-item>
<menu-item name="statusToApproved" title="${uiLabelMap.AccountingInvoiceStatusToApproved}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_IN_PROCESS"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_RECEIVED"/>
</or>
</and>
</condition>
<link target="setInvoiceStatus?invoiceId=${invoice.invoiceId}&amp;statusId=INVOICE_APPROVED"/>
</menu-item>
<menu-item name="statusToReceived" title="${uiLabelMap.AccountingInvoiceStatusToReceived}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_IN_PROCESS"/>
<or>
<if-compare field-name="invoice.invoiceTypeId" operator="equals" value="PURCHASE_INVOICE"/>
<if-compare field-name="invoice.invoiceTypeId" operator="equals" value="CUST_RTN_INVOICE"/>
</or>
</and>
</condition>
<link target="setInvoiceStatus?invoiceId=${invoice.invoiceId}&amp;statusId=INVOICE_RECEIVED"/>
</menu-item>
<menu-item name="statusToSent" title="${uiLabelMap.AccountingInvoiceStatusToSent}">
<condition>
<or>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_IN_PROCESS"/>
<if-compare field-name="invoice.invoiceTypeId" operator="equals" value="SALES_INVOICE"/>
</and>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_APPROVED"/>
<if-compare field-name="invoice.invoiceTypeId" operator="equals" value="SALES_INVOICE"/>
</and>
</or>
</condition>
<link target="setInvoiceStatus?invoiceId=${invoice.invoiceId}&amp;statusId=INVOICE_SENT"/>
</menu-item>
<menu-item name="statusToReady" title="${uiLabelMap.AccountingInvoiceStatusToReady}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_IN_PROCESS"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_SENT"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_RECEIVED"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_APPROVED"/>
</or>
</and>
</condition>
<link target="setInvoiceStatus?invoiceId=${invoice.invoiceId}&amp;statusId=INVOICE_READY"/>
</menu-item>
<menu-item name="statusToPaid" title="${uiLabelMap.AccountingInvoiceStatusToPaid}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_READY"/>
</or>
</and>
</condition>
<link target="setInvoiceStatus?invoiceId=${invoice.invoiceId}&amp;statusId=INVOICE_PAID"/>
</menu-item>
<menu-item name="statusToWriteoff" title="${uiLabelMap.AccountingInvoiceStatusToWriteoff}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_READY"/>
</or>
</and>
</condition>
<link target="javascript:confirmActionLink('You want to writeoff this invoice number ${invoice.invoiceId}?','setInvoiceStatus?invoiceId=${invoice.invoiceId}&amp;statusId=INVOICE_WRITEOFF')" url-mode="plain"/>
</menu-item>
<menu-item name="statusToInProcess" title="${uiLabelMap.AccountingInvoiceStatusToInProcess}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_SENT"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_RECEIVED"/>
</or>
</and>
</condition>
<link target="setInvoiceStatus?invoiceId=${invoice.invoiceId}&amp;statusId=INVOICE_IN_PROCESS"/>
</menu-item>
<menu-item name="statusToCancelled" title="${uiLabelMap.AccountingInvoiceStatusToCancelled}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_IN_PROCESS"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_SENT"/>
<if-compare field-name="invoice.statusId" operator="equals" value="INVOICE_RECEIVED"/>
</or>
</and>
</condition>
<link target="javascript:confirmActionLink('You want to cancel this invoice number ${invoice.invoiceId}?','setInvoiceStatus?invoiceId=${invoice.invoiceId}&amp;statusId=INVOICE_CANCELLED')" url-mode="plain"/>
</menu-item>
<menu-item name="saveInvoiceAsTemplate" title="${uiLabelMap.ProjectMgrSaveAsTemplate}">
<condition>
<and>
<not><if-empty field-name="invoice.invoiceId"/></not>
<or>
<if-compare field-name="invoice.invoiceTypeId" operator="equals" value="SALES_INVOICE"/>
<if-compare field-name="invoice.invoiceTypeId" operator="equals" value="PURCHASE_INVOICE"/>
</or>
</and>
</condition>
<link target="copyInvoiceToTemplate?invoiceId=${invoice.invoiceId}&amp;invoiceTypeId=${invoice.invoiceTypeId}"/>
</menu-item>
</menu>
<menu name="PaymentTabBar" menu-container-style="button-bar tab-bar" default-selected-style="selected" type="simple" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="find" title="${uiLabelMap.CommonFind}" >
<condition>
<if-compare field-name="tabButtonItem" operator="not-equals" value="find"/>
</condition>
<link target="findPayments"/>
</menu-item>
<menu-item name="paymentOverview" title="${uiLabelMap.AccountingPaymentTabOverview}">
<condition>
<not><if-empty field-name="payment.paymentId"/></not>
</condition>
<link target="paymentOverview?paymentId=${payment.paymentId}"/>
</menu-item>
<menu-item name="editPayment" title="${uiLabelMap.AccountingPaymentTabHeader}">
<condition>
<and>
<not><if-empty field-name="payment.paymentId"/></not>
<or>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_NOT_PAID"/>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_RECEIVED"/>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_SENT"/>
</or>
</and>
</condition>
<link target="editPayment?paymentId=${payment.paymentId}"/>
</menu-item>
<menu-item name="editPaymentApplications" title="${uiLabelMap.AccountingPaymentTabApplications}">
<condition>
<and>
<not><if-empty field-name="payment.paymentId"/></not>
<or>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_NOT_PAID"/>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_RECEIVED"/>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_SENT"/>
</or>
</and>
</condition>
<link target="editPaymentApplications?paymentId=${payment.paymentId}"/>
</menu-item>
</menu>
<menu name="PaymentSubTabBar" menu-container-style="button-bar button-style-2" default-selected-style="selected">
<actions>
<set field="isDisbursement" value="${bsh:org.ofbiz.accounting.util.UtilAccounting.isDisbursement(payment)}"/>
</actions>
<menu-item name="createNew" title="${uiLabelMap.CommonCreateNew}">
<condition>
<not><if-empty field-name="payment.paymentId"/></not>
</condition>
<link target="newPayment"/>
</menu-item>
<menu-item name="statusToSend" title="${uiLabelMap.AccountingPaymentTabStatusToSent}">
<condition>
<and>
<not><if-empty field-name="payment.paymentId"/></not>
<if-compare field-name="isDisbursement" operator="equals" value="true"/>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_NOT_PAID"/>
</and>
</condition>
<link target="setPaymentStatus?paymentId=${payment.paymentId}&amp;statusId=PMNT_SENT"/>
</menu-item>
<menu-item name="statusToReceived" title="${uiLabelMap.AccountingPaymentTabStatusToReceived}">
<condition>
<and>
<not><if-empty field-name="payment.paymentId"/></not>
<if-compare field-name="isDisbursement" operator="equals" value="false"/>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_NOT_PAID"/>
</and>
</condition>
<link target="setPaymentStatus?paymentId=${payment.paymentId}&amp;statusId=PMNT_RECEIVED"/>
</menu-item>
<menu-item name="statusToCancelled" title="${uiLabelMap.AccountingPaymentTabStatusToCancelled}">
<condition>
<and>
<not><if-empty field-name="payment.paymentId"/></not>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_NOT_PAID"/>
</and>
</condition>
<link target="javascript:confirmActionLink('You want to cancel this payment number ${payment.paymentId}?','setPaymentStatus?paymentId=${payment.paymentId}&amp;statusId=PMNT_CANCELLED')" url-mode="plain"/>
</menu-item>
<menu-item name="statusToConfirmed" title="${uiLabelMap.AccountingPaymentTabStatusToConfirmed}">
<condition>
<and>
<not><if-empty field-name="payment.paymentId"/></not>
<or>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_RECEIVED"/>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_SENT"/>
</or>
</and>
</condition>
<link target="setPaymentStatus?paymentId=${payment.paymentId}&amp;statusId=PMNT_CONFIRMED"/>
</menu-item>
<menu-item name="printAsCheck" title="${uiLabelMap.AccountingPrintAsCheck}">
<condition>
<and>
<not><if-empty field-name="payment.paymentId"/></not>
<if-compare field-name="payment.statusId" operator="equals" value="PMNT_NOT_PAID"/>
</and>
</condition>
<link target="printChecks.pdf?paymentId=${payment.paymentId}"/>
</menu-item>
</menu>
<menu name="FixedAssetMaintTabBar" selected-menuitem-context-field-name="tabButtonItemFixedAssetMaint" default-menu-item-name="EditFixedAssetMaint"
menu-container-style="button-bar tab-bar" type="simple">
<menu-item name="EditFixedAssetMaint" title="${uiLabelMap.AccountingFixedAssetMaint}">
<link target="EditFixedAssetMaint?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}"/>
</menu-item>
<menu-item name="EditFixedAssetMeters" title="${uiLabelMap.AccountingFixedAssetMeters}">
<link target="EditFixedAssetMeters?fixedAssetId=${fixedAssetId}&amp;maintHistSeqId=${maintHistSeqId}&amp;productMeterTypeId=${fixedAssetMaint.intervalMeterTypeId}"/>
</menu-item>
<menu-item name="EditFixedAssetMaintOrders" title="${uiLabelMap.AccountingFixedAssetMaintOrders}">
<link target="EditFixedAssetMaintOrders?fixedAssetId=${fixedAssetMaint.fixedAssetId}&amp;maintHistSeqId=${fixedAssetMaint.maintHistSeqId}"/>
</menu-item>
</menu>
<menu name="FixedAssetTabBar" default-menu-item-name="EditFixedAsset" default-selected-style="selected"
menu-container-style="button-bar tab-bar" type="simple" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="EditFixedAsset" title="${uiLabelMap.AccountingFixedAsset}">
<link target="EditFixedAsset?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="FixedAssetChildren" title="${uiLabelMap.CommonEntityChildren}">
<link target="FixedAssetChildren?fixedAssetId=${fixedAssetId}&amp;trail=${fixedAssetId}"/>
</menu-item>
<menu-item name="ListFixedAssetProducts" title="${uiLabelMap.AccountingFixedAssetProducts}">
<link target="ListFixedAssetProducts?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="ListFixedAssetCalendar" title="${uiLabelMap.AccountingFixedAssetCalendar}">
<link target="month?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="EditFixedAssetStdCosts" title="${uiLabelMap.AccountingFixedAssetStdCosts}">
<link target="EditFixedAssetStdCosts?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="EditFixedAssetIdents" title="${uiLabelMap.AccountingFixedAssetIdents}">
<link target="EditFixedAssetIdents?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="EditFixedAssetRegistrations" title="${uiLabelMap.AccountingFixedAssetRegistrations}">
<link target="EditFixedAssetRegistrations?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="EditFixedAssetMeters" title="${uiLabelMap.AccountingFixedAssetMeters}">
<link target="EditFixedAssetMeters?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="ListFixedAssetMaints" title="${uiLabelMap.AccountingFixedAssetMaints}">
<link target="ListFixedAssetMaints?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="EditPartyFixedAssetAssignments" title="${uiLabelMap.AccountingPartyFixedAssetAssignments}">
<link target="EditPartyFixedAssetAssignments?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="FixedAssetDepreciation" title="${uiLabelMap.AccountingFixedAssetDepreciation}">
<link target="showFixedAssetDepreciation?fixedAssetId=${fixedAssetId}"/>
</menu-item>
</menu>
<menu name="FixedAssetCalendarTabBar" selected-menuitem-context-field-name="parameters.viewMode"
type="simple" default-selected-style="selected" menu-container-style="button-bar tab-bar">
<menu-item name="D" title="${uiLabelMap.CommonDay}">
<link target="day?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="W" title="${uiLabelMap.CommonWeek}">
<link target="week?fixedAssetId=${fixedAssetId}"/>
</menu-item>
<menu-item name="M" title="${uiLabelMap.CommonMonth}">
<link target="month?fixedAssetId=${fixedAssetId}"/>
</menu-item>
</menu>
<menu name="FinAccountTabBar" default-menu-item-name="EditFinAccount" default-selected-style="selected"
menu-container-style="button-bar tab-bar" type="simple" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="EditFinAccount" title="${uiLabelMap.AccountingFinAccount}">
<link target="EditFinAccount?finAccountId=${finAccountId}"/>
</menu-item>
<menu-item name="EditFinAccountRoles" title="${uiLabelMap.PartyRoles}">
<link target="EditFinAccountRoles?finAccountId=${finAccountId}"/>
</menu-item>
<menu-item name="EditFinAccountTrans" title="${uiLabelMap.AccountingFinAccountTransations}">
<link target="EditFinAccountTrans?finAccountId=${finAccountId}"/>
</menu-item>
<menu-item name="EditFinAccountAuths" title="${uiLabelMap.AccountingFinAccountAuth}">
<link target="EditFinAccountAuths?finAccountId=${finAccountId}"/>
</menu-item>
</menu>
<menu name="PartyTopTabBar" selected-menuitem-context-field-name="tabButtonItemTop" default-menu-item-name="PartyAccountsSummary" default-selected-style="selected"
menu-container-style="button-bar tab-bar" type="simple">
<menu-item name="Admin" title="${uiLabelMap.AccountingSetup}">
<condition>
<if-service-permission service-name="acctgPrefPermissionCheck" main-action="UPDATE"/>
</condition>
<link target="AdminMain?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="PartyAccounts" title="${uiLabelMap.AccountingAccounting}">
<condition>
<if-service-permission service-name="basicGeneralLedgerPermissionCheck" main-action="VIEW"/>
</condition>
<link target="PartyAccountsSummary?organizationPartyId=${organizationPartyId}"/>
</menu-item>
</menu>
<menu name="OrganizationAccountingTabBar" default-menu-item-name="PartyAccountsSummary" default-selected-style="selected"
menu-container-style="button-bar tab-bar" type="simple" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="PartyAccountsSummary" title="${uiLabelMap.AcctgPartyGlJournalSummary}">
<link target="PartyAccountsSummary?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="AccountReconciliation" title="${uiLabelMap.AccountingAcctRecon}">
<link target="findGlAccountReconciliation?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="AccountReconciliations" title="${uiLabelMap.AccountingAcctRecons}">
<link target="findGlAccountReconciliations?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="FindAcctgTrans" title="${uiLabelMap.AccountingAcctgTranss}">
<link target="FindAcctgTrans?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="FindAcctgTransEntries" title="${uiLabelMap.AccountingAcctgTransEntries}">
<link target="FindAcctgTransEntries?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="OrganizationAccountingReports" title="${uiLabelMap.AccountingReports}">
<link target="TrialBalance?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="ChecksTabButton" title="${uiLabelMap.AccountingChecks}">
<link target="listChecksToPrint?organizationPartyId=${organizationPartyId}"/>
</menu-item>
</menu>
<menu name="OrganizationAccountingReportsTabBar" selected-menuitem-context-field-name="tabButtonItem2" default-menu-item-name="TrialBalance" default-selected-style="selected"
menu-container-style="button-bar tab-bar" type="simple">
<menu-item name="TrialBalance" title="${uiLabelMap.AccountingTrialBalance}">
<link target="TrialBalance?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="IncomeStatement" title="${uiLabelMap.AccountingIncomeStatement}">
<link target="IncomeStatement?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="BalanceSheet" title="${uiLabelMap.AccountingBalanceSheet}">
<link target="BalanceSheet?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="ComparativeBalanceSheet" title="${uiLabelMap.AccountingComparativeBalanceSheet}">
<link target="ComparativeBalanceSheet?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="TransactionTotals" title="${uiLabelMap.AccountingTransactionTotals}">
<link target="TransactionTotals?organizationPartyId=${organizationPartyId}"/>
</menu-item>
</menu>
<menu name="PartyAdminTabBar" default-menu-item-name="PartyAcctgPreference" default-selected-style="selected"
menu-container-style="button-bar tab-bar" type="simple" selected-menuitem-context-field-name="tabButtonItem">
<menu-item name="PartyAcctgPreference" title="${uiLabelMap.AccountingPreference}">
<link target="PartyAcctgPreference?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="ListGlAccountOrganization" title="${uiLabelMap.AccountingChartOfAcctsMenu}">
<link target="ListGlAccountOrganization?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="SetupGlJournals" title="${uiLabelMap.AccountingGlJournals}">
<link target="SetupGlJournals?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="GlAccountAssignment" title="${uiLabelMap.AccountingGlAccountDefault}">
<link target="GlAccountAssignment?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="TimePeriods" title="${uiLabelMap.TimePeriod}">
<link target="TimePeriods?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="ViewFXConversions" title="${uiLabelMap.AccountingFX}">
<condition>
<if-service-permission service-name="acctgFxPermissionCheck" main-action="UPDATE"/>
</condition>
<link target="viewFXConversions?organizationPartyId=${organizationPartyId}"/>
</menu-item>
</menu>
<menu name="PartyAdminAssignTabBar" selected-menuitem-context-field-name="tabButtonItem2" default-menu-item-name="GlAccountSalInvoice" default-selected-style="selected"
menu-container-style="button-bar tab-bar" type="simple">
<menu-item name="GlAccountTypeDefaults" title="${uiLabelMap.AccountingGlAccountTypeDefaults}">
<link target="GlAccountTypeDefaults?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="ProductGlAccounts" title="${uiLabelMap.AccountingProductGlAccount}">
<link target="editProductGlAccounts?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="ProductCategoryGlAccounts" title="${uiLabelMap.AccountingProductCategoryGlAccount}">
<link target="editProductCategoryGlAccounts?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="FinAccountTypeGlAccounts" title="${uiLabelMap.AccountingFinAccountTypeGlAccount}">
<link target="editFinAccountTypeGlAccounts?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="GlAccountSalInvoice" title="${uiLabelMap.AccountingInvoiceSales}">
<link target="GlAccountSalInvoice?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="GlAccountPurInvoice" title="${uiLabelMap.AccountingInvoicePurchase}">
<link target="GlAccountPurInvoice?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="GlAccountTypePaymentType" title="${uiLabelMap.AccountingPaymentType}/${uiLabelMap.FormFieldTitle_glAccountTypeId}">
<link target="GlAccountTypePaymentType?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="GlAccountNrPaymentMethod" title="${uiLabelMap.AccountingPaymentMethodId}/${uiLabelMap.AccountingGlAccountId}">
<link target="GlAccountNrPaymentMethod?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="VarianceReasonGlAccounts" title="${uiLabelMap.AccountingVarianceReasonGlAccounts}">
<link target="editVarianceReasonGlAccounts?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="CreditCardTypeGlAccount" title="${uiLabelMap.AccountingCreditCardTypeGlAccount}">
<link target="editCreditCardTypeGlAccounts?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="TaxAuthorityGlAccounts" title="${uiLabelMap.AccountingTaxAuthorityGlAccounts}">
<link target="editOrganizationTaxAuthorityGlAccount?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="PartyGlAccounts" title="${uiLabelMap.AccountingPartyGlAccounts}">
<link target="editPartyGlAccounts?organizationPartyId=${organizationPartyId}"/>
</menu-item>
</menu>
<menu name="PartyAccountingChecksTabBar" selected-menuitem-context-field-name="tabButtonItem2" default-menu-item-name="GlAccountSalInvoice" default-selected-style="selected"
menu-container-style="button-bar tab-bar" type="simple">
<menu-item name="PrintChecksTabButton" title="${uiLabelMap.AccountingPrintChecks}">
<link target="listChecksToPrint?organizationPartyId=${organizationPartyId}"/>
</menu-item>
<menu-item name="SendChecksTabButton" title="${uiLabelMap.AccountingSendChecks}">
<link target="listChecksToSend?organizationPartyId=${organizationPartyId}"/>
</menu-item>
</menu>
<menu name="GlobalGLSettingMenus" selected-menuitem-context-field-name="tabButtonItem" default-menu-item-name="chartofaccounts"
menu-container-style="button-bar tab-bar" default-selected-style="selected">
<menu-item name="Chartofaccounts" title="${uiLabelMap.AccountingChartOfAcctsMenu}">
<link target="FindGlobalGlAccount"/>
</menu-item>
<menu-item name="Costs" title="${uiLabelMap.ManufacturingCostCalcs}">
<link target="EditCostCalcs"/>
</menu-item>
<menu-item name="PaymentMethodTypes" title="${uiLabelMap.AccountingPaymentMethodType}">
<link target="editPaymentMethodType"/>
</menu-item>
<menu-item name="InvoiceItemTypes" title="${uiLabelMap.AccountingInvoiceItemType}">
<link target="editInvoiceItemType"/>
</menu-item>
</menu>
<menu name="AgreementTabBar" menu-container-style="button-bar tab-bar" default-selected-style="selected">
<menu-item name="createNewAgreement" title="${uiLabelMap.AccountingNewAgreement}">
<link target="EditAgreement"/>
</menu-item>
</menu>
</menus>