[ 
https://issues.apache.org/jira/browse/OFBIZ-5706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14330132#comment-14330132
 ] 

Jacques Le Roux commented on OFBIZ-5706:
----------------------------------------

Thanks to Deepak's report on dev ML:

> +        manufacturer = 
> from("WorkEffortPartyAssignment").where("workEffortId", productionRunId, 
> "roleTypeId", "MANUFACTURER").queryOne();
Here we need to use filterByDate for “ WorkEffortPartyAssignment”.

 I have committed a fix at r1661323

Actually it was a bit more because WorkEffortPartyAssignment PK is 
      <prim-key field="workEffortId"/>
      <prim-key field="partyId"/>
      <prim-key field="roleTypeId"/>
      <prim-key field="fromDate"/>

> Have parties to be assigned to production run tasks
> ---------------------------------------------------
>
>                 Key: OFBIZ-5706
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5706
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: manufacturing
>    Affects Versions: Release Branch 11.04, Release Branch 12.04, Release 
> Branch 13.07, Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-5706-ManufacturingParties2.patch
>
>
> It is not possible to assign parties to execute one or more task in a 
> production run.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to