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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034662
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajorhave not tried2016-12-01 09:182016-12-16 18:39
ReporterSanjotaView Statuspublic 
Assigned ToSanjota 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q1
StatusclosedFix in branchFixed in SCM revision6c3e95c4b2af
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034662: If we launch costing migration process the last day of a month, PeriodClosedForMMI error is thrown

DescriptionIf we launch costing migration process the last day of a month, PeriodClosedForMMI error is thrown
Steps To ReproduceAs system admin role:
   Install the 3.0MP12.2 version
   Upgrade it to pi
   Note: I need to launch the following command as the Costing Algorithms were not present in the system after recompiling it:
      ant apply.module -DforceRefData=true
      ant smartbuild
As group admin roles:
   Create 2016 year and periods for all the legal with accounting organizations in the system
   Open them
As system admin role:
   Launch the Costing Migration process for last day of the month
   Check it launches a warning that there are transactions without cost
   Set as inactive the 'Products with transactions without available cost on date.' alert
   Launch the Costing Migration process again
   Check that 'PeriodClosedForMMI' error is thrown.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034563 closedSanjota Index: 0, Size: 0 error when launching Costing Migration Process 
related to defect 0034564 closedSanjota Duplicated records in m_transactioncost table after launching the Costing Migration Process 

-  Notes
(0091959)
Sanjota (developer)
2016-12-01 11:47

Test plan :
As system admin role:
   Install the 3.0MP12.2 version
   Upgrade it to pi
   Note: I need to launch the following command as the Costing Algorithms were not present in the system after recompiling it:
      ant apply.module -DforceRefData=true
      ant smartbuild
As group admin roles:
   Create 2016 year and periods for all the legal with accounting organizations in the system
   Open them
As system admin role:
   Launch the Costing Migration process for last day of the month
   Check it launches a warning that there are transactions without cost
   Set as inactive the 'Products with transactions without available cost on date.' alert
   Launch the Costing Migration process again
   Observe that there is no error :'PeriodClosedForMMI' and the process will cbe completed with success status
(0091968)
hgbot (developer)
2016-12-01 14:44

Repository: erp/devel/pi
Changeset: 6c3e95c4b2af13c06a6a3200165d829851a1c376
Author: Sanjota <sanjota.nelagi <at> promantia.com>
Date: Thu Dec 01 16:28:49 2016 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/6c3e95c4b2af13c06a6a3200165d829851a1c376 [^]

Fixes issue 34662: Error due to date and time comparision

Resolved issue with Costing Migration process.
"PeriodClosedForMMI" error due to date comparision on last day of month fixed.

---
M src/org/openbravo/costing/CostingMigrationProcess.java
---
(0091971)
aferraz (manager)
2016-12-01 14:45

Code review + Testing OK
(0092675)
hudsonbot (developer)
2016-12-16 18:39

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dc8bf00badd0 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-12-01 09:18 Sanjota New Issue
2016-12-01 09:18 Sanjota Assigned To => Triage Finance
2016-12-01 09:18 Sanjota Modules => Core
2016-12-01 09:18 Sanjota Triggers an Emergency Pack => No
2016-12-01 09:58 aferraz Relationship added related to 0034563
2016-12-01 09:59 aferraz Relationship added related to 0034564
2016-12-01 10:20 Sanjota Assigned To Triage Finance => Sanjota
2016-12-01 10:20 Sanjota Status new => scheduled
2016-12-01 11:47 Sanjota Note Added: 0091959
2016-12-01 14:44 hgbot Checkin
2016-12-01 14:44 hgbot Note Added: 0091968
2016-12-01 14:44 hgbot Status scheduled => resolved
2016-12-01 14:44 hgbot Resolution open => fixed
2016-12-01 14:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6c3e95c4b2af13c06a6a3200165d829851a1c376 [^]
2016-12-01 14:45 aferraz Review Assigned To => aferraz
2016-12-01 14:45 aferraz Note Added: 0091971
2016-12-01 14:45 aferraz Status resolved => closed
2016-12-01 14:45 aferraz Fixed in Version => 3.0PR17Q1
2016-12-16 18:39 hudsonbot Checkin
2016-12-16 18:39 hudsonbot Note Added: 0092675


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker