Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0019606 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 04. Warehouse management | major | always | 2012-01-31 18:01 | 2012-06-28 12:42 | |||
Reporter | maite | View Status | public | |||||
Assigned To | jecharri | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 963a92ace977 | |||
Projection | none | ETA | none | Target Version | 3.0MP9 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0019606: Generate Average cost process is not raising "unposting" error if all costing lines are set as "permanent" | |||||||
Description | Generate Average cost process is not raising "unposting" error if all costing lines are set as "permanent", although document needs to be unposted as cost is going to change after running process | |||||||
Steps To Reproduce | 1. Set all costing lines of all products as "permanent" 2. Create Purchase Order for "Zumo de Pera Bio 0,33L" product for tomorrow's date at price=50euros. Process. 3. Create associated goods receipt and Post it. Verify that it has been posted using already existent cost for product. 4.Run Generate Average cost process and realize that new Costing entry for product has been inserted and cost is now different. Generate average cost process should have raised error to Unpost receipt before run process, as receipt should be posted using new cost, not old one | |||||||
Proposed Solution | Variable "v_MinDateCosting" is calculated taken into account all costing lines with "permanent"=N. In case all costing lines are checked as "Permanent", receipt's date should be considered. In that case, minimum date between v_MinDateCosting and receipt's date should be used to raise unposting errors | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0045408) hgbot (developer) 2012-02-23 13:09 |
Repository: erp/devel/pi Changeset: 91dacdd3f33dffa8e3afe1acfb075c0c38b51d0b Author: Javier Etxarri <javier.echarri <at> openbravo.com> Date: Thu Feb 23 13:08:35 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/91dacdd3f33dffa8e3afe1acfb075c0c38b51d0b [^] Fixes issue 19605 , Fixes issue 19606: Generate Average Cost process should take into account goods receipts of same day checked as "permanent" and Generate Average cost process is not raising unposting error if all costing lines are set as "permanent". To solve the first problem I have added the permanets quantitites of the day first and to solve the second problem, now I take the min date from M_INOUT --- M src-db/database/model/functions/M_GENERATE_AVERAGE_COSTS.xml --- |
(0045562) maite (developer) 2012-02-28 18:47 |
verified |
(0045942) hudsonbot (developer) 2012-03-02 15: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/544d64e0c159 [^] Maturity status: Test |
(0050201) hgbot (developer) 2012-06-27 20:23 |
Repository: erp/devel/pi Changeset: 963a92ace9774e82961383a387322680d520ef53 Author: Javier Etxarri <javier.echarri <at> openbravo.com> Date: Thu Feb 23 13:08:35 2012 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/963a92ace9774e82961383a387322680d520ef53 [^] Fixes issue 19605 , Fixes issue 19606: Generate Average Cost process should take into account goods receipts of same day checked as "permanent" and Generate Average cost process is not raising unposting error if all costing lines are set as "permanent". To solve the first problem I have added the permanets quantitites of the day first and to solve the second problem, now I take the min date from M_INOUT --- M src-db/database/model/functions/M_GENERATE_AVERAGE_COSTS.xml --- |
(0050227) hudsonbot (developer) 2012-06-28 08:01 |
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/c66e853c5cf4 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-01-31 18:01 | maite | New Issue | |
2012-01-31 18:01 | maite | Assigned To | => jonalegriaesarte |
2012-01-31 18:01 | maite | Modules | => Core |
2012-01-31 18:01 | maite | Issue Monitored: networkb | |
2012-02-15 13:22 | jonalegriaesarte | Assigned To | jonalegriaesarte => jecharri |
2012-02-23 13:09 | hgbot | Checkin | |
2012-02-23 13:09 | hgbot | Note Added: 0045408 | |
2012-02-23 13:09 | hgbot | Status | new => resolved |
2012-02-23 13:09 | hgbot | Resolution | open => fixed |
2012-02-23 13:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/91dacdd3f33dffa8e3afe1acfb075c0c38b51d0b [^] |
2012-02-24 09:07 | jecharri | Status | resolved => new |
2012-02-24 09:07 | jecharri | Resolution | fixed => open |
2012-02-24 09:07 | jecharri | Status | new => scheduled |
2012-02-24 09:07 | jecharri | fix_in_branch | => pi |
2012-02-24 09:07 | jecharri | Status | scheduled => resolved |
2012-02-24 09:07 | jecharri | Resolution | open => fixed |
2012-02-28 18:47 | maite | Note Added: 0045562 | |
2012-02-28 18:47 | maite | Status | resolved => closed |
2012-03-02 15:39 | hudsonbot | Checkin | |
2012-03-02 15:39 | hudsonbot | Note Added: 0045942 | |
2012-06-27 20:23 | hgbot | Checkin | |
2012-06-27 20:23 | hgbot | Note Added: 0050201 | |
2012-06-27 20:23 | hgbot | Status | closed => resolved |
2012-06-27 20:23 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/91dacdd3f33dffa8e3afe1acfb075c0c38b51d0b [^] => http://code.openbravo.com/erp/devel/pi/rev/963a92ace9774e82961383a387322680d520ef53 [^] |
2012-06-28 08:01 | hudsonbot | Checkin | |
2012-06-28 08:01 | hudsonbot | Note Added: 0050227 | |
2012-06-28 12:33 | jecharri | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |