Hello Javier, You don't need 2 OFBiz installation.
Inventory Item has an attribute ownerPartyId which is used to define the ownership of product if multiple companies are using single facility/warehouse. It might happen that all use cases of inventory ownerPartyId are not working OOTB. For initial setup, you can use two different virtual facilities/warehouse for different companies(It is also recommended). This is working OOTB. If you want to manage inventory of multiple companies in one facility then this can be handled using ownerPartyId attribute of inventoryItem entity. Thanks & Regards, Vaibhav Jain Hotwax Systems, [email protected] On Mon, Dec 4, 2017 at 2:46 PM, Javier H. <[email protected]> wrote: > > > On 2017-12-04 06:35, Vaibhav Jain <[email protected]> wrote: > > Hello Javier, > > > > Please check comments inline. > > > > With Ofbiz it's possible to have two companies that share the same > > > warehouse? > > > > > Yes it is possible. > > > > > > > > For example, Company A buys 100 chairs and stores them. > > > > > > One day the company B has an order for a customer of 20 chairs but only > > > has 10 in stock. > > > > > > Can Ofbiz generate an Order Invoice to company A (which has 100 units) > of > > > 10 chairs so that the order can be delivered ?. Also, can company A > > > generate a Sales Invoice of 10 chairs for company B? > > > > > > And the same process for the inverse, that is: > > > > > > Company B buys 100 tables. > > > > > > One day the company A needs 30 tables, but its stock is 0. Could I use > 30 > > > of the stock of company B? And that automatically generated an Order > > > Invoice in company A and a Sales Invoice in company B? > > > > > > Is this possible with Ofbiz? If possible, do I need to create a plugin > for > > > it? > > > > > Yes it is possible with OFBiz. You don't need any plugin for this. All > you > > need to do is data setup only. > > > > If company A want to trade with company B then company B should be the > > customer of company A, vice versa is applicable for the second case. > > > > > > > Best regards > > > > > > Hello Vaibhav Jain, > > Thank you very much. > > Do I need to have 2 Ofbiz installations? > > Best regards >
