Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043985
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advanced Warehouse Operationsminorhave not tried2020-05-07 16:162020-05-18 19:16
Reporterinigo_lergaView Statuspublic 
Assigned Toinigo_lerga 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision8b6b552256d0
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Todmiguelez
Regression introduced in release
Summary

0043985: Apply new HQL Style in TGC_SalesOrder_Issue.java

DescriptionTGC_SalesOrder_Issue.java has HQL queries with:
- the HQL is hard to read because of formatting
- and it is mixing txt and i.e PROPERTY_ID constant which is not recommended by default
Steps To Reproduce-
Proposed SolutionFollow new format as in http://wiki.openbravo.com/wiki/HQL_Coding_Conventions [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0041287 acknowledgedTriage Platform Base Openbravo ERP Tracking issue: Convert HQL to apply new style 

-  Notes
(0119668)
inigo_lerga (reporter)
2020-05-07 17:08

--Test Plan Mantis HQL--
Beforehand, the environment needs to have AWO modules
installed and working.

As the AWO-QA Admin - AWO-QA role:
  - Go to the Sales Order window and create a new record
    with any Business Partner desired.
    Go to Lines Tab and create a new Line with any product and
    quantity desired.
    Book the Sales Order and copy the Search Key.

As the AWO_US_W role in AWO Front End:
  - Open the Issue window and paste the Search Key. Press search button.

  #In this moment the modified HQL is executed#
(0120006)
hgbot (developer)
2020-05-18 18:56

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 8b6b552256d067de142c00707e9448889fded016
Author: IƱigo Lerga <inigo.lerga <at> openbravo.com>
Date: Thu May 07 17:15:40 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/8b6b552256d067de142c00707e9448889fded016 [^]

fixes BUG-43985:Applied new HQL Style

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/datasources/taskgenerationcandidates/TGC_SalesOrder_Issue.java
---
(0120008)
hgbot (developer)
2020-05-18 19:16

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: c4e2eff079b4bc1bb481242f1fba8ebc61c391b9
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon May 18 19:15:53 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/c4e2eff079b4bc1bb481242f1fba8ebc61c391b9 [^]

Related to ISSUE-43985. Refactor of class
* Logic to create additional where clause extracted to different method
* Added final modifiers
* Remove unnecessary writableOrgsInClause variable

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/datasources/taskgenerationcandidates/TGC_SalesOrder_Issue.java
---
(0120009)
dmiguelez (developer)
2020-05-18 19:16

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2020-05-07 16:16 inigo_lerga New Issue
2020-05-07 16:16 inigo_lerga Assigned To => inigo_lerga
2020-05-07 16:16 inigo_lerga Relationship added related to 0041287
2020-05-07 16:16 inigo_lerga Status new => scheduled
2020-05-07 17:08 inigo_lerga Note Added: 0119668
2020-05-18 18:56 hgbot Checkin
2020-05-18 18:56 hgbot Note Added: 0120006
2020-05-18 18:56 hgbot Status scheduled => resolved
2020-05-18 18:56 hgbot Resolution open => fixed
2020-05-18 18:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/8b6b552256d067de142c00707e9448889fded016 [^]
2020-05-18 19:16 hgbot Checkin
2020-05-18 19:16 hgbot Note Added: 0120008
2020-05-18 19:16 dmiguelez Review Assigned To => dmiguelez
2020-05-18 19:16 dmiguelez Note Added: 0120009
2020-05-18 19:16 dmiguelez Status resolved => closed
2022-09-06 17:18 caristu Category Advance Warehouse Operations => Advanced Warehouse Operations


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker