[
https://issues.apache.org/jira/browse/OFBIZ-12723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17821170#comment-17821170
]
Daniel Watford commented on OFBIZ-12723:
----------------------------------------
Thanks [~pierresmits] - Checked and removed through the GH PR interface at
https://github.com/apache/ofbiz-framework/pull/569
> Remove fields oldQuantityOnHand and oldAvailableToPromise from InventoryItem
> entity
> -----------------------------------------------------------------------------------
>
> Key: OFBIZ-12723
> URL: https://issues.apache.org/jira/browse/OFBIZ-12723
> Project: OFBiz
> Issue Type: Improvement
> Components: datamodel, product
> Affects Versions: Upcoming Branch
> Reporter: Daniel Watford
> Assignee: Daniel Watford
> Priority: Trivial
> Fix For: Upcoming Branch
>
>
> Remove fields oldQuantityOnHand and oldAvailableToPromise from the
> InventoryItem entity, associated view-entities, forms and services.
> OFBiz currently has a maintenance service, updateOldInventoryToDetailAll,
> which finds any InventoryItems where oldQuantityOnHand or
> oldAvailableToPromise are populated and creates corresponding
> InventoryItemDetail entities. The oldQuantityOnHand and oldAvailableToPromise
> fields are then cleared.
> Based on source code repository logs, were already in the data model when
> OFBiz was imported into subversion 1st July 2006.
> Given the column names for the fields are hard-coded in the data model as
> QUANTITY_ON_HAND and AVAILABLE_TO_PROMISE, I assume these entity fields,
> along with the updateOldInventoryToDetailAll service, were implemented as a
> method of upgrading the data model and are no longer used.
> Since these fields are no longer used, lets remove them and their related
> code, (slightly) reducing the size of ofbiz' sources that need to be
> maintained.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)