From 782badc4e9cfb16140a2d282390d84266758ec73 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Wed, 21 Sep 2016 06:36:00 +0000 Subject: [PATCH] Fixes: Order By Referrer is not working (OFBIZ-7318) See https://ofbiz-vm.apache.org:8443/ordermgr/control/OrderPurchaseReportOptions Section : Order By Referrer Found out that in OrderByReferrer.rptdesign we tried to fetch nonexisting fields like "visitId" and "initialReferrer" from SalesOrderItemFact which causing problem in this report. On rev #886743 SalesOrderItemFact extended with visitId and initialReferrer and on rev #1055774 these field has been removed. So I think we need to clean references of visitId and initialReferrer from the report and if we removed these fields then report will not make any sense. So in my opinion it is better to remove this report from OFBIZ. Thanks: Rohit Koushalfor report and patch git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761678 13f79535-47bb-0310-9956-ffa450edef68 --- specialpurpose/birt/config/BirtUiLabels.xml | 10 - specialpurpose/birt/data/OrderPortletData.xml | 8 - .../webapp/ordermgr/WEB-INF/controller.xml | 4 - .../reports/OrderByReferrer.rptdesign | 774 ------------------ .../birt/widget/order/OrderForms.xml | 5 - .../birt/widget/order/OrderScreens.xml | 13 - 6 files changed, 814 deletions(-) delete mode 100644 specialpurpose/birt/webapp/ordermgr/reports/OrderByReferrer.rptdesign diff --git a/specialpurpose/birt/config/BirtUiLabels.xml b/specialpurpose/birt/config/BirtUiLabels.xml index 8ebc35c3129..10830ac143a 100644 --- a/specialpurpose/birt/config/BirtUiLabels.xml +++ b/specialpurpose/birt/config/BirtUiLabels.xml @@ -93,11 +93,6 @@ Tous les lignes de commandes ayant des codes promotionels 所有带有折扣优惠码的订单明细 - - All Referrer - Tous apporteurs d'affaires - 所有访问来源 - Coupon Sales Report Ventes promotionelles @@ -118,11 +113,6 @@ Net avant frais généraux 计入制造费用前的净值报表 - - Order By Referrer - Commandes par apporteurs d'affaires - 按访问来源排序 - Product Demand Report Demandes par produit diff --git a/specialpurpose/birt/data/OrderPortletData.xml b/specialpurpose/birt/data/OrderPortletData.xml index c74fc49d4f1..6a5707eaf00 100644 --- a/specialpurpose/birt/data/OrderPortletData.xml +++ b/specialpurpose/birt/data/OrderPortletData.xml @@ -18,14 +18,6 @@ under the License. --> - - - - - - - @@ -124,7 +121,6 @@ under the License. - diff --git a/specialpurpose/birt/webapp/ordermgr/reports/OrderByReferrer.rptdesign b/specialpurpose/birt/webapp/ordermgr/reports/OrderByReferrer.rptdesign deleted file mode 100644 index 8bcc96f5dca..00000000000 --- a/specialpurpose/birt/webapp/ordermgr/reports/OrderByReferrer.rptdesign +++ /dev/null @@ -1,774 +0,0 @@ - - - - Eclipse BIRT Designer Version 2.5.1.v20090903 Build <2.5.1.v20090917-1447> - in - - /templates/blank_report.gif - ltr - - - static - false - string - true - simple - text-box - - Unformatted - - - - static - false - string - true - simple - text-box - - Unformatted - - - - static - false - string - true - simple - text-box - - Unformatted - - - - static - false - string - true - simple - text-box - - Unformatted - - - - static - false - string - true - simple - text-box - - Unformatted - - - - static - false - string - true - simple - text-box - - Unformatted - - - - static - false - string - true - simple - text-box - - Unformatted - - - - static - false - string - true - simple - text-box - - Unformatted - - - - static - false - string - true - simple - text-box - - Unformatted - - - - - - - - - - - 0 - orderId - string - - - 1 - orderItemSeqId - string - - - 2 - quantity - integer - - - 3 - orderStatus - string - - - 4 - saleChannel - string - - - 5 - visitId - string - - - 6 - initialReferrer - string - - - 7 - extNetAmount - float - - - - - orderId - - - orderItemSeqId - - - quantity - - - orderStatus - - - saleChannel - - - visitId - - - initialReferrer - - - extNetAmount - - - - - - 1 - orderId - string - - - 2 - orderItemSeqId - string - - - 3 - quantity - integer - - - 4 - orderStatus - string - - - 5 - saleChannel - string - - - 6 - visitId - string - - - 7 - initialReferrer - string - - - 8 - extNetAmount - float - - - - OFBIZ - - - - - - - - - NewTabularHierarchy - - - - - string - visitId - - - string - orderId - - - - - - - NewTabularHierarchy1 - - - - - string - initialReferrer - - - - - - - - - - - count - dataSetRow["orderId"] - integer - - - dataSetRow["quantity"] - integer - - - dataSetRow["extNetAmount"] - float - - - - - SalesOrderItemFact - - - - - - - - - - - - 0.2222222222222222in - 7.766666666666667in - - 3.8777777777777778in - - - 3.888888888888889in - - - 0.2222222222222222in - - - html - new Date()]]> - - - - right - - 0.2222222222222222in - 1.6in - - 0.8111111111111111in - - - 0.2in - - - 0.5888888888888889in - - - 0.2222222222222222in - - - right - page-number - - - - - plain - - - - - - left - normal - total-page - - - - - - - - - - - - - larger - bolder - normal - black - none - center - auto - - - - auto - - - - - orderId - - - Group1/initialReferrer - - - center - orderId_Group1/initialReferrer - - - 0.9222222222222223in - - - - - - - gray - center - orderId_1 - - - - - - - - - - - - - - quantity - - - Group1/initialReferrer - - - center - quantity_Group1/initialReferrer - - - 1.1in - - - - - - - gray - center - quantity - - - - - - - - - - - - - - extNetAmount - - - Group1/initialReferrer - - - center - extNetAmount_Group1/initialReferrer - - - 1.3222222222222222in - - - - - - - gray - center - extNetAmount - - - - - - - - - - - - - - - - - - - - - - - - - Group - - - Group/visitId - - - - - center - visitId - - - 0.9222222222222223in - - - - - Group/orderId - - - - - center - orderId - - - 0.9555555555555556in - - - - - - - Group1 - - - Group1/initialReferrer - - - - - center - initialReferrer - - - 2.7222222222222223in - - - - - - - after - - - - - - - 0.25555555555555554in - 4.511111111111111in - - 0.8666666666666667in - - - 0.9777777777777777in - - - 2.6777777777777776in - - - 0.25555555555555554in - - - - - - - - - - - - - - - Referrer - - - visitId - dimension["Group"]["visitId"] - string - - - orderId - dimension["Group"]["orderId"] - string - - - initialReferrer - dimension["Group1"]["initialReferrer"] - string - - - orderId_Group1/initialReferrer - measure["orderId"] - integer - - Group1/initialReferrer - - SUM - - - quantity_Group1/initialReferrer - measure["quantity"] - integer - - Group1/initialReferrer - - SUM - - - extNetAmount_Group1/initialReferrer - measure["extNetAmount"] - float - - Group1/initialReferrer - - SUM - - - orderId_Group/orderId - measure["orderId"] - integer - - Group/orderId - - SUM - - - quantity_Group/orderId - measure["quantity"] - integer - - Group/orderId - - SUM - - - extNetAmount_Group/orderId - measure["extNetAmount"] - float - - Group/orderId - - SUM - - - orderId_1 - measure["orderId"] - integer - SUM - - - quantity - measure["quantity"] - integer - SUM - - - extNetAmount - measure["extNetAmount"] - float - SUM - - - - - diff --git a/specialpurpose/birt/widget/order/OrderForms.xml b/specialpurpose/birt/widget/order/OrderForms.xml index bf8ba99d90f..483ec8ce708 100644 --- a/specialpurpose/birt/widget/order/OrderForms.xml +++ b/specialpurpose/birt/widget/order/OrderForms.xml @@ -67,11 +67,6 @@ under the License. -
- - - -
diff --git a/specialpurpose/birt/widget/order/OrderScreens.xml b/specialpurpose/birt/widget/order/OrderScreens.xml index e93f4e55671..a63e32ba91a 100644 --- a/specialpurpose/birt/widget/order/OrderScreens.xml +++ b/specialpurpose/birt/widget/order/OrderScreens.xml @@ -64,19 +64,6 @@ under the License. - - -
- - - - - - - - -
-