Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027924Openbravo ERP04. Warehouse managementpublic2014-10-21 10:022014-12-30 23:23
psanjuan 
Sandrahuguet 
urgentmajoralways
closedfixed 
20Ubuntu 8.04.1
 
 
Core
No
0027924: It should be possible to enter a "Fix Backdated From" date while creating a new costing rule
It should be possible to enter a "Fix Backdated From" date while creating a new costing rule, otherwise costing rule starting date is used.

That starting date would not be enough under some scenarios, for instance booking a landed cost that impacts a receipt dated on an early date than costing rule starting date.

System should check that fix backdated from date entered is not part of a period closed.
Create a costing rule starting today (17/10/2014) select "warehouse dimension" and "backdated transactions fixed" checks.
Validate costing rule
Realize that Fix Backdated From date is set to 17/10/2014

Go to landed cost window and create a new one dated on 21/10/2014.

Go to Cost tab and select a landed cost type, enter an amount

Go to Receipt tab and select a receipt dated on 10/10/2014

Process landed cost. Below error is shown as the costing rule for 10/10/2014 period does not have a Fix Backdated From date set.
No tags attached.
related to defect 0027900 closed Sandrahuguet It is not possible to enter a fix backdated from date while creating and validating a new costing rule 
png issue_27924_1.png (122,743) 2014-10-21 10:03
https://issues.openbravo.com/file_download.php?file_id=7399&type=bug
png

png issue_27924_2.png (288,269) 2014-10-21 10:04
https://issues.openbravo.com/file_download.php?file_id=7400&type=bug
Issue History
2014-10-21 10:02psanjuanNew Issue
2014-10-21 10:02psanjuanAssigned To => dmiguelez
2014-10-21 10:02psanjuanModules => Core
2014-10-21 10:02psanjuanTriggers an Emergency Pack => No
2014-10-21 10:03psanjuanFile Added: issue_27924_1.png
2014-10-21 10:04psanjuanFile Added: issue_27924_2.png
2014-10-21 10:07psanjuanRelationship addedrelated to 0027900
2014-10-21 10:08psanjuanAssigned Todmiguelez => Sandrahuguet
2014-10-22 09:05hgbotCheckin
2014-10-22 09:05hgbotNote Added: 0071109
2014-10-22 09:05hgbotStatusnew => resolved
2014-10-22 09:05hgbotResolutionopen => fixed
2014-10-22 09:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b5e8daacf3c8edd290772794bd0abdd66aa970c7 [^]
2014-10-23 10:50hgbotCheckin
2014-10-23 10:50hgbotNote Added: 0071122
2014-10-27 11:05psanjuanNote Added: 0071183
2014-10-27 13:25hgbotCheckin
2014-10-27 13:25hgbotNote Added: 0071194
2014-10-27 17:06hgbotCheckin
2014-10-27 17:06hgbotNote Added: 0071205
2014-10-28 10:31psanjuanNote Added: 0071210
2014-10-28 10:31psanjuanStatusresolved => closed
2014-12-30 23:23hudsonbotCheckin
2014-12-30 23:23hudsonbotNote Added: 0072967
2014-12-30 23:23hudsonbotCheckin
2014-12-30 23:23hudsonbotNote Added: 0072972
2014-12-30 23:23hudsonbotCheckin
2014-12-30 23:23hudsonbotNote Added: 0072993
2014-12-30 23:23hudsonbotCheckin
2014-12-30 23:23hudsonbotNote Added: 0072994

Notes
(0071109)
hgbot   
2014-10-22 09:05   
Repository: erp/devel/pi
Changeset: b5e8daacf3c8edd290772794bd0abdd66aa970c7
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Oct 22 09:04:25 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b5e8daacf3c8edd290772794bd0abdd66aa970c7 [^]

Fixed bug 27924 be able to enter backdatedfrom while creating a costing rule

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/costing/CostingRuleProcess.java
A src/org/openbravo/event/CostingRuleEventHandler.java
---
(0071122)
hgbot   
2014-10-23 10:50   
Repository: erp/devel/pi
Changeset: f0c91f7c10dd86d6cf52d870ff8df4d96ed0a4ea
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Thu Oct 23 10:49:56 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f0c91f7c10dd86d6cf52d870ff8df4d96ed0a4ea [^]

Related to issue 27924

Filter by organization in query should be by FinancialMgmtPeriodControl

---
M src/org/openbravo/event/CostingRuleEventHandler.java
---
(0071183)
psanjuan   
2014-10-27 11:05   
If the check "Backdated Transactions Fixed" is not selected costing rule "starting date" is populated in the field "Fix Backdated From" anyway. This needs to be fixed.
(0071194)
hgbot   
2014-10-27 13:25   
Repository: erp/devel/pi
Changeset: e10bf2835c4435f12180340d44ddfd7d4816369d
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Mon Oct 27 13:24:18 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e10bf2835c4435f12180340d44ddfd7d4816369d [^]

Related to issue 27924

---
M src/org/openbravo/costing/CostingRuleProcess.java
M src/org/openbravo/costing/FixBackdatedTransactionsProcess.java
M src/org/openbravo/event/CostingRuleEventHandler.java
---
(0071205)
hgbot   
2014-10-27 17:06   
Repository: erp/devel/pi
Changeset: db7f984901c5307a213f1f384a40e33a88c2b742
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Mon Oct 27 17:01:34 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/db7f984901c5307a213f1f384a40e33a88c2b742 [^]

Related to issue 27924

---
M src/org/openbravo/event/CostingRuleEventHandler.java
---
(0071210)
psanjuan   
2014-10-28 10:31   
Verified it is possible to enter a fix backdated from date while creating a new costing rule. If no date is entered starting date of the costing rule is set as fix backdated from date.
(0072967)
hudsonbot   
2014-12-30 23:23   
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/6525fe229e06 [^]
Maturity status: Test
(0072972)
hudsonbot   
2014-12-30 23:23   
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/6525fe229e06 [^]
Maturity status: Test
(0072993)
hudsonbot   
2014-12-30 23:23   
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/6525fe229e06 [^]
Maturity status: Test
(0072994)
hudsonbot   
2014-12-30 23:23   
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/6525fe229e06 [^]
Maturity status: Test