ilscipio/scipio-erp

View on GitHub
applications/order/data/OrderPortletData.xml

Summary

Maintainability
Test Coverage
<?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.
-->
<entity-engine-xml>

    <!-- customer requests -->
    <PortletCategory portletCategoryId="CUST_REQUEST" description="Customer Requests"/>
    <PortalPortlet portalPortletId="INCOM_CUST_REQUESTS"
        portletName="Incoming Cust.Requests"
        screenName="IncomingCustRequests"
        screenLocation="component://order/widget/ordermgr/CustRequestScreens.xml"
        description="List Request List for a request taker" securityServiceName="portalPermissionIsEmployee" securityMainAction="VIEW"
        screenshot="/images/portlets/INCOM_CUST_REQUESTS.png"/>
    <PortletPortletCategory portalPortletId="INCOM_CUST_REQUESTS" portletCategoryId="CUST_REQUEST"/>
    <PortalPortlet portalPortletId="ViewCustRequest"
        portletName="View a specific customer request"
        screenName="ViewCustRequest"
        screenLocation="component://order/widget/ordermgr/CustRequestScreens.xml"
        description="View your own customer request inclusive of notes"/>
    <PortletPortletCategory portalPortletId="ViewCustRequest" portletCategoryId="CUST_REQUEST"/>
    
    <PortletCategory portletCategoryId="LIST_CUSTOMER" description="List(s) used by a Customer"/>
    <PortalPortlet portalPortletId="ListCustRequests"
        portletName="List Cust Requests for a customer"
        screenName="ListCustRequests"
        screenLocation="component://order/widget/ordermgr/CustRequestScreens.xml"
        description="List Cust Requests to the customer" securityServiceName="portalPermissionIsCustomer" securityMainAction="VIEW"
        editFormName="EditCustReqStatusId"
        editFormLocation="component://order/widget/ordermgr/CustRequestForms.xml"/>
    <PortletPortletCategory portalPortletId="ListCustRequests" portletCategoryId="LIST_CUSTOMER"/>
    
    <!--List of order(s) placed by a customer in order -->
    <PortletCategory portletCategoryId="ORDERMGR" description="List of order(s)"/>
    <PortalPortlet portalPortletId="ListCustomerOrders"
        portletName="List Customer Orders"
        screenName="ListCustomerOrders"
        screenLocation="component://order/widget/ordermgr/OrderViewScreens.xml"
        description="List Orders placed by customer" securityServiceName="portalPermissionIsCustomer" securityMainAction="VIEW"
        editFormName="EditOrderByCustomer"
        editFormLocation="component://order/widget/ordermgr/OrderForms.xml"/>
    <PortletPortletCategory portalPortletId="ListCustomerOrders" portletCategoryId="ORDERMGR"/>
    
    <!-- List Todays Order -->
    <PortalPortlet portalPortletId="ListSalesOrders"
        portletName="List Sales Orders By Date"
        screenName="ListSalesOrders"
        screenLocation="component://order/widget/ordermgr/OrderViewScreens.xml"
        description="List Sales Orders placed today" securityServiceName="portalPermissionIsEmployee" securityMainAction="VIEW"/>
    <PortletPortletCategory portalPortletId="ListSalesOrders" portletCategoryId="ORDERMGR"/>
    
    <PortalPage portalPageId="OrderPortalPage" sequenceNum="0" portalPageName="Order Portal Page" description="Order main page using flexible Portal technology" ownerUserLoginId="_NA_"/>
    <PortalPageColumn portalPageId="OrderPortalPage" columnSeqId="00001"/>
    <PortalPageColumn portalPageId="OrderPortalPage" columnSeqId="00002"/>

    <PortalPagePortlet portalPageId="OrderPortalPage" portalPortletId="ListSalesOrders" portletSeqId="00001" columnSeqId="00001" sequenceNum="0"/>
    <!-- SCIPIO: put in column 2 by default... otherwise column 2 empty space -->
    <PortalPagePortlet portalPageId="OrderPortalPage" portalPortletId="BestSellingProducts" portletSeqId="00001" columnSeqId="00002" sequenceNum="1"/>

    <!-- Order Reports -->
    <PortalPage portalPageId="OrderReportPage" sequenceNum="0" portalPageName="Order Purchase Report Portal Page" description="Order purchase Report page using flexible Portal technology" ownerUserLoginId="_NA_"/>
    <PortalPageColumn portalPageId="OrderReportPage" columnSeqId="00001" columnWidthPercentage="50"/>
    <PortalPageColumn portalPageId="OrderReportPage" columnSeqId="00002"/>

    <PortalPortlet portalPortletId="SalesByStore"
        portletName="Sales by store report"
        screenName="OrderReportSalesByStore"
        screenLocation="component://order/widget/ordermgr/ReportScreens.xml"
        description=""/>
    <PortletPortletCategory portalPortletId="SalesByStore" portletCategoryId="REPORT"/>
    <PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="SalesByStore" portletSeqId="00001" columnSeqId="00001" sequenceNum="0"/>

    <PortalPortlet portalPortletId="OpenOrderItems"
        portletName="Order Report Open OrderItems"
        screenName="OrderReportOpenOrderItems"
        screenLocation="component://order/widget/ordermgr/ReportScreens.xml"
        description=""/>
    <PortletPortletCategory portalPortletId="OpenOrderItems" portletCategoryId="REPORT"/>
    <PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="OpenOrderItems" portletSeqId="00001" columnSeqId="00001" sequenceNum="1"/>

    <PortalPortlet portalPortletId="PurchasesByOrg"
        portletName="Order Report Purchases By Organization"
        screenName="OrderReportPurchasesByOrganization"
        screenLocation="component://order/widget/ordermgr/ReportScreens.xml"
        description=""/>
    <PortletPortletCategory portalPortletId="PurchasesByOrg" portletCategoryId="REPORT"/>
    <PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="PurchasesByOrg" portletSeqId="00001" columnSeqId="00001" sequenceNum="2"/>

    <PortalPortlet portalPortletId="PurchasesByProduct"
        portletName="Order Report Purchases By Product"
        screenName="OrderReportPurchasesByProduct"
        screenLocation="component://order/widget/ordermgr/ReportScreens.xml"
        description=""/>
    <PortletPortletCategory portalPortletId="PurchasesByProduct" portletCategoryId="REPORT"/>
    <PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="PurchasesByProduct" portletSeqId="00001" columnSeqId="00002" sequenceNum="3"/>

    <PortalPortlet portalPortletId="PurchByPaymMeth"
        portletName="Order Report Purchases By PaymentMethod"
        screenName="OrderReportPurchasesByPaymentMethod"
        screenLocation="component://order/widget/ordermgr/ReportScreens.xml"
        description=""/>
    <PortletPortletCategory portalPortletId="PurchByPaymMeth" portletCategoryId="REPORT"/>
    <PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="PurchByPaymMeth" portletSeqId="00001" columnSeqId="00002" sequenceNum="4"/>
    <PortalPortlet portalPortletId="ListPurchaseOrders"
        portletName="List Purchase Orders"
        screenName="ListPurchaseOrders"
        screenLocation="component://order/widget/ordermgr/OrderViewScreens.xml"
        description="List Purchase Orders"/>
    <PortletPortletCategory portalPortletId="ListPurchaseOrders" portletCategoryId="ORDERMGR"/>
    <PortletCategory portletCategoryId="CUST_ORDERS" description="Customer Orders"/>
    <PortalPortlet portalPortletId="ListCustReturns"
        portletName="Customer Returns"
        screenName="ListCustReturns"
        screenLocation="component://order/widget/ordermgr/CustRequestScreens.xml"
        description="List of Returns by a customer" securityServiceName="portalPermissionIsCustomer" securityMainAction="VIEW"
        editFormName="EditCustRetStatusId"
        editFormLocation="component://order/widget/ordermgr/CustRequestForms.xml"/>
    <PortletPortletCategory portalPortletId="ListCustReturns" portletCategoryId="CUST_ORDERS"/>
</entity-engine-xml>