You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2007/12/02 08:40:43 UTC

[jira] Commented: (OFBIZ-1474) Enhance the service described in OFBIZ-1473 to handle in a special way the workEffort that are part of a production run.

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

Jacopo Cappellato commented on OFBIZ-1474:
------------------------------------------

The following logic will be added at the beginning of the service developed in OFBIZ-1473:

1) retrieve the WorkEffort record using the parameters.workEffortId
2) if (WorkEffort.workEffortTypeId == PROD_ORDER_TASK and WorkEffort.workEffortParentId is not empty) then select the first record from WorkEffortGoodStandard where (workEffortId == WorkEffort.workEffortParentId and workEffortGoodStdTypeId == "PRUN_PROD_DELIV")
3) use the WorkEffortGoodStandard.productId field of this record to fill the productId of the *Credit* Account Trans entry.


> Enhance the service described in OFBIZ-1473 to handle in a special way the workEffort that are part of a production run.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1474
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1474
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Jacopo Cappellato
>            Assignee: Jacopo Cappellato
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.