Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0039469 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
design defect | [Openbravo ERP] 04. Warehouse management | major | always | 2018-10-17 13:49 | 2018-10-29 12:27 | |||||||
Reporter | ngarcia | View Status | public | |||||||||
Assigned To | Triage Omni WMS | |||||||||||
Priority | urgent | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039469: Orphan lines do not currently support instance attributes | |||||||||||
Description | Orphan lines do not currently support instance attributes Currently, it is not possible to select an already available attribute set value in product selector, so when the value is manually included in the Attribute Set Value field it will have a different identifier. In sales flow (Return From Customer), you will be able to receive the product but it will be considered different from the already available one. In purchase flow (Return To Vendor), you will not able to ship the product if you don't allow negative stock on your bins | |||||||||||
Steps To Reproduce | As group admin role: Set RM Allow Orphan Line preference to Y Log out and log in Create a new product Set Lot Attribute set to it Add a purchase price list it Create a Goods Receipt Add previously created product Set 1 in Attribute Set Value field Add a movement quantity and complete Create a Return to Vendor header Insert Orphan Line Select previously create product Add 1 in Attribute Set Value field (as the product with attribute set value cannot be selected in Product selector, it will be a new attribute set instance and there will not be stock of it) Book it Create a Return To Vendor Shipment header and select Pick/Edit Lines Select previously created line and you will get the following error: "There isn't enough available stock for RM order No: 1000002" | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0107498) dmiguelez (developer) 2018-10-22 17:12 edited on: 2018-10-24 12:33 |
There is a design defect with Attributes and Orphan Lines The actual functionality works for Return From Customers (when the Warehouse receives the material), but it does not work for Return To Vendors (when the Warehouse issues the goods) Right now, it is using and old attribute selector. That is the reason why a new attribute set instance is created every time and also is the reason why the process is defined as a 'Report and Process' instead of a 'Process Definition' The solution for the Return to Vendors would be to create a new Stock selector (similar to what has been done in AWO for the Attribute Swap project) This would allow to select the attribute of a particular stock. The development would be: * Create a new Process Definition that replaces the Report And Process * Create a Stock selector for this Product Definition that would allow to select an existing Attribute * Refactor the Code behind the actual process to split functional logic from input and output (follow MVC conventions) * Adapt functional logic to support new Process Definition as well as old Report And Process * Add Automated Tests (they should be running successfully as soon as the refactor is done) |
Issue History | |||
Date Modified | Username | Field | Change |
2018-10-17 13:49 | ngarcia | New Issue | |
2018-10-17 13:49 | ngarcia | Assigned To | => Triage Finance |
2018-10-17 13:49 | ngarcia | Modules | => Core |
2018-10-17 13:49 | ngarcia | Triggers an Emergency Pack | => No |
2018-10-17 13:49 | ngarcia | Issue Monitored: networkb | |
2018-10-17 13:50 | ngarcia | Relationship added | related to 0039468 |
2018-10-17 13:51 | ngarcia | Relationship added | related to 0028197 |
2018-10-22 17:12 | dmiguelez | Note Added: 0107498 | |
2018-10-24 12:29 | dmiguelez | Note Edited: 0107498 | View Revisions |
2018-10-24 12:33 | dmiguelez | Note Edited: 0107498 | View Revisions |
2018-10-24 12:33 | dmiguelez | Note Edited: 0107498 | View Revisions |
2018-10-24 12:42 | dmiguelez | Note Added: 0107552 | |
2018-10-24 12:42 | dmiguelez | Type | design defect => defect |
2018-10-24 12:52 | ngarcia | Resolution time | => 1542150000 |
2018-10-24 13:04 | ngarcia | Resolution time | 1542150000 => |
2018-10-24 13:04 | ngarcia | Type | defect => design defect |
2018-10-24 13:09 | ngarcia | Issue cloned | 0039530 |
2018-10-24 13:09 | ngarcia | Relationship added | related to 0039530 |
2018-10-24 13:11 | ngarcia | Note Deleted: 0107552 | |
2018-10-24 13:17 | ngarcia | Description Updated | View Revisions |
2018-10-29 12:27 | martinsdan | Issue Monitored: martinsdan |
Copyright © 2000 - 2009 MantisBT Group |