Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038932Openbravo ERP04. Warehouse managementpublic2018-07-11 16:342018-08-08 13:06
ngarcia 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
3.0PR18Q4 
Sandrahuguet
Core
No
0038932: Wrong date in Costing tab when manually adjusting a stock decrease: ending date is prior to starting date
Wrong date in Costing tab when manually adjusting a stock decrease: ending date is prior to starting date
As group admin role:
   Check Costing Rule does not have Backdated Transactions fixed
   Go to Lemonade product
   Select the transaction related with a Goods Shipment with -3800 units and '24-07-2012' movement date
   Add a manual Cost Adjustment:
      Total Cost Amount: 100
      Accounting Date: today
      Incremental: Y
      Unit Cost: N
   Check in Costing tab the following two entries exist:
      1. 23-07-2012 - today
      2. today - 25-09-2012
No tags attached.
Issue History
2018-07-11 16:34ngarciaNew Issue
2018-07-11 16:34ngarciaAssigned To => Triage Finance
2018-07-11 16:34ngarciaModules => Core
2018-07-11 16:34ngarciaTriggers an Emergency Pack => No
2018-07-11 16:35ngarciaIssue Monitored: networkb
2018-07-11 16:36ngarciaResolution time => 1533074400
2018-07-19 12:02dmiguelezAssigned ToTriage Finance => AtulOpenbravo
2018-07-25 20:51AtulOpenbravoStatusnew => scheduled
2018-07-30 22:28AtulOpenbravoNote Added: 0106024
2018-08-02 11:44hgbotCheckin
2018-08-02 11:44hgbotNote Added: 0106113
2018-08-02 11:44hgbotStatusscheduled => resolved
2018-08-02 11:44hgbotResolutionopen => fixed
2018-08-02 11:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1de5f88e8ae4e14390b92564d4578ffbc62ac468 [^]
2018-08-02 11:45SandrahuguetReview Assigned To => Sandrahuguet
2018-08-02 11:45SandrahuguetNote Added: 0106114
2018-08-02 11:45SandrahuguetStatusresolved => closed
2018-08-02 11:45SandrahuguetFixed in Version => 3.0PR18Q4
2018-08-08 13:06hudsonbotCheckin
2018-08-08 13:06hudsonbotNote Added: 0106236

Notes
(0106024)
AtulOpenbravo   
2018-07-30 22:28   
Test Plan

- Login as Group Admin Role.
- Check Costing Rule does not have Backdated Transactions fixed
- Go to Lemonade product
- Select the transaction related with a Goods Shipment with -3800 units and '24-07-2012' movement date
- Add a manual Cost Adjustment:
      Total Cost Amount: 100
      Accounting Date: today
      Incremental: Y
      Unit Cost: N
- Check in Costing tab the following entry exists with
Starting Date 24-07-2012
Ending Date 25-09-2012
(0106113)
hgbot   
2018-08-02 11:44   
Repository: erp/devel/pi
Changeset: 1de5f88e8ae4e14390b92564d4578ffbc62ac468
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Jul 31 00:08:23 2018 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/1de5f88e8ae4e14390b92564d4578ffbc62ac468 [^]

Fixes Issue 38932:Wrong date in Costing tab when manually
adjusting a stock decrease: ending date is prior to
starting date

** Use transaction process date instead of current date
to create costing register

---
M src/org/openbravo/costing/AverageCostAdjustment.java
---
(0106114)
Sandrahuguet   
2018-08-02 11:45   
Code review + testing OK
(0106236)
hudsonbot   
2018-08-08 13:06   
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/bfd7a414183a [^]
Maturity status: Test