Thanks Giulio and Ashish for the valuable input. Few more clarifications, please.
1 - If ofbiz is being used locally - no e-commerce - and two stores are defined, how to restrict employees - users - taking the order to be limited only to one of these stores? 2 - What is the role of ProductStoreFacility? Since in demo data only a few records are configured but even though much more products are available while creating orders? 3 - What exactly controls the Payment Methods presented to the user while creating a sales order, we have configurations in ProductStorePaymentSetting and PaymentMethod; are both used or there is extra logic here? Regards, Emad On Mon, Oct 17, 2022 at 1:26 PM Ashish Vijaywargiya < [email protected]> wrote: > 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 > > > > > >
