You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by nico61 <ni...@libero.it> on 2008/07/18 13:00:31 UTC

using a Configurable Product with sa

Hi,
I tried to insert an order concerning the configurable Product example,
PC001.
I joined PC001 and its components to a warehouse and a main supplier.
I also populated my warehouse with purchase order only for PC components
(RAM, HD, ..)

Inventory:
PC001 = 0
RAM= 10
HD2GB = 10
HD4GB=10
ETHERNET = 10
MODEM = 10

Because it's not necessary to create any BOM for configurable goods, 
I executed a sale order configuring the interested components and waiting 
the production run creation.

But I received the following error " :
"Sorry, we do not have enough (you tried 1) of the product Configurable PC
(product ID: PC001) 
in stock, not adding to cart. Please try a lower quantity, try again later,
or call customer 
service for more information".

Any suggestion?

Nico
-- 
View this message in context: http://www.nabble.com/using-a-Configurable-Product-with-sa-tp18526893p18526893.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: using a Configurable Product with sa

Posted by BJ Freeman <bj...@free-man.net>.
modify the current code to include looking if this a configured product
and let it pass the order entry phase.
probably have to add a status in ordermgr for in production.

BJ Freeman sent the following on 7/20/2008 6:30 PM:
> see
> https://issues.apache.org/jira/browse/OFBIZ-1887
> 
> Maybe
>  productstore.requireInventory = "N"
> product.requireInventory ="Y"
> would allow the order but force the Production run to require inventory.
> 
> Bilgin Ibryam sent the following on 7/19/2008 11:17 AM:
>> Quoting BJ Freeman <bj...@free-man.net>:
>>
>>> Bilgin:
>>> would not that defeat the purpose of doing a production run.
>>> if no inventory is required how do you biuld the configured item?
>>> and to address the error, why can't the production run see the inventory?
>>>
>> BJ this is a good point.
>> The service that checks for required products, checks for configurable
>> product itself (PC001) but not its components. That's why when store
>> requires inventory it is not possible to order configurable products...
>> Seems that this should be changed. Any other opinions?
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>>
> 
> 
> 
> 


Re: using a Configurable Product with sa

Posted by Bilgin Ibryam <bi...@iguanait.com>.
On Sun, 2008-07-20 at 18:30 -0700, BJ Freeman wrote:
> see
> https://issues.apache.org/jira/browse/OFBIZ-1887
> 
> Maybe
>  productstore.requireInventory = "N"
> product.requireInventory ="Y"
> would allow the order but force the Production run to require
> inventory.

I don't think so. product.requireInventory is used only to override
productstore.requireInventory.


Re: using a Configurable Product with sa

Posted by BJ Freeman <bj...@free-man.net>.
see
https://issues.apache.org/jira/browse/OFBIZ-1887

Maybe
 productstore.requireInventory = "N"
product.requireInventory ="Y"
would allow the order but force the Production run to require inventory.

Bilgin Ibryam sent the following on 7/19/2008 11:17 AM:
> Quoting BJ Freeman <bj...@free-man.net>:
> 
>> Bilgin:
>> would not that defeat the purpose of doing a production run.
>> if no inventory is required how do you biuld the configured item?
>> and to address the error, why can't the production run see the inventory?
>>
> 
> BJ this is a good point.
> The service that checks for required products, checks for configurable
> product itself (PC001) but not its components. That's why when store
> requires inventory it is not possible to order configurable products...
> Seems that this should be changed. Any other opinions?
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 
> 
> 


Re: using a Configurable Product with sa

Posted by Bilgin Ibryam <bi...@iguanait.com>.
Quoting BJ Freeman <bj...@free-man.net>:

> Bilgin:
> would not that defeat the purpose of doing a production run.
> if no inventory is required how do you biuld the configured item?
> and to address the error, why can't the production run see the inventory?
>

BJ this is a good point.
The service that checks for required products, checks for configurable  
product itself (PC001) but not its components. That's why when store  
requires inventory it is not possible to order configurable  
products... Seems that this should be changed. Any other opinions?

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


Re: using a Configurable Product with sa

Posted by BJ Freeman <bj...@free-man.net>.
Bilgin:
would not that defeat the purpose of doing a production run.
if no inventory is required how do you biuld the configured item?
and to address the error, why can't the production run see the inventory?


Bilgin Ibryam sent the following on 7/18/2008 5:33 AM:
> Hi Nico,
> 
> you have to adjust product store and product parameters.
> Any of these should solve your problem :
> 
> productStore.checkInventory = "N"
> 
> 
> OR
> 
> product.requireInventory ="N"
> 
> OR
> 
> product.requireInventory =""
> productStore.requireInventory ="N"
> 
> 
> Bilgin
> 
> 
> 
> 
> 
> 
> 


Re: using a Configurable Product with sa

Posted by nico61 <ni...@libero.it>.
Hi Bilgin,

ok, I'll check it.
Nico


Bilgin Ibryam wrote:
> 
> Quoting nico61 <ni...@libero.it>:
> 
>>
>> Hi,
>>
>> I just aligned the following parameter as described in the demo site:
>>
>> old productstore.requireInventory = "Y"
>> new productstore.requireInventory = "N"
>>
>> and the problem has been solved. A production run has been correctly
>> created,
>> the components have been decremented and a PC has been added to the
>> inventory .
>>
>> Have you an idea about the following occurred behaviour ?
>>
>> … after the order approving, I selected the "Quick Ship Entire Order"
>> functionality .......
>> and the system returned to me the following message:
>>
>> The Following Errors Occurred:
>> ProductStore [10000] explodes order items; cannot use Quick Ship for
>> Multiple Facilities
>> The following occurred:
>> The action was performed successfully.
>> Created shipment with ID [10287] for ship group ID [00001] for facility
>> ID
>> [10000]
>> Nico
>>>
> 
> Nico,
> 
> I did a fix for "Quick Ship Entire Order" in rev 678206.
> You can update and try again. The above error message says that you  
> have ProductStore .explodeOrderItems = "Y" and that's why  cannot use  
> Quick Ship option.
> 
> BTW I see that you have created a new product store [10000] and if  
> there are any store attributes that you are not familiar with, better  
> use for them existing demos store values. This way you will get less  
> configuration errors.
> 
> Bilgin
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/using-a-Configurable-Product-with-a-sale-order-tp18526893p18549729.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: using a Configurable Product with sa

Posted by Bilgin Ibryam <bi...@iguanait.com>.
Quoting nico61 <ni...@libero.it>:

>
> Hi,
>
> I just aligned the following parameter as described in the demo site:
>
> old productstore.requireInventory = "Y"
> new productstore.requireInventory = "N"
>
> and the problem has been solved. A production run has been correctly
> created,
> the components have been decremented and a PC has been added to the
> inventory .
>
> Have you an idea about the following occurred behaviour ?
>
> … after the order approving, I selected the "Quick Ship Entire Order"
> functionality .......
> and the system returned to me the following message:
>
> The Following Errors Occurred:
> ProductStore [10000] explodes order items; cannot use Quick Ship for
> Multiple Facilities
> The following occurred:
> The action was performed successfully.
> Created shipment with ID [10287] for ship group ID [00001] for facility ID
> [10000]
> Nico
>>

Nico,

I did a fix for "Quick Ship Entire Order" in rev 678206.
You can update and try again. The above error message says that you  
have ProductStore .explodeOrderItems = "Y" and that's why  cannot use  
Quick Ship option.

BTW I see that you have created a new product store [10000] and if  
there are any store attributes that you are not familiar with, better  
use for them existing demos store values. This way you will get less  
configuration errors.

Bilgin

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


Re: using a Configurable Product with sa

Posted by nico61 <ni...@libero.it>.
Hi,

I just aligned the following parameter as described in the demo site:

old productstore.requireInventory = "Y"
new productstore.requireInventory = "N"

and the problem has been solved. A production run has been correctly
created,
the components have been decremented and a PC has been added to the
inventory .

Have you an idea about the following occurred behaviour ?

… after the order approving, I selected the "Quick Ship Entire Order"
functionality .......
and the system returned to me the following message:

The Following Errors Occurred:
ProductStore [10000] explodes order items; cannot use Quick Ship for
Multiple Facilities
The following occurred:
The action was performed successfully.
Created shipment with ID [10287] for ship group ID [00001] for facility ID
[10000]
Nico

------------------------------------------


Bilgin Ibryam wrote:
> 
> Hi Nico,
> 
> you have to adjust product store and product parameters.
> Any of these should solve your problem :
> 
> productStore.checkInventory = "N"
> 
> 
> OR
> 
> product.requireInventory ="N"
> 
> OR
> 
> product.requireInventory =""
> productStore.requireInventory ="N"
> 
> 
> Bilgin
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/using-a-Configurable-Product-with-a-sale-order-tp18526893p18530924.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: using a Configurable Product with sa

Posted by Bilgin Ibryam <bi...@iguanait.com>.
Hi Nico,

you have to adjust product store and product parameters.
Any of these should solve your problem :

productStore.checkInventory = "N"


OR

product.requireInventory ="N"

OR

product.requireInventory =""
productStore.requireInventory ="N"


Bilgin