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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040722
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2019-04-30 13:312019-05-06 15:16
ReporteregoitzView Statuspublic 
Assigned ToTriage Finance 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040722: MovementDate is filled with time and should contain only with the date

DescriptionIn some customers it has been discover that there are rows in the transaction table containin values with date time on the movement date column when only date should be saved.
Steps To Reproduce-Check the code.

src/org/openbravo/materialmgmt/refinventory/ReferencedInventoryUtil.java: header.setMovementDate(new Date());

src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java: inv.setMovementDate(new Date());


Proposed SolutionTruncate the date:

Example.

src/org/openbravo/common/actionhandler/ReservedGoodMovementActionHandler.java: gmHeader.setMovementDate(DateUtils.truncate(new Date(), Calendar.DATE));



Check if platform team can implement something to automatically truncate the value if the referencce is date (not date/time).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040676 closeddmiguelez Valued Stock Report not properly working when movementDate has more precision than days and aggregated data 
depends on feature request 0040905 newplatform It would be fine to automatically truncate the value if the reference is date 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0111386)
egoitz (developer)
2019-04-30 13:32

Also other modules should be reviewed:
AWO
Autobom for retail

- Issue History
Date Modified Username Field Change
2019-04-30 13:31 egoitz New Issue
2019-04-30 13:31 egoitz Assigned To => Triage Finance
2019-04-30 13:31 egoitz Modules => Core
2019-04-30 13:31 egoitz Triggers an Emergency Pack => No
2019-04-30 13:31 egoitz Issue generated from 0040676
2019-04-30 13:31 egoitz Relationship added related to 0040676
2019-04-30 13:32 egoitz Note Added: 0111386
2019-04-30 16:54 Sandrahuguet Assigned To Triage Finance => nonofrancisco
2019-05-06 15:16 Sandrahuguet Assigned To nonofrancisco => Triage Finance
2019-05-20 08:34 Sandrahuguet Relationship added depends on 0040905


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker