Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033002 | Openbravo ERP | 04. Warehouse management | public | 2016-05-19 16:32 | 2016-06-17 19:37 |
|
Reporter | ngarcia | |
Assigned To | aferraz | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR16Q3 | Fixed in Version | 3.0PR16Q3 | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 42061 |
Regression level | Production - QA Approved |
Regression date | 2015-11-27 |
Regression introduced in release | 3.0PR16Q1 |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/92d905a6c013 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0033002: Stock available previous to the validation of the costing rule is not shown in Valued Stock Report |
Description | Stock available previous to the validation of the costing rule is not shown in Valued Stock Report. The starting date (timestamp) is truncated to date with the to_date function. Example:
to_date('02-07-2015 20:36:35') -> '2015-07-02 00:00:00' |
Steps To Reproduce | As group admin role:
Check there is stock of a product
Validate a costing rule for the organization the stock belongs to
Create a goods receipt for that product
Launch the Costing Background Process and check it finishes successfully
Launch the Valued Stock Report with tomorrow's date and check only the stock received in the goods receipt is shown |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0033006 | 3.0PR16Q2 | closed | aferraz | Stock available previous to the validation of the costing rule is not shown in Valued Stock Report | depends on | backport | 0033007 | 3.0PR16Q1.2 | closed | aferraz | Stock available previous to the validation of the costing rule is not shown in Valued Stock Report | caused by | defect | 0031415 | 3.0PR16Q1 | closed | aferraz | The valued stock report is not taking into account the starting date of the costing rule |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-05-19 16:32 | ngarcia | New Issue | |
2016-05-19 16:32 | ngarcia | Assigned To | => Triage Finance |
2016-05-19 16:32 | ngarcia | OBNetwork customer | => Yes |
2016-05-19 16:32 | ngarcia | Modules | => Core |
2016-05-19 16:32 | ngarcia | Support ticket | => 42061 |
2016-05-19 16:32 | ngarcia | Resolution time | => 1465336800 |
2016-05-19 16:32 | ngarcia | Triggers an Emergency Pack | => No |
2016-05-19 17:10 | ngarcia | Issue Monitored: networkb | |
2016-05-19 17:17 | ngarcia | Description Updated | bug_revision_view_page.php?rev_id=12173#r12173 |
2016-05-19 17:17 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12175#r12175 |
2016-05-19 17:17 | ngarcia | Relationship added | caused by 0031415 |
2016-05-20 09:30 | aferraz | Status | new => scheduled |
2016-05-20 09:30 | aferraz | Relationship deleted | depends on 0033008 |
2016-05-20 10:11 | aferraz | Assigned To | Triage Finance => aferraz |
2016-05-20 11:04 | aferraz | Note Added: 0086596 | |
2016-05-20 13:29 | hgbot | Checkin | |
2016-05-20 13:29 | hgbot | Note Added: 0086617 | |
2016-05-20 13:29 | hgbot | Status | scheduled => resolved |
2016-05-20 13:29 | hgbot | Resolution | open => fixed |
2016-05-20 13:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/98ac1279b215ca0f41ca2844a584b4a7fa315082 [^] |
2016-05-20 13:32 | dmiguelez | Review Assigned To | => dmiguelez |
2016-05-20 13:32 | dmiguelez | Note Added: 0086620 | |
2016-05-20 13:32 | dmiguelez | Status | resolved => closed |
2016-05-23 12:57 | aferraz | Regression level | => Production - QA Approved |
2016-05-23 12:57 | aferraz | Regression date | => 2015-11-27 |
2016-05-23 12:57 | aferraz | Regression introduced in release | => 3.0PR16Q1 |
2016-05-23 12:57 | aferraz | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/92d905a6c013 [^] |
2016-05-23 12:58 | aferraz | Fixed in Version | => 3.0PR16Q3 |
2016-05-23 12:58 | aferraz | Target Version | => 3.0PR16Q3 |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087549 | |
Notes |
|
|
Test Plan:
As group admin role:
Check there is stock of a product
Validate a costing rule for the organization the stock belongs to
Create a goods receipt for that product
Launch the Costing Background Process and check it finishes successfully
Launch the Valued Stock Report with tomorrow's date and check previous stock + stock received in the goods receipt is shown |
|
|
(0086617)
|
hgbot
|
2016-05-20 13:29
|
|
Repository: erp/devel/pi
Changeset: 98ac1279b215ca0f41ca2844a584b4a7fa315082
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri May 20 10:08:11 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/98ac1279b215ca0f41ca2844a584b4a7fa315082 [^]
Fixes issue 33002: Stock before costing rule not shown in Valued Stock Report
Convert current costing rule starting date with to_timestamp instead of with to_date function to avoid date truncation.
Before, current costing rule starting date was truncated and closing and opening inventories created by costing rule validation were taken, so stock was zero.
Now, current costing rule starting date will not be truncated and only opening inventory created by costing rule validation will be taken, then stock will be the same as before the costing rule.
---
M src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.java
M src/org/openbravo/erpCommon/ad_reports/ReportValuationStock_data.xsql
---
|
|
|
|
|
|
|
|