Login  Register

Re: [OFBiz] Users - POS: No productStoreId set on facility

Posted by Gordon B Lugauer on Nov 09, 2005; 3:48am
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-POS-No-productStoreId-set-on-facility-tp136363p136364.html

Once upon a time (Tue, Nov 08, 2005 at 11:10:05AM -0600 to be precise),
the illustrious David E. Jones said:

>
> Part of the setup for the POS is to have a Facility that is used for  
> inventory and represents the physical store as well (can have  
> address, phone number, etc). That Facility needs to point to the  
> ProductStore that has all of the settings necessary for the commerce  
> part to run, like tax, inventory control settings, etc, etc.

There is a field on the Create Product Store page,
https://localhost:8443/catalog/control/EditProductStore, where you
set the Facility Inventory Id.  This was to the already-created
Facility ID:10000.

Is there something additional that must be done on the facility
to point back to the Product Store?  Under which tab at
https://localhost:8443/facility/control/EditFacility is such a
setting hiding?

To re-iterate:

I have a facility, type Retail Store, ID:10000.  I have a Product
Store, ID:10000, with an Inventory Facility ID field set to 10000.

Running java -jar ofbiz.jar -pos dies with the  following error:

    No productStoreId set on facility [10000]!

Is this the facility-pointing-to-store configuration you are
referring to, or is there something else?

Thanks,

-G

>
> -David
>
>
> On Nov 7, 2005, at 9:31 AM, Gordon B Lugauer wrote:
>
>
>
> > OFBiz Powers That Be,
> >
> > A plea for help, guidance, or perhaps understanding.  My goal is
> > to learn how to begin to modify the example POS application to work
> > with a non-demo-data installation.  I am missing something.
> >
> > Scenario:
> >
> > - create virgin postgres db
> > - grab current ofbiz svn, install with -readers=seed
> > - create the following:
> >     - facility, ID:10000 is automatically assigned
> >     - store, ID:10000 is automatically assigned
> >     - catalog, ID:MainCatalog is assigned by me
> >     - category, ID:MainCatalogItem is assigned by me
> >
> > - edit base/config/pos-containers.xml:
> >     - change facility-id to 10000 (line 60)
> >
> > - edit applications/pos/data/DemoRetail.xml:
> >     - change all facilityId and productStoreId instances to 10000
> >       (since the automatically generated id's happened to match)
> >
> > - java -jar ofbiz.jar -pos, starts to run, but dies with the  
> > following error:
> >
> >     No productStoreId set on facility [10000]!
> >
> > The error seems to come from line 109 of
> > applications/pos/src/org/ofbiz/pos/container/PosContainer.java,
> > but why?
> >
> > Console log (trimmed edition) and DemoRetail.xml attached.
> >
> > Thanks much,
> >
> > --
> > -Gordon B Lugauer
> >
> > BadgerClaw, llc
> > All things Unix         All things IP
> > [hidden email] e          414-273-6666 v          262-364-2929 f
> >
> > <console.log.abbreviated>
> > <DemoRetail.xml>
> >
> > _______________________________________________
> > Users mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/users
> >
> >
>
>
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users