Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||
View Issue Details | |||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||
0028289 | Openbravo ERP | 04. Warehouse management | public | 2014-11-26 13:22 | 2014-12-30 23:28 | ||||||||||||||||
Reporter | psanjuan | ||||||||||||||||||||
Assigned To | umartirena | ||||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||||
Platform | OS | 20 | OS Version | Ubuntu 8.04.1 | |||||||||||||||||
Product Version | |||||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||||
Merge Request Status | |||||||||||||||||||||
Review Assigned To | Sandrahuguet | ||||||||||||||||||||
OBNetwork customer | |||||||||||||||||||||
Web browser | |||||||||||||||||||||
Modules | Core | ||||||||||||||||||||
Support ticket | |||||||||||||||||||||
Regression level | |||||||||||||||||||||
Regression date | |||||||||||||||||||||
Regression introduced in release | |||||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||||
Summary | 0028289: [Costing] No cost calculated in case costing rule does not have a starting date nor a fix backdated from date | ||||||||||||||||||||
Description | [Costing] No cost calculated in case costing rule does not have a starting date nor a fix backdated from date | ||||||||||||||||||||
Steps To Reproduce | Create a new client and a new organization (legal entity with accounting) in that client. Setup the vary basics such as fiscal calendar, open/close periods, BP group, Product group, Price Schema, Price list, a BP and a product. This setup should allow you to create and book a purchase order, a goods receipt of that order and the corresponding purchase invoice. Go to Costing rule and create a new one by entering below data: -Warehouse dimension = Yes -Fix backdated transactions = Yes Do not enter any starting date. Validate the costing rule. Realize that there is no date in Starting date field nor in Fix Backdated Transactions From field. Go to process request window and create a new one for your client by choosing "Costing Background Process". After completing a goods receipt, navigate to process request window and launch costing background process. Realize that this run is not set as "successfully" and no cost for the product has been calculated. The issue is related to the fact that date is null. | ||||||||||||||||||||
Proposed Solution | In case the end-user does not enter an starting date nor a fix backdated from date for the first costing rule created, Openbravo should behave as described below while "validating" this first costing rule: (1) if the costing rule is being created for a "Legal without Accounting" organization: (1.1) A new window is going to be shown letting the end user know that as no starting date is provided, Openbravo is going to calculate the cost of all the transactions booked. This new window will have an "OK" and "Cancel" button. Text message: "The cost of all existing transactions is going to be calculate as no costing rule starting date is provided". (1.1.1) If the user press "Ok", the "Starting Date" should not be set to null but to 1-1-1900. Same applies to "Fix Backdated From Date", it should also be set to 1-1-1900. Those two dates should NOT be populated in the corresponding fields but kept "internally". (1.1.2) If the user press "Cancel", costing rule validation process stops. (2) if the costing rule is being created for a "Legal with Accounting" organization. This kind of organizations are always linked to a "unique" fiscal calendar whose periods/documents can either be open or closed. Openbravo should always check first whether there are transactions dated on a period closed whose costs need to be calculated. (2.1) If that is not the case (There are no transactions whose costs needs to be calculated dated on a closed period but open period) - a new window is going to be shown letting the end user know that as no starting date is provided, Openbravo is going to calculate the cost of all existing transactions booked. This new window will have an "OK" and "Cancel" button. Text message: "The cost of all existing transactions booked is going to be calculate as no costing rule starting date is provided". (2.1.1) If the user press "Ok", the "Starting Date" should not be set to null but to 1-1-1900. Same applies to "Fix Backdated From Date", it should also be set to 1-1-1900. Those two dates should NOT be populated in the corresponding fields but kept "internally". (2.1.2) If the user press "Cancel", costing rule validation process stops. (2.2) If that is the case (There are transactions whose costs needs to be calculated dated on a closed period): A new window is going to be shown letting the end user know that there are transactions dated on a period closed whose costs need to be calculated, in fact the cost of those transactions will be calculated but not post unless the corresponding periods are opened. This new window will have an "OK" and "Cancel" button. Text message: "There are transactions dated on a period closed whose costs need to be calculated. If you press "OK" the cost of those transactions will be calculated but it will not be possible to post them unless you open the corresponding periods. Otherwise please enter an starting date for the costing rule within an open period". (2.2.1) If the end user press "OK" the "Starting Date" should not be set to null but to 1-1-1900. Same applies to "Fix Backdated From Date", it should also be set to 1-1-1900. Those two dates should NOT be populated in the corresponding fields but kept "internally". Same way all cost will be calculated regardless the ones related to transactions dated on a closed period could not be posted. Same applies to Fix Backdated Transactions. (2.2.2) If the end user press "Cancel", costing rule validation process stops. End-user could then: * Enter an later costing rule starting date within an open period. * Open the periods and validate then the costing rule by do not entering an starting date Additional validation: * "Fix backdated from date" must always be after Costing Rule "Starting Date". It is important to remark that: * A period closed for an organization means that any/all documents are in status: **Closed **Never opened **Permanently closed **Mixed * A period open for an organization means that all documents are in status: ** Open | ||||||||||||||||||||
Additional Information | |||||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||||
Relationships |
| ||||||||||||||||||||
Attached Files | |||||||||||||||||||||
Issue History | |||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||
2014-11-26 13:22 | psanjuan | New Issue | |||||||||||||||||||
2014-11-26 13:22 | psanjuan | Assigned To | => dmiguelez | ||||||||||||||||||
2014-11-26 13:22 | psanjuan | Modules | => Core | ||||||||||||||||||
2014-11-26 13:22 | psanjuan | Triggers an Emergency Pack | => No | ||||||||||||||||||
2014-11-26 13:24 | psanjuan | Assigned To | dmiguelez => Sandrahuguet | ||||||||||||||||||
2014-12-05 14:27 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-09 10:09 | hgbot | Checkin | |||||||||||||||||||
2014-12-09 10:09 | hgbot | Note Added: 0072340 | |||||||||||||||||||
2014-12-09 10:09 | hgbot | Status | new => resolved | ||||||||||||||||||
2014-12-09 10:09 | hgbot | Resolution | open => fixed | ||||||||||||||||||
2014-12-09 10:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/1a024cd666f789bf12d5fa7f2004e77e2fe33b76 [^] | ||||||||||||||||||
2014-12-09 14:55 | psanjuan | Note Added: 0072363 | |||||||||||||||||||
2014-12-09 14:57 | psanjuan | Note Edited: 0072363 | bug_revision_view_page.php?bugnote_id=0072363#r7229 | ||||||||||||||||||
2014-12-09 15:09 | psanjuan | Note Edited: 0072363 | bug_revision_view_page.php?bugnote_id=0072363#r7230 | ||||||||||||||||||
2014-12-10 11:10 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-10 12:07 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-10 12:07 | psanjuan | Status | resolved => new | ||||||||||||||||||
2014-12-12 11:18 | psanjuan | Assigned To | Sandrahuguet => umartirena | ||||||||||||||||||
2014-12-12 11:18 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-12 11:20 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-12 11:29 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-12 11:30 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-12 12:29 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-12 14:57 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-12 15:01 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-12 15:06 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-12 15:06 | psanjuan | Proposed Solution updated | |||||||||||||||||||
2014-12-17 10:48 | dmitry_mezentsev | Relationship added | related to 0028423 | ||||||||||||||||||
2014-12-17 20:26 | hgbot | Checkin | |||||||||||||||||||
2014-12-17 20:26 | hgbot | Note Added: 0072678 | |||||||||||||||||||
2014-12-17 20:26 | hgbot | Status | new => resolved | ||||||||||||||||||
2014-12-17 20:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/1a024cd666f789bf12d5fa7f2004e77e2fe33b76 [^] => http://code.openbravo.com/erp/devel/pi/rev/cf44dffa9a4d8d01e3bc7af598c0b1f8ac739136 [^] | ||||||||||||||||||
2014-12-17 21:54 | hgbot | Checkin | |||||||||||||||||||
2014-12-17 21:54 | hgbot | Note Added: 0072682 | |||||||||||||||||||
2014-12-17 21:55 | umartirena | Relationship added | related to 0028445 | ||||||||||||||||||
2014-12-18 17:57 | Sandrahuguet | Review Assigned To | => Sandrahuguet | ||||||||||||||||||
2014-12-18 19:07 | Sandrahuguet | Note Added: 0072713 | |||||||||||||||||||
2014-12-19 13:15 | hgbot | Checkin | |||||||||||||||||||
2014-12-19 13:15 | hgbot | Note Added: 0072738 | |||||||||||||||||||
2014-12-19 14:31 | psanjuan | Note Added: 0072741 | |||||||||||||||||||
2014-12-19 14:31 | psanjuan | Status | resolved => closed | ||||||||||||||||||
2014-12-19 15:07 | hgbot | Checkin | |||||||||||||||||||
2014-12-19 15:07 | hgbot | Note Added: 0072742 | |||||||||||||||||||
2014-12-30 23:27 | hudsonbot | Checkin | |||||||||||||||||||
2014-12-30 23:27 | hudsonbot | Note Added: 0073185 | |||||||||||||||||||
2014-12-30 23:28 | hudsonbot | Checkin | |||||||||||||||||||
2014-12-30 23:28 | hudsonbot | Note Added: 0073240 | |||||||||||||||||||
2014-12-30 23:28 | hudsonbot | Checkin | |||||||||||||||||||
2014-12-30 23:28 | hudsonbot | Note Added: 0073241 | |||||||||||||||||||
2014-12-30 23:28 | hudsonbot | Checkin | |||||||||||||||||||
2014-12-30 23:28 | hudsonbot | Note Added: 0073250 | |||||||||||||||||||
2014-12-30 23:28 | hudsonbot | Checkin | |||||||||||||||||||
2014-12-30 23:28 | hudsonbot | Note Added: 0073251 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|