Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0031026 | Openbravo ERP | 04. Warehouse management | public | 2015-10-02 12:26 | 2015-11-23 21:16 |
|
Reporter | VictorVillar | |
Assigned To | aferraz | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 38014 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0031026: wrong warehouse in the lines of the inventory amount update |
Description | wrong warehouse in the lines of the inventory amount update. |
Steps To Reproduce | As group admin role,
Go to Inventory Amount Update
Create a new for España.
Lines tab:
select the product Zumo de Naranja
Save it.
In grid mode realise that the Warehouse field is filled and appears España Región norte and the on hand qty is: 523300 which is the sum between Norte and Sur warehouses.
Warehouse field is something that is displayed only when the Costing rule is defined as Warehouse dimension so in other case this field should be blank. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0031036 | 3.0PR16Q1 | closed | aferraz | Wrong on hand quantity calculation in Inventory Amount Update | related to | defect | 0031041 | | closed | aferraz | The inventory amount update is not working fine under some circunstancies | related to | defect | 0031069 | 3.0PR16Q1 | closed | aferraz | Wrong cost calculation using inventory amount update caused by remaining valuation |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-10-02 12:26 | VictorVillar | New Issue | |
2015-10-02 12:26 | VictorVillar | Assigned To | => Triage Finance |
2015-10-02 12:26 | VictorVillar | OBNetwork customer | => Yes |
2015-10-02 12:26 | VictorVillar | Modules | => Core |
2015-10-02 12:26 | VictorVillar | Support ticket | => 38014 |
2015-10-02 12:26 | VictorVillar | Resolution time | => 1444082400 |
2015-10-02 12:26 | VictorVillar | Triggers an Emergency Pack | => No |
2015-10-02 12:27 | VictorVillar | Issue Monitored: networkb | |
2015-10-05 11:42 | aferraz | Assigned To | Triage Finance => aferraz |
2015-10-05 12:44 | VictorVillar | Relationship added | related to 0031036 |
2015-10-05 12:44 | VictorVillar | Relationship added | related to 0031041 |
2015-10-05 13:45 | aferraz | Status | new => scheduled |
2015-10-06 12:48 | psanjuan | Note Added: 0080842 | |
2015-10-06 13:55 | psanjuan | Note Edited: 0080842 | bug_revision_view_page.php?bugnote_id=0080842#r9619 |
2015-10-06 13:57 | psanjuan | Note Edited: 0080842 | bug_revision_view_page.php?bugnote_id=0080842#r9620 |
2015-10-06 16:11 | VictorVillar | Relationship added | related to 0031069 |
2015-10-08 14:16 | hgbot | Checkin | |
2015-10-08 14:16 | hgbot | Note Added: 0080888 | |
2015-10-08 14:16 | hgbot | Status | scheduled => resolved |
2015-10-08 14:16 | hgbot | Resolution | open => fixed |
2015-10-08 14:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8d000060c64f62322838aaaa3f7278dd6072bb82 [^] |
2015-10-08 15:42 | psanjuan | Note Edited: 0080842 | bug_revision_view_page.php?bugnote_id=0080842#r9647 |
2015-10-09 09:39 | psanjuan | Note Edited: 0080842 | bug_revision_view_page.php?bugnote_id=0080842#r9654 |
2015-10-09 09:41 | psanjuan | Note Edited: 0080842 | bug_revision_view_page.php?bugnote_id=0080842#r9655 |
2015-10-09 10:17 | psanjuan | Note Edited: 0080842 | bug_revision_view_page.php?bugnote_id=0080842#r9660 |
2015-10-09 13:59 | hgbot | Checkin | |
2015-10-09 13:59 | hgbot | Note Added: 0080919 | |
2015-10-09 14:59 | psanjuan | Note Edited: 0080842 | bug_revision_view_page.php?bugnote_id=0080842#r9665 |
2015-10-09 15:00 | psanjuan | Note Edited: 0080842 | bug_revision_view_page.php?bugnote_id=0080842#r9666 |
2015-10-09 15:00 | psanjuan | Note Added: 0080923 | |
2015-10-09 15:03 | dmiguelez | Review Assigned To | => dmiguelez |
2015-10-09 15:03 | dmiguelez | Note Added: 0080924 | |
2015-10-09 15:03 | dmiguelez | Status | resolved => closed |
2015-11-23 21:16 | hudsonbot | Checkin | |
2015-11-23 21:16 | hudsonbot | Note Added: 0082119 | |
2015-11-23 21:16 | hudsonbot | Checkin | |
2015-11-23 21:16 | hudsonbot | Note Added: 0082123 | |
Notes |
|
(0080842)
|
psanjuan
|
2015-10-06 12:48
(edited on: 2015-10-09 15:00) |
|
Before installing the patch:
In F&B International Group, go to Costing Rule window.
Verify that the valid costing rule for F&B España does not have Warehouse Dimension selected.
Go to Product Window and search for "Zumo de Naranja Bio 0.33L" Product.
Go to Transaction tab and sum up Movement Quantity column, therefore you get below results:
Storage Bin RN-X-X-X = 454.200 (linked to Wh España Region Norte)
Storage Bin RS-X-X-X = 69.100 (Linkde to Wh España Region Sur)
Total quantity on hand = 523.300
Launch Stock Report and verify that data above are correct.
Go to Inventory Amount Update window and create a new one for F&B España, dated on current date, that is 09-10-2015, go to lines tab and in "form" view create a new record, select Zumo de Naranja product.
Realize that Warehouse field is not shown and the field On hand Qty shows 523.300 which is correct. Save
Change to Grid view and realize that Warehouse field is shown, showing España Region Norte which is not correct.
Delete the line and the inventory amount update.
Apply the patch.
Go to Inventory Amount Update window and create a new one for F&B España, go to lines tab and in "form" view create a new record, select Zumo de Naranja product.
Realize that Warehouse field is not shown now and the field On hand Qty shows 523.300 which is correct. Save
Change to Grid view and realize that Warehouse field is shown but empty which is correct.
Delete the line and the inventory amount update.
Go to Costing rule window, and create a new one for F&B España org by setting Warehouse as a costing dimension. Validate Costing Rule. Starting date of this new costing rule, is current date, that is 09-10-2015 HH:MM:SS
After that go to Inventory Amount Update window, create a new one dated on 09-10-2015
Go to lines tab and create a new record in form view.
Realize that warehouse field is now shown, therefore a warehouse can be selected.
Select product "Zumo de Naranja Bio 0.33L" and WH España Region Norte. An on hand quatity = 454.200 is shown, which is correct.
Change the warehouse to España Region Sur, an on hand quantity = 69.100 is shown, which is correct.
|
|
|
(0080888)
|
hgbot
|
2015-10-08 14:16
|
|
Repository: erp/devel/pi
Changeset: 8d000060c64f62322838aaaa3f7278dd6072bb82
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Oct 08 14:15:32 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8d000060c64f62322838aaaa3f7278dd6072bb82 [^]
Fixes issue 31026: Wrong warehouse in Inventory Amount Update Lines
When current costing rule does not have Warehouse Dimension flag activated, warehouse field should be empty in Inventory Amount Update Lines.
In this case, SL_InvAmtUpd_ProductRefDate callout will return a null warehouseId.
Document date and Reference date references in Inventory Amount update have been changed from Date to DateTime, to get the correct value when checking the current costing rule.
Reference date will also have Document date value as default value instead of current date.
---
M src-db/database/sourcedata/AD_COLUMN.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_InvAmtUpd_ProductRefDate.java
---
|
|
|
(0080919)
|
hgbot
|
2015-10-09 13:59
|
|
Repository: erp/devel/pi
Changeset: b75349aa9d0f6167e75fe10b376e84fdada77f28
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri Oct 09 13:57:19 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b75349aa9d0f6167e75fe10b376e84fdada77f28 [^]
Related to issue 31026: Change from DateTime to Absolute DateTime
Document date and Reference date references in Inventory Amount update have been changed from DateTime to Absolute DateTime, to avoid UTC conversion.
Also dateTimeFormat.java should be used instead of dateFormat.java for date formating.
---
M src-db/database/sourcedata/AD_COLUMN.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_InvAmtUpd_ProductRefDate.java
---
|
|
|
|
Test plan above verified, issue can be closed. |
|
|
|
|
|
|
|
|
|
|