Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0043554 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2020-03-24 13:23 | 2020-04-08 09:55 | |||
Reporter | santi_lozano | View Status | public | |||||
Assigned To | inigo_lerga | |||||||
Priority | high | Resolution | fixed | Fixed in Version | PR20Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0fcd14a364f0 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | dmiguelez | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 15311 | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2016-04-23 | |||||||
Regression introduced in release | 3.0PR15Q1.2 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/038e26600576ccd2ed3d23edaf9b91d623c8deba [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0043554: Costing Background Process is not creating necessary standard costs when costing rule has changed to be standard | |||||||
Description | Having average cost calculation for an organization, when changing the Costing Rule to be for standard and validating this rule, standard costs are not created with the next Costing Background Process. Neither if we do an Inventory Amount Update. | |||||||
Steps To Reproduce | * Go to Openbravo livebuilds latest version without modules, access with role F&B International Group https://livebuids.openbravo.com/retail_stable_pgsql_pi/ [^] * Go to Costing Rules tab, check that there are only two entries, one for each Organization and both for Costing Algorithm of type Average Algorithm * Create a new one: Organization = F&B España, S.A., Costing Algorithm = Standard Algorithm. Leave the resting fields with their default values * Click on button Validate Costing Rule * Go to window Process Request, select the Costing Background Process. Go to its Process Monitor tab, every 5 minutes a new entry should appear here, wait for the new one to appear (refresh tab if necessary). There is a message on the log “No standard cost defined for given product and date. Org:F&B España, S.A, Product: Zumo de Naranja Bio 0,33L” when it should be creating this cost * Go back to Costing Rules, select the created one. Go to Initialization tab, select line for España Región Sur, click on link Init Inventory. Get one Product name that appears here on lines (ie: Limonada) * Go to Product window, search for that product (Limonada), go to tab Costing, add filter to search for Standard on Cost Type column. Notice that there is no standard cost here created. * Go to Inventory Amount Update window. Create a new one for Organization F&B España, S.A. On Lines create a new one for that previous product (Limonada), set a new Unit Cost, for example 1.5. Click on button Process. Wait for the Costing Background Process to be executed. Check again for that product if there exist Standard Cost (nothing created here neither) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0118918) inigo_lerga (viewer) 2020-04-02 11:45 |
--Test Plan Mantis-- As the F&B International Group Admin role: - Go to the Process request window and open the Costing Background Process record. Press the Unschedule Process button. - Create a new record with every field as default. Put "Costing Background Process" in the Process field. - Go to the Costing Rules window and create a new record for Organization "F&B España, S.A" and "Standard Algorithm" as Costing Algorith. Press the Validate Costing Rule and Done in the popup window. - Go back to the Process request window and press the Schedule Process in the previously created record. #In this moment the necessary standard costs are generated# |
(0119088) hgbot (developer) 2020-04-08 09:54 |
Repository: erp/devel/pi Changeset: 0fcd14a364f0b6e52d5a79926ca63ddeb4b2f047 Author: Iñigo Lerga <inigo.lerga <at> openbravo.com> Date: Thu Apr 02 11:37:33 2020 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/0fcd14a364f0b6e52d5a79926ca63ddeb4b2f047 [^] fixes BUG-43554:Std costs are now created when enabling std costing rule --- M src/org/openbravo/costing/AverageAlgorithm.java M src/org/openbravo/costing/CostingUtils.java M src/org/openbravo/costing/StandardAlgorithm.java --- |
(0119089) dmiguelez (viewer) 2020-04-08 09:55 |
Code Review + Testing Ok |
![]() |
|||
Date Modified | Username | Field | Change |
2020-03-24 13:23 | santi_lozano | New Issue | |
2020-03-24 13:23 | santi_lozano | Assigned To | => Triage Finance |
2020-03-24 13:23 | santi_lozano | OBNetwork customer | => OBPS |
2020-03-24 13:23 | santi_lozano | Modules | => Core |
2020-03-24 13:23 | santi_lozano | Support ticket | => 15311 |
2020-03-24 13:23 | santi_lozano | Resolution time | => 1586815200 |
2020-03-24 13:23 | santi_lozano | Triggers an Emergency Pack | => No |
2020-03-24 13:24 | santi_lozano | File Added: 001.png | |
2020-03-24 13:24 | santi_lozano | File Added: 002.png | |
2020-03-24 13:24 | santi_lozano | File Added: 003.png | |
2020-03-24 13:24 | santi_lozano | File Added: 004.png | |
2020-03-24 15:51 | inigo_lerga | Assigned To | Triage Finance => inigo_lerga |
2020-03-24 15:51 | inigo_lerga | Status | new => scheduled |
2020-03-31 11:32 | dmiguelez | Regression level | => Production - Confirmed Stable |
2020-03-31 11:32 | dmiguelez | Regression date | => 2016-04-23 |
2020-03-31 11:32 | dmiguelez | Regression introduced in release | => 3.0PR15Q1.2 |
2020-03-31 11:32 | dmiguelez | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/038e26600576ccd2ed3d23edaf9b91d623c8deba [^] |
2020-04-02 11:45 | inigo_lerga | Note Added: 0118918 | |
2020-04-08 09:54 | hgbot | Checkin | |
2020-04-08 09:54 | hgbot | Note Added: 0119088 | |
2020-04-08 09:54 | hgbot | Status | scheduled => resolved |
2020-04-08 09:54 | hgbot | Resolution | open => fixed |
2020-04-08 09:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0fcd14a364f0b6e52d5a79926ca63ddeb4b2f047 [^] |
2020-04-08 09:55 | dmiguelez | Review Assigned To | => dmiguelez |
2020-04-08 09:55 | dmiguelez | Note Added: 0119089 | |
2020-04-08 09:55 | dmiguelez | Status | resolved => closed |
2020-04-08 09:55 | dmiguelez | Fixed in Version | => 3.0PR20Q3 |
Copyright © 2000 - 2009 MantisBT Group |