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

                 Key: OFBIZ-1794
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1794
             Project: OFBiz
          Issue Type: New Feature
          Components: order
            Reporter: Jacopo Cappellato
            Priority: Minor


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.



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

Reply via email to