[jira] [Updated] (OFBIZ-9475) Refactor serialize and non-serialize inventory item implementaion

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-9475) Refactor serialize and non-serialize inventory item implementaion

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vaibhav Jain updated OFBIZ-9475:
--------------------------------
    Description:
As discussed on dev mailing list [1][2] we need to refactor serialize and non-serialize inventory item design.

As per current implementation serialize inventory item work on status and non-serialized inventory item work on inventory item detail.
Proposed Design:
- Use inventory item detail for both serialize and non-serialize inventory item. Only one additional condition for serialized inventory item that qoh can't be greater then one.
- We can maintain inventory item status record for both type

[1] http://markmail.org/thread/bd2bpiv6c5wvl7km
[2] http://ofbiz.markmail.org/thread/kro5kcggp4fcose7


As we do a lot of discussion in the respective mail threads.
[1] http://markmail.org/thread/bd2bpiv6c5wvl7km
[2] http://ofbiz.markmail.org/thread/kro5kcggp4fcose7

According to this email threads, I conclude that:-

There are 2 types of the inventory item in OFBiz.
1. Serialized
2. Non serialized

Majorly there are 3 entities to manage the various transaction of serialised and non-serialized inventory items.
1. InventoryItem
2. InventoryItemDetail
3. InventoryItemStatus

Following changes need to be done in the workflow of inventory item records:-

1) There is no need to manage a different workflow for serialised and non- serialised inventory items.
2) Transaction of serialised and non-serialised inventory item should be managed in both InventoryItemStatus and InventoryItemDetail entity.
 a) Transaction of serialised inventory items is managed by inventoryItemstatus entity not managed in inventoryItemDetail entity. While inventoryItemDetail and inventoryItemStatus should be managed for both serialised and non-serialised inventory items.
 b) As ATP/QOH/AQT are updated on the basis of ATPDIFF/QOHDIFF/AQTDIFF in non-serialised inventory item. We should follow the same pattern for serialised inventory item.


  was:
As discussed on dev mailing list [1][2] we need to refactor serialize and non-serialize inventory item design.

As per current implementation serialize inventory item work on status and non-serialized inventory item work on inventory item detail.
Proposed Design:
- Use inventory item detail for both serialize and non-serialize inventory item. Only one additional condition for serialized inventory item that qoh can't be greater then one.
- We can maintain inventory item status record for both type

[1] http://markmail.org/thread/bd2bpiv6c5wvl7km
[2] http://ofbiz.markmail.org/thread/kro5kcggp4fcose7


> Refactor serialize and non-serialize inventory item implementaion
> -----------------------------------------------------------------
>
>                 Key: OFBIZ-9475
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9475
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Trunk
>            Reporter: Deepak Dixit
>            Assignee: Renuka Srishti
>
> As discussed on dev mailing list [1][2] we need to refactor serialize and non-serialize inventory item design.
> As per current implementation serialize inventory item work on status and non-serialized inventory item work on inventory item detail.
> Proposed Design:
> - Use inventory item detail for both serialize and non-serialize inventory item. Only one additional condition for serialized inventory item that qoh can't be greater then one.
> - We can maintain inventory item status record for both type
> [1] http://markmail.org/thread/bd2bpiv6c5wvl7km
> [2] http://ofbiz.markmail.org/thread/kro5kcggp4fcose7
> As we do a lot of discussion in the respective mail threads.
> [1] http://markmail.org/thread/bd2bpiv6c5wvl7km
> [2] http://ofbiz.markmail.org/thread/kro5kcggp4fcose7
> According to this email threads, I conclude that:-
> There are 2 types of the inventory item in OFBiz.
> 1. Serialized
> 2. Non serialized
> Majorly there are 3 entities to manage the various transaction of serialised and non-serialized inventory items.
> 1. InventoryItem
> 2. InventoryItemDetail
> 3. InventoryItemStatus
> Following changes need to be done in the workflow of inventory item records:-
> 1) There is no need to manage a different workflow for serialised and non- serialised inventory items.
> 2) Transaction of serialised and non-serialised inventory item should be managed in both InventoryItemStatus and InventoryItemDetail entity.
>  a) Transaction of serialised inventory items is managed by inventoryItemstatus entity not managed in inventoryItemDetail entity. While inventoryItemDetail and inventoryItemStatus should be managed for both serialised and non-serialised inventory items.
>  b) As ATP/QOH/AQT are updated on the basis of ATPDIFF/QOHDIFF/AQTDIFF in non-serialised inventory item. We should follow the same pattern for serialised inventory item.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)