You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2008/05/19 06:25:56 UTC

[jira] Commented: (OFBIZ-1794) Implement CRUD services and UI for the AgreementRole entity; enhance the way agreement are associated to parties.

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

Jacopo Cappellato commented on OFBIZ-1794:
------------------------------------------

The last part of this task is to extend this to the eCommerce application:
when the customer submits the user/password in the ecommerce site, the system will check if there are agreements in place and if they are found:
if there is more than one agreement display a drop down box similar to the one of the order component but force the user to select at least one; if there is just one agreement, notify the user that the agreement will be used
The selected agreement will be set in the cart in the session.
Note that this is mostly the same behavior of the backend order entry.

> 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
>            Assignee: Ashish Vijaywargiya
>            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.