ilscipio/scipio-erp

View on GitHub
applications/accounting/webapp/ar/WEB-INF/controller.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd">
    <include location="component://common/webcommon/WEB-INF/common-controller.xml"/>
    <include location="component://accounting/webapp/accounting/WEB-INF/controller.xml"/>
    <description>Accounting Manager Module Site Configuration File (DEPRECATED)</description>

    <!-- SCIPIO: DEPRECATED: AR is now integrated into Accounting webapp.
        This controller is unused, its definitions are unmaintained and the view locations may be invalid. -->

    <!-- Request Mappings -->
    <request-map uri="main">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="main"/>
    </request-map>
    <!-- SCIPIO: view is commented
    <request-map uri="ListReports">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="ListReports"/>
    </request-map>
    <request-map uri="findPayments">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="FindPayments"/>
    </request-map>
    -->
    <request-map uri="batchPayments">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="BatchPayments"/>
    </request-map>
    <request-map uri="createPaymentBatch">
        <security https="true" auth="true"/>
        <event type="service" invoke="depositWithdrawPayments"/>
        <response name="success" type="view" value="PaymentGroupOverview"/>
        <response name="error" type="view" value="BatchPayments"/>
    </request-map>
    <request-map uri="newPayment">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="NewIncomingPayment"/>
    </request-map>
    <request-map uri="createPayment">
        <security https="true" auth="true"/>
        <event type="service" invoke="createPaymentAndFinAccountTrans"/>
        <response name="success" type="view" value="editPayment"/>
        <response name="error" type="view" value="NewIncomingPayment"/>
    </request-map>
    <request-map uri="findInvoices">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="FindArInvoices"/>
    </request-map>
    <request-map uri="newInvoice">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="NewSalesInvoice"/>
    </request-map>
    <request-map uri="createInvoice">
        <security https="true" auth="true"/>
        <event type="service" invoke="createInvoice"/>
        <response name="success" type="request" value="editInvoice"/>
        <response name="error" type="view" value="NewSalesInvoice"/>
    </request-map>
    <request-map uri="FindArInvoices">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="FindArInvoices"/>
    </request-map>
    <request-map uri="NewSalesInvoice">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="NewSalesInvoice"/>
    </request-map>
    <request-map uri="FindArPaymentGroups">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="FindArPaymentGroups"/>
    </request-map>
    <request-map uri="massChangePaymentStatus">
        <security https="true" auth="true"/>
        <event type="service" invoke="massChangePaymentStatus"/>
        <response name="success" type="view" value="BatchPayments"/>
        <response name="error" type="view" value="BatchPayments"/>
    </request-map>
    <request-map uri="massChangeInvoiceStatus">
        <security https="true" auth="true"/>
        <event type="service" invoke="massChangeInvoiceStatus"/>
        <response name="success" type="view" value="FindArInvoices"/>
        <response name="error" type="view" value="FindArInvoices"/>
    </request-map>
    <request-map uri="cancelPaymentGroup">
        <security https="true" auth="true"/>
        <event type="service" invoke="cancelPaymentBatch"/>
        <response name="success" type="view" value="PaymentGroupOverview"/>
        <response name="error" type="view" value="FindArPaymentGroups"/>
    </request-map>
    <!-- end of request mappings -->

    <!-- View Mappings -->
    <!-- SCIPIO: these locations are now invalid
    <view-map name="main" type="screen" page="component://accounting/widget/ar/CommonScreens.xml#main"/>
    <view-map name="ListReports" type="screen" page="component://accounting/widget/ar/InvoiceScreens.xml#ListReports"/>
    <view-map name="FindPayments" type="screen" page="component://accounting/widget/ar/ArPaymentScreens.xml#FindPayments"/>
    <view-map name="BatchPayments" type="screen" page="component://accounting/widget/ar/ArPaymentScreens.xml#BatchPayments"/>
    <view-map name="FindArPaymentGroups" type="screen" page="component://accounting/widget/ar/ArPaymentScreens.xml#FindArPaymentGroups"/>
    <view-map name="NewIncomingPayment" type="screen" page="component://accounting/widget/ar/ArPaymentScreens.xml#NewIncomingPayment"/>

    <view-map name="FindArInvoices" type="screen" page="component://accounting/widget/ar/InvoiceScreens.xml#FindArInvoices"/>
    <view-map name="NewSalesInvoice" type="screen" page="component://accounting/widget/ar/InvoiceScreens.xml#NewSalesInvoice"/>

    <view-map name="LookupInvoice" type="screen" page="component://accounting/widget/ar/LookupScreens.xml#LookupInvoice"/>
    <view-map name="LookupPayment" type="screen" page="component://accounting/widget/ar/LookupScreens.xml#LookupPayment"/>
    -->

    <!-- end of view mappings -->
</site-conf>