[ http://issues.apache.org/jira/browse/OFBIZ-455?page=comments#action_12451816 ] Si Chen commented on OFBIZ-455: -------------------------------
Jacopo - You're right - this is going to be a lot of work for whoever would like to do it. It's nice if Eriks would like to work on this, but please learn a little more about ofbiz first before trying something this big. Specifically, you should realize that not all the ofbiz applications have the same organizational context: 1. Accounting - mostly organized by Internal Organization, but the tax stuff for example is independent of organization. 2. Content - no organization context. No particular context at all. 3. Catalog manager - no context at all. Perhaps you can group by ProductStore, but a product and a category is not store-specific. 4. Facility - strongly Facility oriented context. 5. Marketing - no context. 6. Manufacturing - some is Facility-oriented (job shop), rest is not (BOMs are independent of organization) 7. Order - sales order is product store-centric, purchase order is organization-centric, requirements, requests, and reports have no context 8. Party, WorkEffort, WebTolols - essentially no context of any kind. So imposing an artificial context by organization would in some cases make the application less useful or meaningful. In any case, it should be implemented per organization and not done with a whole bunch of code spread across party, common, and so forth. Setting and retrieving context in session is actually very easy and does not require so much code. > 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
