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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018373
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 04. Warehouse managementmajoralways2011-08-29 12:132011-08-31 12:28
ReportermaiteView Statuspublic 
Assigned Tomaite 
PriorityurgentResolutionfixedFixed in Version2.50MP33
StatusclosedFix in branch2.50Fixed in SCM revisionc73098d54299
ProjectionnoneETAnoneTarget Version2.50MP34
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP33SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018373: Wrong message in Generate Average Costs: not all documentno are showed when checking if cost used in posting

DescriptionWrong message in Generate Average Costs: not all documentno are showed when checking if cost used in posting.
Also, when referencing to Matched Invoices, dateordered is shown instead of dateinvoiced.
Steps To Reproduce1. Go to Product "Beer" and define Cost for: Org=Main; Type=Average; Starting date=29-03-2006; Ending Date= 30-03-2006
2. Go to Accounting Schema Tables and set as ACTIVE "MaterialMgmtShipmentInOut" for both schemas
3. Go to Process Request window and unschedule acct server process
4. Go to Goods Receipt window and unpost all existent goods receipts
5. Create new Goods Receipt for Org=Main; any business partner and Movement Date = Accounting Date = 29-03-2006. Add any line. Complete and Post
6. Run Generate Average Costs function and you will obtain error without proper documentno indicated.
    
Error:
One or more Goods Receipt documents are posted using a cost that will be modified if the Generate Average Cost process is run. Please unpost the document with Document No. .
Proposed Solution1. Problem is that same dates are not being considered.
When comparing with "v_MinDateCosting", >= should be used instead of >
(lines affected: 117, 142, 166, 191, 220)

2. Show DATEINVOICED instead of DATEORDERED (lines 214, 221 and 229)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00183723.0MP3 closedmaite Wrong message in Generate Average Costs: not all documentno are showed when checking if cost used in posting 

-  Notes
(0040547)
hgbot (developer)
2011-08-30 08:26

Repository: erp/stable/2.50
Changeset: c73098d54299e672f9995296431071062882c5c5
Author: Maite Elizari <maite.elizari <at> openbravo.com>
Date: Mon Aug 29 15:07:14 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/c73098d54299e672f9995296431071062882c5c5 [^]

Fixes issue 0018373: Generate Average Cost shows DocumentNo when accounting date is MinDateCosting

---
M src-db/database/model/functions/M_GENERATE_AVERAGE_COSTS.xml
---
(0040614)
egoitz (developer)
2011-08-31 12:28

verified

- Issue History
Date Modified Username Field Change
2011-08-29 12:14 maite Type defect => backport
2011-08-29 12:14 maite fix_in_branch => 2.50
2011-08-29 12:59 jonalegriaesarte version 3.0MP2 => 2.50MP33
2011-08-29 12:59 jonalegriaesarte Target Version 3.0MP3 => 2.50MP34
2011-08-29 12:59 jonalegriaesarte Assigned To jonalegriaesarte => maite
2011-08-29 14:31 maite Steps to Reproduce Updated View Revisions
2011-08-30 08:26 hgbot Checkin
2011-08-30 08:26 hgbot Note Added: 0040547
2011-08-30 08:26 hgbot Status scheduled => resolved
2011-08-30 08:26 hgbot Resolution open => fixed
2011-08-30 08:26 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/c73098d54299e672f9995296431071062882c5c5 [^]
2011-08-31 12:28 egoitz Note Added: 0040614
2011-08-31 12:28 egoitz Status resolved => closed
2011-08-31 12:28 egoitz Fixed in Version => 2.50MP33


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker