[ http://issues.apache.org/jira/browse/OFBIZ-455?page=comments#action_12451879 ] Eriks Dobelis commented on OFBIZ-455: -------------------------------------
Si, One thing I want to emphasize once more - this feature should be optional in the system, thus it should be possible to switch it off, which means that those organizations, which use just parts of Ofbiz or just don't need will see the system as it is now, the others will change some configuration setting value and get the functionality. Another thing I (and Adrian) have written - the idea is to provide the infrastructure: select box+saving the value in session or table+some function/service that returns current selection. Ideas how to use this can come up slowly, after discussions in community. It doesn't harm anybody if we have this infrastructural component if we can switch it off even if we don't use it at all. If we will make a huge project out of this - implementing it in all components at once - then we will finish it in something like 2 years, and this is certainly not what I am aiming at. Let's take it step by step and discuss possible applications in various components one at a time. Adrian, Let's first agree on interface - methods we use to set and get organizational context. We can later change the implementation of the storage mechanism. If we will have interface and at least something working (like I have in the patch), then we can start thinking and actually implementing features that actually use it. Si, Jacoppo, Jacques, Please, somebody review the patch, and if you think it's fine, I will add configuration option switching this functionality off (suggestions, which configuration file should it be?). Then we can submit the first version to SVN. Afterwards, Adrian can come up with implementation saving the session in the tables. > Selecting active organization party > ----------------------------------- > > Key: OFBIZ-455 > URL: http://issues.apache.org/jira/browse/OFBIZ-455 > Project: OFBiz (The Open for Business Project) > Issue Type: New Feature > Reporter: Eriks Dobelis > Attachments: orgContext.diff, selectingOrganizationalContext.jpg > > > Idea is to provide possibility to select active organization party id, which > then could be used: > 1) to provide default in different components (e.g. in creating invoices, > payments, accounting transactions, etc.); > 2) in implementation of OFBIZ-118, i.e. to show or hide data based on the > active organization; > 3) to improve current Accounting/Companies/Admin so that organizationPartyId > is remembered throughout the session (if not changed). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
