Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0044033Openbravo ERP03. Procurement managementpublic2020-05-11 18:532020-06-05 08:45
normalminorhave not tried
0044033: Review and probably remove unused RptC_OrderP java and jrxml files
Current ERP code contains those files which appear to be (practically) unsued


Apart of the servlet being mapping to some URL there is not reference to them in the product codebase.

- QA_Testing sampledata ships a c_doctype + c_doctype_template referencing it
- Then the c_doctype_id of this sampledata 'FF8080812C2ABFC6012C2B3BDF51006E' is being referenced from sourcecode inside pi
Who: platform
  - src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder_data.xsql
  - src-test/src/org/openbravo/test/copyLinesFromOrders/data/

The reference in src/ itself seems wrong, as without the specific QA_Testing sampledata that uuid will not exist.

The src-test reference maybe intentional but if the rest of the files is unused probably the test should be modified to avoid having to keep the whole implementation just for the test-case.

No tags attached.
depends on defect 0044117 closed AtulOpenbravo API Change: Remove obsolete OrderPO Print process 
related to defect 0044310 closed AtulOpenbravo Avoid hard code value for Doc Type ID parameter when calling DB function m_get_default_aum_for_document 
blocks feature request 0023745 closed Sandrahuguet New printable jrxml form for orders, invoices goods shipment and goods receipt 
blocks design defect 0032688 acknowledged Triage Platform Base remove unused resources 
Issue History
2020-05-11 18:53shuehnerNew Issue
2020-05-11 18:53shuehnerAssigned To => Triage Finance
2020-05-11 18:53shuehnerModules => Core
2020-05-11 18:53shuehnerTriggers an Emergency Pack => No
2020-05-11 18:54shuehnerRelationship addedblocks 0023745
2020-05-15 19:06AtulOpenbravoStatusnew => scheduled
2020-05-15 19:06AtulOpenbravoAssigned ToTriage Finance => AtulOpenbravo
2020-05-20 08:49AtulOpenbravoRelationship addeddepends on 0044117
2020-06-03 03:52hgbotCheckin
2020-06-03 03:52hgbotNote Added: 0120551
2020-06-03 03:54hgbotCheckin
2020-06-03 03:54hgbotNote Added: 0120552
2020-06-03 03:55hgbotCheckin
2020-06-03 03:55hgbotNote Added: 0120553
2020-06-03 03:56hgbotCheckin
2020-06-03 03:56hgbotNote Added: 0120554
2020-06-03 03:56hgbotStatusscheduled => resolved
2020-06-03 03:56hgbotResolutionopen => fixed
2020-06-03 03:56hgbotFixed in SCM revision => [^]
2020-06-03 09:42shuehnerRelationship addedblocks 0032688
2020-06-05 08:45vmromanosReview Assigned To => vmromanos
2020-06-05 08:45vmromanosNote Added: 0120684
2020-06-05 08:45vmromanosStatusresolved => closed
2020-06-05 08:45vmromanosFixed in Version => 3.0PR20Q3
2020-06-08 22:06AtulOpenbravoRelationship addedrelated to 0044310

2020-06-03 03:52   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: ac66fda7ca71d81256a8aa2cfded9dbece5679dd
Author: Atul Gaware <atul.gaware <at>>
Date: Mon Jun 01 09:28:57 2020 +0530
URL: [^]

Related To BUG-44033:Remove references of obsolete OrderPO Print
process in AD_PROCESS_ACCESS from The White Valley Group client

M referencedata/sampledata/The_White_Valley_Group/AD_PROCESS_ACCESS.xml
2020-06-03 03:54   
Repository: erp/pmods/org.openbravo.retail.testsampledata
Changeset: 98cf8bd57b381905ea5a0671f60a27e8ef60ad27
Author: Atul Gaware <atul.gaware <at>>
Date: Mon Jun 01 09:29:31 2020 +0530
URL: [^]

Related To BUG-44033:Remove references of obsolete OrderPO Print
process in AD_PROCESS_ACCESS from Retail Test Client

M referencedata/sampledata/Retail_Test/AD_PROCESS_ACCESS.xml
2020-06-03 03:55   
Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations.sampledata
Changeset: 5815812b2919266a4628f33338bc251d6d14fab8
Author: Atul Gaware <atul.gaware <at>>
Date: Mon Jun 01 09:31:33 2020 +0530
URL: [^]

Related To BUG-44033:Remove references of obsolete OrderPO Print
process in AD_PROCESS_ACCESS from AWO QA Client

M referencedata/sampledata/AWO_QA/AD_PROCESS_ACCESS.xml
2020-06-03 03:56   
Repository: erp/devel/pi
Changeset: 4802397f297940df27a7ac2f95ff46c6283d0333
Author: Atul Gaware <atul.gaware <at>>
Date: Mon Jun 01 08:02:57 2020 +0530
URL: [^]

Fixes BUG-44033:Removed unused RptC_OrderP java & jrxml files

**Removed references from AD_PROCESS, AD_MODEL_OBJECT,
**Removed references from AD_PROCESS_ACCESS in
F&B International Group and QA Testing client
**Remove Java class RptC_OrderPO, JRXML templates
RptC_OrderPO.jrxml, RptC_OrderPO_Lines.jrxml
**Template RptC_OrderPO.jrxml used in QA Testing
sample data in C_POC_DOCTYPE_TEMPLATE for Purchase
Order Document Type is replaced with C_OrderJR_new.jrxml
similar to that in F&B International Group client
document type for Purchase Order.
**Removed hard coded values of document type ID
in selectAUMDefault method of RequisitionToOrder_data
xsql, modified method to consider document type with
docbasetype POO for context client and organization.

M referencedata/sampledata/F_B_International_Group/AD_PROCESS_ACCESS.xml
M referencedata/sampledata/QA_Testing/AD_PROCESS_ACCESS.xml
M referencedata/sampledata/QA_Testing/C_POC_DOCTYPE_TEMPLATE.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_PROCESS.xml
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_forms/
M src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder_data.xsql
R src/org/openbravo/erpReports/
R src/org/openbravo/erpReports/RptC_OrderPO.jrxml
R src/org/openbravo/erpReports/RptC_OrderPO_Lines.jrxml
2020-06-05 08:45   
Code review OK