Hello Emad,

Please refer two more entities which will help you to better visualise
setup of stores, facilities, products and inventories:

- ProductFacility -
https://demo-stable.ofbiz.apache.org/webtools/control/FindGeneric?entityName=ProductFacility
https://demo-stable.ofbiz.apache.org/catalog/control/EditProductFacilities?productId=GZ-2644

- InventoryItem(There is a field facilityId in this entity) -
https://demo-stable.ofbiz.apache.org/webtools/control/FindGeneric?entityName=InventoryItem
https://demo-stable.ofbiz.apache.org/facility/control/EditFacilityInventoryItems?facilityId=WebStoreWarehouse

Please also refer to sample demo data from OrderDemoData.xml to get more
details about the other important entities.
https://github.com/apache/ofbiz-framework/blob/trunk/applications/datamodel/data/demo/OrderDemoData.xml

Hope this helps.

--
Kind Regards,
Ashish Vijaywargiya
Vice President of Operations
*HotWax Systems*
*Enterprise open source experts*
http://www.hotwaxsystems.com



On Mon, Oct 17, 2022 at 12:01 AM Giulio Speri - MpStyle Srl <
[email protected]> wrote:

> Hi Emad,
>
> You can configure each store to be served by different facilities
> (ProductStoreFacility entity), setting to N the flag oneInventoryFacility
> and then going in the Facility tab of the Product Store and add the
> facilities you need.
>
> Giulio
>
> On Sun, Oct 16, 2022, 16:33 Emad Radwan <[email protected]> wrote:
>
> > Hello Community,
> >
> > Assuming more than one accounting company is defined, how Ofbiz will
> > determine which one to use?
> >
> > I see there is a configuration for the 'Store' to tell the
> > 'Pay_to_partyId', and the store is linked to Facility,
> > but again what if more than two stores are defined, which
> > facility/product/inventory mix will be used while for example creating a
> > sales order?
> >
> > Appreciate it if you shed some light on this.
> >
> > Regards,
> > Emad
> >
>

Reply via email to