Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0017003 | Openbravo ERP | 04. Warehouse management | public | 2011-05-04 15:02 | 2011-06-13 10:45 | |||||||||||||||||||||
Reporter | adrianromero | |||||||||||||||||||||||||
Assigned To | dalsasua | |||||||||||||||||||||||||
Priority | immediate | Severity | major | Reproducibility | have not tried | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | pi | |||||||||||||||||||||||||
Target Version | pi | Fixed in Version | 3.0MP0 | |||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | ||||||||||||||||||||||||||
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 | 0017003: M_INOUT_CREATE, Products are not taken in the correct order. Movements between bins modifies the FIFO order. | |||||||||||||||||||||||||
Description | Selection of products for Shipments is based in the CREATED field of the M_STORAGE_DETAIL as done in the related issue 15796. This is not the correct order in all cases because movements between bins modifies the order the product is took. A best option instead of the CREATED field of the table M_STORAGE_DETAIL is the CREATED field of the table M_ATTRIBUTESETINSTANCE because this record is created when goods are created and are not modified when goods are moved from one bin to another... | |||||||||||||||||||||||||
Steps To Reproduce | Create a new product, stocked and with an attributeset that has lot and with a price. Create and complete an Income Shipment with the following details: Org: F&B España - Región Norte Warehouse: España Región Norte Product: The new created product. Lot: 0 Bin: RN-1-0-0 Movement Quantity: 100 Create and complete another Income Shipment with the following details: Org: F&B España - Región Norte Warehouse: España Región Norte Product: The new created product. Lot: 1 Bin: RN-2-0-0 Movement Quantity: 100 After this verify that the stock for the new created product is: Lot #0 RN-1-0-0 100 units Lot #1 RN-2-0-0 100 units Create and complete a goods movement with the following details: Org: F&B España - Región Norte Product: The new created product. Lot: 0 Bin: RN-1-0-0 Movement Quantity: 100 New Storage Bin: RN-0-0-0 After this verify that the stock for the new created product is: Lot #0 RN-0-0-0 100 units Lot #1 RN-2-0-0 100 units Create a sales order with the following details: Org: F&B España - Región Norte Product: The new created product. Quantity: 100 Go to Sales Management || Transactions || Create Shipments from Orders Select the order created and process. Now you can see the stock is: Lot #0 RN-0-0-0 100 units Lot #1 RN-2-0-0 99 units It has been taken first the second lot of goods instead of the first becouse of the movement. The right option to follow a FIFO approach is to take the the first lot of goods. | |||||||||||||||||||||||||
Proposed Solution | As explained in the description to use the CREATED field of the table M_ATTRIBUTESETINSTANCE When fixing this issue verify also that issue 15796 still works properly. | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2011-05-04 15:02 | adrianromero | New Issue | ||||||||||||||||||||||||
2011-05-04 15:02 | adrianromero | Assigned To | => adrianromero | |||||||||||||||||||||||
2011-05-04 15:02 | adrianromero | Modules | => Core | |||||||||||||||||||||||
2011-05-04 15:03 | adrianromero | Relationship added | related to 0015796 | |||||||||||||||||||||||
2011-05-04 15:04 | adrianromero | Status | new => scheduled | |||||||||||||||||||||||
2011-05-04 15:04 | adrianromero | fix_in_branch | => pi | |||||||||||||||||||||||
2011-05-04 18:14 | hgbot | Checkin | ||||||||||||||||||||||||
2011-05-04 18:14 | hgbot | Note Added: 0036367 | ||||||||||||||||||||||||
2011-05-04 18:14 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2011-05-04 18:14 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2011-05-04 18:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8bc0a5ac9d5ecd170f4ff6528c6cb9d0b5ee17f1 [^] | |||||||||||||||||||||||
2011-05-04 18:31 | adrianromero | Note Added: 0036370 | ||||||||||||||||||||||||
2011-05-04 18:43 | adrianromero | Relationship added | related to 0003428 | |||||||||||||||||||||||
2011-05-12 13:29 | hudsonbot | Checkin | ||||||||||||||||||||||||
2011-05-12 13:29 | hudsonbot | Note Added: 0036816 | ||||||||||||||||||||||||
2011-06-03 10:57 | dalsasua | Assigned To | adrianromero => dalsasua | |||||||||||||||||||||||
2011-06-13 10:45 | jonalegriaesarte | Note Added: 0038282 | ||||||||||||||||||||||||
2011-06-13 10:45 | jonalegriaesarte | Status | resolved => closed | |||||||||||||||||||||||
2011-06-13 10:45 | jonalegriaesarte | Fixed in Version | => 3.0MP0 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|