Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7828 Entity and Service definition
  3. OFBIZ-9457

Improvements in OrderHeader entity definition and services

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 17.12.01
    • order
    • None

    Description

      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.

      Attachments

        1. OFBIZ-9457.diff
          3 kB
          Aishwary Shrivastava
        2. OFBIZ-9457.patch
          3 kB
          Rishi Solanki

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            arunpati Arun Patidar
            rishisolankii Rishi Solanki
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment