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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010751
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 04. Warehouse managementminoralways2009-09-24 17:442009-10-13 08:36
ReporternetworkbView Statuspublic 
Assigned Togorkaion 
PriorityhighResolutionfixedFixed in Version2.40MP10
StatusclosedFix in branch2.40Fixed in SCM revision6ae5e961fe01
ProjectionnoneETAnoneTarget Version2.40MP11
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP6SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010751: Generate average cost does not calculate properly end date

DescriptionEnd dates are not properly calculated when generate average cost is executed.

In our scenario a permanent cost is introduced. Then a purchase order + good receipt is created. After executing it, end dates are the same.

Also it happens if more purchase orders + good receipts are created.

Please, see attached file
Steps To ReproduceGo to Master Data Management > Product. Create a new one and select Average as Cost type.
Go to Costing tab and generate a new record. Select Permanent, and Manual.
Enter as Starting date, quantity and price.
Go to Procurement management > Transactions > Purchase Order. Create a new one with this product. Process it.
Go to Procurement management > Transactions > Good Receipt. Create a new one with same partner. Use "Create lines from" button to enter its lines. Select the previous Order to select it line.
Complete it.
Go to Warehouse Management > Transactions > Generate average cost. Execute it.
Go back to Costing tab, in Product window. See end dates. They are wrong.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00107492.40MP11 closedgorkaion Generate average cost does not calculate properly end date 

-  Notes
(0020359)
hgbot (developer)
2009-09-25 10:46

Repository: erp/stable/2.40
Changeset: 6ae5e961fe01ee7eb9759777d3f26f6c86c05c50
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri Sep 25 10:45:49 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/6ae5e961fe01ee7eb9759777d3f26f6c86c05c50 [^]

Fixed issue 10751. Changed the initial dateTo calculation.

---
M src-db/database/model/functions/GENERATE_AVERAGE_COSTS.xml
---
(0020446)
hgbot (developer)
2009-09-29 12:02

Repository: erp/stable/2.40_pageddatagrid
Changeset: 6ae5e961fe01ee7eb9759777d3f26f6c86c05c50
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Fri Sep 25 10:45:49 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40_pageddatagrid/rev/6ae5e961fe01ee7eb9759777d3f26f6c86c05c50 [^]

Fixed issue 10751. Changed the initial dateTo calculation.

---
M src-db/database/model/functions/GENERATE_AVERAGE_COSTS.xml
---
(0020954)
sureshbabu (reporter)
2009-10-13 08:36

'31-12-9999' -appears in the ending date field.(tested working fine)

- Issue History
Date Modified Username Field Change
2009-09-24 18:04 psarobe Type defect => backport
2009-09-24 18:04 psarobe fix_in_branch => 2.40
2009-09-24 18:04 psarobe Assigned To rafaroda => gorkaion
2009-09-25 07:05 rafaroda Priority immediate => high
2009-09-25 10:46 hgbot Checkin
2009-09-25 10:46 hgbot Note Added: 0020359
2009-09-25 10:46 hgbot Status scheduled => resolved
2009-09-25 10:46 hgbot Resolution open => fixed
2009-09-25 10:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/6ae5e961fe01ee7eb9759777d3f26f6c86c05c50 [^]
2009-09-29 12:02 hgbot Checkin
2009-09-29 12:02 hgbot Note Added: 0020446
2009-09-29 12:02 hgbot Fixed in SCM revision http://code.openbravo.com/erp/stable/2.40/rev/6ae5e961fe01ee7eb9759777d3f26f6c86c05c50 [^] => http://code.openbravo.com/erp/stable/2.40_pageddatagrid/rev/6ae5e961fe01ee7eb9759777d3f26f6c86c05c50 [^]
2009-10-13 08:36 sureshbabu Status resolved => closed
2009-10-13 08:36 sureshbabu Note Added: 0020954
2009-10-13 08:36 sureshbabu Fixed in Version => 2.40MP10


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker