[
https://issues.apache.org/jira/browse/OFBIZ-5704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090664#comment-14090664 ]
Adrian Crum commented on OFBIZ-5704:
------------------------------------
I recommend we follow the party role pattern and use an intersection entity to connect a party and a role type to the entity value.
> Extend lot entity to include party Id of manufacturer
> -----------------------------------------------------
>
> Key: OFBIZ-5704
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5704> Project: OFBiz
> Issue Type: Improvement
> Components: manufacturing, product, workeffort
> Affects Versions: Release Branch 13.07, Release Branch 12.04, Release Branch 11.04, Trunk
> Reporter: Pierre Smits
> Attachments: OFBiz-5704-Product-EntityModel-Lot.patch
>
>
> Rationale
> Lot or batch management affects two places, namely the outbound process (and its functionalities) and inbound.
> It is possible that multiple parties have the same ID for the batch or the lot. Howver, in current feature set there is no discrimination between lots from supplier A, supplier B, or even the primary (internal) company in OFBiz.
> Therefore the entity 'Lot' should be extended with another key, namely that of the partyId of the manufacturer (or supplier).
--
This message was sent by Atlassian JIRA
(v6.2#6252)