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

Implement CRUD services and UI for the AgreementRole entity; enhance the way agreement are associated to parties.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • order
    • None

    Description

      Implement CRUD services and UI for the AgreementRole entity:

      • CRUD services should be implemented in the order component
      • UI is in the accounting component (but in the future we will move all the Agreement screens to the order component as well)

      Then, in the orderagreements.bsh script in the order component we will enhance the way agreements associated to parties are selected.
      Right now, at lines 50 and 54, agreements are selected only considering the role types in the Agreement entity; we should additionally include the agreements in which:

      • for sales orders, the party is associated as a CUSTOMER (AgreementRole)
      • for purchase orders, the party is associated as a SUPPLIER (AgreementRole)

      We may want to define a view-entity (AgreementAndRole) to perform the lookup.

      Attachments

        1. AgreementProcessing.patch
          32 kB
          Ratnesh Upadhyay
        2. AgreementProcessing .patch
          36 kB
          Ratnesh Upadhyay

        Activity

          People

            toashishvijay Ashish Vijaywargiya
            jacopoc Jacopo Cappellato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: