Login  Register

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

Posted by David E. Jones on Nov 13, 2005; 12:56am
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-POS-No-productStoreId-set-on-facility-tp136363p136368.html


There are 2 different types of facilities that come into play here.  
The first is the "store" or the building where stuff is sold. The  
second is the inventory facility, which can be the same and often is  
but it doesn't have to be. The code needs to know which is the  
"store" facility as there are certain settings there for the store  
facility and it gets that from the POS config. One of the things it  
needs to know from the store facility is the productStoreId. The  
other facility it needs to know about is the facility to use for the  
inventory operations, and it gets that from the ProductStore.

-David


On Nov 9, 2005, at 4:09 PM, Si Chen wrote:

> Hey there -
>
> I'm just joining this for the first time and am not too familiar  
> with the POS app, so please pardon my ignorance, but why does it  
> require a productStoreId in Facility?  Is it not set up like an  
> ecommerce store where the POS points to a productStoreId?  In which  
> case, then, why don't we just go from product store to facility?
>
> It just seemed a little odd that ProductStore has a facilityId and  
> Facility has a productStoreId...
>
> Si
>
>
> David E. Jones wrote:
>
>>
>> Yes, looks like when that field was added to the entity out of  
>> some  overly human attribute it was never added to the admin  
>> forms. I think  probably because most of the stores were setup  
>> through XML seed data.  As I understand it there are a lot of  
>> things like this in the POS  system.
>>
>> -David
>>
>>
>> On Nov 9, 2005, at 3:17 AM, Gordon B Lugauer wrote:
>>
>>> Once upon a time (Tue, Nov 08, 2005 at 09:48:43PM -0600 to be  
>>> precise),
>>> the illustrious Gordon B Lugauer said:
>>>
>>>
>>>> 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?
>>>>
>>>
>>> [snip]
>>>
>>> Allow me to answer my own question.
>>>
>>> Ok, yes, I have found where to add the productStoreId for a  
>>> facility.
>>> Poking around the webtools in the view/edit entity: facility,
>>> one can manually add the productStoreId field.
>>>
>>> Webtools->Entity Data Maintenance->Facility:All->View->Edit Facility
>>>
>>> Then enter the productStoreId in the appropriate field, and update.
>>>
>>> Seems a bit cumbersome, non-obvious, and less-than-intuitive.
>>> Is this something that should be automatically set on the facility
>>> when it is set on the store?  If not, then at least a more-
>>> forthright
>>> placement to set productStoreId on one of the facility screens
>>> would be preferred.
>>>
>>> Being somewhat new to ofbiz, is this the sort of thing I should
>>> report via Jira?
>>>
>>> Thanks,
>>>
>>> --
>>> -Gordon B Lugauer
>>>
>>> BadgerClaw, llc
>>> All things Unix         All things IP
>>> [hidden email] e          414-273-6666 v          262-364-2929 f
>>>
>>> _______________________________________________
>>> 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

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment