You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Michael Brohl (JIRA)" <ji...@apache.org> on 2017/07/08 08:59:01 UTC

[jira] [Commented] (OFBIZ-9457) Improvements in OrderHeader entity definition and services

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

Michael Brohl commented on OFBIZ-9457:
--------------------------------------

+1, [~rishisolankii]

> Improvements in OrderHeader entity definition and services
> ----------------------------------------------------------
>
>                 Key: OFBIZ-9457
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9457
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Rishi Solanki
>            Priority: Minor
>
> Fix entity definition of OrderHeader and do the following changes in the implementation;
> - Remove relations with OrderHeaderNoteView and OrderItemAndShipGroupAssoc from the entity definition.
> - Check for the both views used at any place as getRelated() generic value methods on OrderHeader then change them with appropriate EntityQuery method or delegaor or other script as applicable.
> - Few find areas are;
> -- AddItemsFromOrder.groovy
> -- ReceiveInventoryAgainstPurchaseOrder.groovy
> Note: As we are removing relation from OrderHeader so only need to work on the items where we are trying to get related data by using the relations. We need to rewrite only those lines of code. Reverse in not true.



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