Files
ofbiz-plugins/birt/widget/order/OrderScreens.xml
T
Jacques Le Roux dcdf708d95 Fixes: Net Before Overhead Report is not working
(OFBIZ-7317)

Here is the patch that removes the NBO(Net Before Overhead) report from the 
trunk. In the patch I have also removed the Demo data which is required by this 
report only.

Note : Please remove below data from existing database to avoid any data 
related problem in OrderPortletData.xml

<PortalPortlet portalPortletId="NBO_Report"
   portletName="Net Before Overhead Report"
   screenName="NetBeforeOverheadReport"
   screenLocation="component://birt/widget/order/OrderScreens.xml"
   description=""/>
<PortletPortletCategory portalPortletId="NBO_Report" portletCategoryId="REPORT"/>
<PortalPagePortlet portalPageId="OrderReportPage" portalPortletId="NBO_Report" 
portletSeqId="00001" columnSeqId="00002" sequenceNum="11"/>


Thanks: Rohit Koushal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1763132 13f79535-47bb-0310-9956-ffa450edef68
2016-10-03 08:59:10 +00:00

143 lines
6.2 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="SalesReport">
<section>
<actions>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportSalesReport}">
<include-form name="SalesReport" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<screen name="ProductDemandReport">
<section>
<actions>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportProductDemandReport}">
<include-form name="ProductDemandReport" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<!-- Sale Order By Channel -->
<screen name="SaleOrdersByChannelReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportSaleOrdersByChannel}">
<include-form name="SaleOrdersByChannel" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<!-- Sale Order with Discount Code -->
<screen name="SaleOrderDiscountCodeReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportSaleOrderDiscountCode}">
<include-form name="SaleOrderDiscountCode" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<!-- Last Three Months Sales Report -->
<screen name="Last3MonthsSalesReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportLast3MonthsSalesReport}">
<include-form name="Last3MonthsSalesReport" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<!-- Coupon Sales Report -->
<screen name="CouponSalesReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportCouponSalesReport}">
<include-form name="CouponSalesReport" location="component://birt/widget/order/OrderForms.xml"/>
</screenlet>
</widgets>
</section>
</screen>
<screen name="SalesOrderReport">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
<entity-condition entity-name="SalesOrderItemStarSchema" list="SalesReportList">
<condition-list combine="and">
<condition-expr field-name="orderDate" operator="greater-equals" from-field="parameters.fromOrderDate" ignore-if-empty="true"/>
<condition-expr field-name="orderDate" operator="less" from-field="parameters.thruOrderDate" ignore-if-empty="true"/>
</condition-list>
</entity-condition>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportSalesReport}">
<platform-specific>
<xml><html-template location="component://order/webapp/ordermgr/reports/SalesReport.rptdesign"/></xml>
</platform-specific>
</screenlet>
</widgets>
</section>
</screen>
<screen name="ProductDemandOrderReport ">
<section>
<actions>
<property-map resource="BirtUiLabels" map-name="uiLabelMap" global="true"/>
</actions>
<widgets>
<screenlet title="${uiLabelMap.BirtOrderReportProductDemandReport}">
<platform-specific>
<xml><html-template location="component://order/webapp/ordermgr/reports/ProductDemandReport.rptdesign"/></xml>
</platform-specific>
</screenlet>
</widgets>
</section>
</screen>
</screens>