Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7828

Entity and Service definition

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: Trunk
    • Fix Version/s: 17.12.01
    • Component/s: ALL COMPONENTS
    • Labels:
      None

      Description

      As per discussion on dev list on email thread-: "Entity and Service definition" Here is the parent task for the same.

      TODO's from same thread, review entities/services on following parameters;

      1) Many entity definitions having relationships with view-entities, like OrderHeader entity maintain relationship with OrderHeaderNoteView and OrderItemAndShipGroupAssoc. We should remove it, maintain the relationship at view-entities level if required. Also change the code where this relation is in use.
      2) Many entities having service implementation exists but they can be simply convert into entity-auto, that means can use the power OFBiz provides.
      3) As mentioned initially many entities do not have CRUD services exists, we should implement or use entity-auto for them wherever applicable. Also remove direct use of delegator for them.
      4) Many entities having from date and thru date, Or status Or Enumeration to manage the historical data, but services actually remove those entity data. We should change the service implementation to maintain the historical data.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                rishisolankii Rishi Solanki
                Reporter:
                rishisolankii Rishi Solanki
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: