You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by rohitpant <ro...@gmail.com> on 2008/04/02 04:25:51 UTC

How to Configure a Product with Configurable Attributes

Hi All,
               I have the following requirement - When a user selects a
product from a shopping cart, user should get prompted to enter some
parameters before getting the final list of products. For example -

If you are purchasing steel, you might select a product by name 'Hot Rolled
Steel' but then you would also like to enter width, gauge, thickness etc for
'Steel' since these attributes would determine the price of the product.

I am in the process of finding out how this can be done, but if someone has
already done this or your thoughts on how can this be done (iam 3 days old
to ofbiz) or you could point me to the rite doc maybe.

Would appreciate a reply.

Regards,
Rohit

-- 
View this message in context: http://www.nabble.com/How-to-Configure-a-Product-with-Configurable-Attributes-tp16437473p16437473.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to Configure a Product with Configurable Attributes

Posted by ladroge <la...@hotmail.fr>.
To configure it go on the main page of the product and mention that the
product Hot Rolled Steel
And then create also immaterial product or services width, gauge, thickness
with their prices.
You have a button Configuration when you log you on Product catalog module
of ERP.
Create a configuration wich will contain all your services as option.


rohitpant wrote:
> 
> Hi All,
>                I have the following requirement - When a user selects a
> product from a shopping cart, user should get prompted to enter some
> parameters before getting the final list of products. For example -
> 
> If you are purchasing steel, you might select a product by name 'Hot
> Rolled Steel' but then you would also like to enter width, gauge,
> thickness etc for 'Steel' since these attributes would determine the price
> of the product.
> 
> I am in the process of finding out how this can be done, but if someone
> has already done this or your thoughts on how can this be done (iam 3 days
> old to ofbiz) or you could point me to the rite doc maybe.
> 
> Would appreciate a reply.
> 
> Regards,
> Rohit
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-Configure-a-Product-with-Configurable-Attributes-tp16437473p16445847.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to Configure a Product with Configurable Attributes

Posted by rohitpant <ro...@gmail.com>.
hi Sumit,
                 Thakx for the tip. In order to calculate the price of the
configurable item, do we have to write the code or is there something
avaliable OOTB which can be used. What do you feel is the best way to go
about it.
in the attached image , ideally whaen the user clikcs on some button the
cost of the product should be calculated and appear at the Amount text box (
marked in red )

Regards,
Rohit


Sumit Pandit-3 wrote:
> 
> Rohit ,
> In addition to Nikita's comment you can try to add the Configurable PC 
> in your cart. I wish it will help you. the productId is *PC001.
> 
> Sumit
> *Nikita Shinde wrote:
>> Hi,
>>
>>    Have done something similar to this ...
>>
>> Providing some pointers :
>>
>> 1> Add the attributes width, gauge, thickness etc as ProductFeature &
>> associate these features with products in ProductFeatureAppl.
>> 2> Write your custom code to calculate the adjustments depending on the
>> input.
>> 3> Then you can add the calculated adjustment to the product price.
>>
>>
>> I have'nt tried this with price rules but you can try that too.
>>
>>
>> Thanks,
>> Nikita Shinde
>> Amicon Technologies Pvt. Ltd.
>> Mumbai.
>>
>>
>> -----Original Message-----
>> From: rohitpant [mailto:rohitpant@gmail.com] 
>> Sent: Wednesday, April 02, 2008 7:56 AM
>> To: user@ofbiz.apache.org
>> Subject: How to Configure a Product with Configurable Attributes
>>
>>
>> Hi All,
>>                I have the following requirement - When a user selects a
>> product from a shopping cart, user should get prompted to enter some
>> parameters before getting the final list of products. For example -
>>
>> If you are purchasing steel, you might select a product by name 'Hot
>> Rolled
>> Steel' but then you would also like to enter width, gauge, thickness etc
>> for
>> 'Steel' since these attributes would determine the price of the product.
>>
>> I am in the process of finding out how this can be done, but if someone
>> has
>> already done this or your thoughts on how can this be done (iam 3 days
>> old
>> to ofbiz) or you could point me to the rite doc maybe.
>>
>> Would appreciate a reply.
>>
>> Regards,
>> Rohit
>>
>>   
> 
> 
> 
http://www.nabble.com/file/p16467408/screen.png 
-- 
View this message in context: http://www.nabble.com/How-to-Configure-a-Product-with-Configurable-Attributes-tp16437473p16467408.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to Configure a Product with Configurable Attributes

Posted by rohitpant <ro...@gmail.com>.
hi Sumit,
                 Thakx for the tip. In order to calculate the price of the
configurable item, do we have to write the code or is there something
avaliable OOTB which can be used. What do you feel is the best way to go
about it.
in the attached image , ideally whaen the user clikcs on some button the
cost of the product should be calculated and appear at the Amount text box (
marked in red )

Regards,
Rohit


Sumit Pandit-3 wrote:
> 
> Rohit ,
> In addition to Nikita's comment you can try to add the Configurable PC 
> in your cart. I wish it will help you. the productId is *PC001.
> 
> Sumit
> *Nikita Shinde wrote:
>> Hi,
>>
>>    Have done something similar to this ...
>>
>> Providing some pointers :
>>
>> 1> Add the attributes width, gauge, thickness etc as ProductFeature &
>> associate these features with products in ProductFeatureAppl.
>> 2> Write your custom code to calculate the adjustments depending on the
>> input.
>> 3> Then you can add the calculated adjustment to the product price.
>>
>>
>> I have'nt tried this with price rules but you can try that too.
>>
>>
>> Thanks,
>> Nikita Shinde
>> Amicon Technologies Pvt. Ltd.
>> Mumbai.
>>
>>
>> -----Original Message-----
>> From: rohitpant [mailto:rohitpant@gmail.com] 
>> Sent: Wednesday, April 02, 2008 7:56 AM
>> To: user@ofbiz.apache.org
>> Subject: How to Configure a Product with Configurable Attributes
>>
>>
>> Hi All,
>>                I have the following requirement - When a user selects a
>> product from a shopping cart, user should get prompted to enter some
>> parameters before getting the final list of products. For example -
>>
>> If you are purchasing steel, you might select a product by name 'Hot
>> Rolled
>> Steel' but then you would also like to enter width, gauge, thickness etc
>> for
>> 'Steel' since these attributes would determine the price of the product.
>>
>> I am in the process of finding out how this can be done, but if someone
>> has
>> already done this or your thoughts on how can this be done (iam 3 days
>> old
>> to ofbiz) or you could point me to the rite doc maybe.
>>
>> Would appreciate a reply.
>>
>> Regards,
>> Rohit
>>
>>   
> 
> 
> 
http://www.nabble.com/file/p16467408/screen.png 
-- 
View this message in context: http://www.nabble.com/How-to-Configure-a-Product-with-Configurable-Attributes-tp16437473p16467408.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


RE: Discovering Program Flow

Posted by "skip@thedevers" <sk...@thedevers.org>.
Thanks Mridul

This is exactly what I did.  I generally only look at the log file for
errors.  In this case, I found how the invoice was being created as well.

Skip

-----Original Message-----
From: mridul.72@gmail.com [mailto:mridul.72@gmail.com]On Behalf Of
Mridul Pathak
Sent: Friday, April 04, 2008 1:05 AM
To: user@ofbiz.apache.org
Subject: Re: Discovering Program Flow


Hi,    The best way to trace the process is to watch the consol log properly
and you may go through the control flow, and put debug statements in
different methods to debug the code.  Now moving to your problem, I tried to
trace the flow for Purchase Order and was able to trace where exactly the
call is made for creating Invoice while receiving the purchase order.
    On following the consol log carefully I found that after processing
receiveInventory and createShipmentReceipt, on updateShipment service
createInvoiceFromShipment is triggered as an ECA.  And after that
capturePaymentFromInvoice service is triggered as an ECA on
createInvoiceForOrder. The service createInvoiceForOrder is called inline
from createInvoicesFromShipments service which again is called inline from
creatInvoicesFromShipment service.
     I'll like to suggest you to debug the process to understand it better,
because this is a very complicated process and I think just reading out the
code may not be of much help.


On Fri, Apr 4, 2008 at 4:47 AM, skip@thedevers <sk...@thedevers.org> wrote:

> I am writing purchase orders, and then receiving them.  As part of that
> process, an Invoice is being created when the items are received  I see a
> shipment and shipmentItems created, .ItemIssuance and related,
> InventoryItem
> and Detail, and several others.
>
> For the life of me, I cannot see what code is being called to create the
> Invoice.  This is not the first time I ran into this.
>
> I have searched all the routines called directly and the ecas two levels
> down so far, but still cannot find out how the invoice is being created.
>
> Can someone tell me what is the best way and/or resources to use to
> discover
> how these things happen when you can't trace through the code.
>
> Skip
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
> 10:13 AM
>
>


--
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
mridul.pathak@hotwaxmedia.com
__________________________________
Office : 509.855.4113
Mobile : +919425926892

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM


Re: Discovering Program Flow

Posted by Mridul Pathak <mr...@hotwaxmedia.com>.
Hi,    The best way to trace the process is to watch the consol log properly
and you may go through the control flow, and put debug statements in
different methods to debug the code.  Now moving to your problem, I tried to
trace the flow for Purchase Order and was able to trace where exactly the
call is made for creating Invoice while receiving the purchase order.
    On following the consol log carefully I found that after processing
receiveInventory and createShipmentReceipt, on updateShipment service
createInvoiceFromShipment is triggered as an ECA.  And after that
capturePaymentFromInvoice service is triggered as an ECA on
createInvoiceForOrder. The service createInvoiceForOrder is called inline
from createInvoicesFromShipments service which again is called inline from
creatInvoicesFromShipment service.
     I'll like to suggest you to debug the process to understand it better,
because this is a very complicated process and I think just reading out the
code may not be of much help.


On Fri, Apr 4, 2008 at 4:47 AM, skip@thedevers <sk...@thedevers.org> wrote:

> I am writing purchase orders, and then receiving them.  As part of that
> process, an Invoice is being created when the items are received  I see a
> shipment and shipmentItems created, .ItemIssuance and related,
> InventoryItem
> and Detail, and several others.
>
> For the life of me, I cannot see what code is being called to create the
> Invoice.  This is not the first time I ran into this.
>
> I have searched all the routines called directly and the ecas two levels
> down so far, but still cannot find out how the invoice is being created.
>
> Can someone tell me what is the best way and/or resources to use to
> discover
> how these things happen when you can't trace through the code.
>
> Skip
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
> 10:13 AM
>
>


-- 
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
mridul.pathak@hotwaxmedia.com
__________________________________
Office : 509.855.4113
Mobile : +919425926892

Re: Full of Questions

Posted by Bilgin Ibryam <bi...@iguanait.com>.
Jacopo, Christian, thanks for answering!

After updating the printer drivers it worked like a charm.

Bilgin

-- 
View this message in context: http://www.nabble.com/How-to-Configure-a-Product-with-Configurable-Attributes-tp16437473p16537386.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


RE: Discovering Program Flow

Posted by "skip@thedevers" <sk...@thedevers.org>.
Thanks David

Alas, I am stuck with a version from the first of the year (591699). We are
nearly in production now and I cannot get an update until probably September
or later when I'll have time to recertify it.

On the other hand, I found what I needed to know by searching in the log
files with info turned on.

Thanks though

Skip



-----Original Message-----
From: David E Jones [mailto:jonesde@hotwaxmedia.com]
Sent: Thursday, April 03, 2008 5:41 PM
To: user@ofbiz.apache.org
Subject: Re: Discovering Program Flow



New stuff: Webtools -> Artifact Info

-David


On Apr 3, 2008, at 5:17 PM, skip@thedevers wrote:
> I am writing purchase orders, and then receiving them.  As part of
> that
> process, an Invoice is being created when the items are received  I
> see a
> shipment and shipmentItems created, .ItemIssuance and related,
> InventoryItem
> and Detail, and several others.
>
> For the life of me, I cannot see what code is being called to create
> the
> Invoice.  This is not the first time I ran into this.
>
> I have searched all the routines called directly and the ecas two
> levels
> down so far, but still cannot find out how the invoice is being
> created.
>
> Can someone tell me what is the best way and/or resources to use to
> discover
> how these things happen when you can't trace through the code.
>
> Skip
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:
> 3/31/2008
> 10:13 AM
>


No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM


Printers (was: Re: Full of Questions)

Posted by Christian Geisert <ch...@isu-gmbh.de>.
Bilgin Ibryam schrieb:
> BTW using FC6 with configured printers, I cannot see the printers  in
> find orders screen.
> 
> Any ideas what could be the reason and how to fix it?

It works for me with Ubuntu (Gutsy Gibbon), i.e. I can select the 
CUPS-installed printer and print an order.

-- 
Christian


"InventoryItemDetail"

Posted by "skip@thedevers" <sk...@thedevers.org>.
Can someone explain the importance and use of this "InventoryItemDetail"
entity?

I am debating whether or not to add code to my import routines to support
it, but don't see much use, at least in the java code or simple method xml
files.

Skip

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM


Re: Full of Questions

Posted by Jacopo Cappellato <ja...@gmail.com>.
Hi Bilgin,

I'd suggest to have a look at the findPrinters.bsh script, in the  
content application, that is the one that is used to get the list of  
printers (it just uses the javax.print.* api).

Jacopo

On Apr 4, 2008, at 10:49 AM, Bilgin Ibryam wrote:
> BTW using FC6 with configured printers, I cannot see the printers  in
> find orders screen.
>
> Any ideas what could be the reason and how to fix it?
>
> Bilgin
>


Re: Full of Questions

Posted by Bilgin Ibryam <bi...@iguanait.com>.
BTW using FC6 with configured printers, I cannot see the printers  in
find orders screen.

Any ideas what could be the reason and how to fix it?

Bilgin


Re: Full of Questions

Posted by Jacopo Cappellato <ja...@gmail.com>.
You can also define the printer (as a lan/remote printer) in the  
server in which OFBiz runs and then submit the print request to that  
printer (we have a service intended to do this).
If I am not wrong, there is an example of this pattern in the find  
orders screen (with a drop down that shows you the available printers,  
maybe commented out... but from there you should find the code).

Jacopo


On Apr 4, 2008, at 3:16 AM, skip@thedevers wrote:
> I have a request to print checks on a printer attached to a local  
> Windows
> workstation.  I can install a flavor of Linux if I need to.
>
> The customer wants to print check runs on a high speed printer  
> attached to
> this workstation, typically 200 to 500 each run.
>
> Has anyone done this already?
>
> What occured to me was a javascript routine that talked to the  
> server using
> ajax, but I am aware of no javascript objects that deal with the  
> printer
> (but then again, I am javascript challenged).
>
> I will almost certainly have a similiar request printing bar code  
> labels by
> the thousands on a barcode printer.
>
> The only choice I can see is a java application talking SOAP to the  
> server.
> However, I am hoping for another solution so things will have a more
> integrated feel.
>
> Skip
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:  
> 3/31/2008
> 10:13 AM
>


Full of Questions

Posted by "skip@thedevers" <sk...@thedevers.org>.
I have a request to print checks on a printer attached to a local Windows
workstation.  I can install a flavor of Linux if I need to.

The customer wants to print check runs on a high speed printer attached to
this workstation, typically 200 to 500 each run.

Has anyone done this already?

What occured to me was a javascript routine that talked to the server using
ajax, but I am aware of no javascript objects that deal with the printer
(but then again, I am javascript challenged).

I will almost certainly have a similiar request printing bar code labels by
the thousands on a barcode printer.

The only choice I can see is a java application talking SOAP to the server.
However, I am hoping for another solution so things will have a more
integrated feel.

Skip
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM


Re: Discovering Program Flow

Posted by David E Jones <jo...@hotwaxmedia.com>.
New stuff: Webtools -> Artifact Info

-David


On Apr 3, 2008, at 5:17 PM, skip@thedevers wrote:
> I am writing purchase orders, and then receiving them.  As part of  
> that
> process, an Invoice is being created when the items are received  I  
> see a
> shipment and shipmentItems created, .ItemIssuance and related,  
> InventoryItem
> and Detail, and several others.
>
> For the life of me, I cannot see what code is being called to create  
> the
> Invoice.  This is not the first time I ran into this.
>
> I have searched all the routines called directly and the ecas two  
> levels
> down so far, but still cannot find out how the invoice is being  
> created.
>
> Can someone tell me what is the best way and/or resources to use to  
> discover
> how these things happen when you can't trace through the code.
>
> Skip
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:  
> 3/31/2008
> 10:13 AM
>


Discovering Program Flow

Posted by "skip@thedevers" <sk...@thedevers.org>.
I am writing purchase orders, and then receiving them.  As part of that
process, an Invoice is being created when the items are received  I see a
shipment and shipmentItems created, .ItemIssuance and related, InventoryItem
and Detail, and several others.

For the life of me, I cannot see what code is being called to create the
Invoice.  This is not the first time I ran into this.

I have searched all the routines called directly and the ecas two levels
down so far, but still cannot find out how the invoice is being created.

Can someone tell me what is the best way and/or resources to use to discover
how these things happen when you can't trace through the code.

Skip
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM


Re: Multiple Supplier Prices

Posted by BJ Freeman <bj...@free-man.net>.
Here is what I worked on.
a basic service that ecas are set to for rules on best supplier.
The includes Price, based on quanity, deliver based on quanity,
Discounts based on quanity and payment.


skip@thedevers sent the following on 4/2/2008 5:49 PM:
> Has anyone given any thought to or better yet, has any work been done on the
> issue of multiple supplier prices.  For example, you might get price 1 for
> quantity 1, a lower price for 10x, and a still lower price for 100x.
> 
> I have come up with my own scheme (SupplierProductCost) based on the
> ProductPrice table (but related to SupplierProduct instead of Product).  I
> am about to embark on wholesale changes to the Requirements code to
> implement this.  However, I thought I'd ask to see if others have done or
> thought about it.
> 
> If there has been, I'll move this over to the dev mailing list.
> 
> Skip
> 
> 
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
> 10:13 AM
> 
> 
> 
> 


RE: Multiple Supplier Prices

Posted by "skip@thedevers" <sk...@thedevers.org>.
Thanks Jacopo, I'll check that out more carefully before I proceed.

Skip

-----Original Message-----
From: Jacopo Cappellato [mailto:jacopo.cappellato@gmail.com]
Sent: Wednesday, April 02, 2008 10:39 PM
To: user@ofbiz.apache.org
Subject: Re: Multiple Supplier Prices


You can also associate the SupplierProduct records to the Agreement
entities (see the fields in the SupplierProduct entity; you may also
define more than one agreement with your supplier; there are also
screens to manage this information)

This may help,

Jacopo

On Apr 3, 2008, at 6:17 AM, skip@thedevers wrote:
> Yep, saw that, but how about when you get a special promotional
> price or you
> get a discount from list price for a quantity or you have an
> agreement for a
> price when the order exceeds a dollar value.
>
> I have written a service that gets the lowest price so I can have
> promo
> prices.
>
> I am writing an Economic Ordering Quantity (E.O.Q. in retail parlance)
> routine that needs to know all the possible available costs for the
> computation to be successful in ording the quantity that results in
> the
> highest profitability for the item.
>
> SupplierProduct suffices for 95% of my needs, but I have a few costs
> that
> are agreement based (I can manually convert the "discount from list"
> ones by
> supplying the quantity 1 price and let the operator do the math).
>
> I was hoping for something as comprehensive as the price calculation
> routines that exist for the shopping cart and the sales price.
>
> With some luck, lots of folks will be using Ofbiz and that will
> include some
> of our suppliers who will offer us the price flexibility found in
> the sale
> prices for Ofbiz which of course become our costs.
>
> Thanks for the insite though, it is always appreciated.
>
> Skip
>
> -----Original Message-----
> From: David E Jones [mailto:jonesde@hotwaxmedia.com]
> Sent: Wednesday, April 02, 2008 8:14 PM
> To: user@ofbiz.apache.org
> Subject: Re: Multiple Supplier Prices
>
>
>
> There is already a field on the SupplierProduct entity for quantity
> breaks.
>
> -David
>
>
> On Apr 2, 2008, at 6:49 PM, skip@thedevers wrote:
>> Has anyone given any thought to or better yet, has any work been
>> done on the
>> issue of multiple supplier prices.  For example, you might get price
>> 1 for
>> quantity 1, a lower price for 10x, and a still lower price for 100x.
>>
>> I have come up with my own scheme (SupplierProductCost) based on the
>> ProductPrice table (but related to SupplierProduct instead of
>> Product).  I
>> am about to embark on wholesale changes to the Requirements code to
>> implement this.  However, I thought I'd ask to see if others have
>> done or
>> thought about it.
>>
>> If there has been, I'll move this over to the dev mailing list.
>>
>> Skip
>>
>>
>> No virus found in this outgoing message.
>> Checked by AVG.
>> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:
>> 3/31/2008
>> 10:13 AM
>>
>
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:
> 3/31/2008
> 10:13 AM
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:
> 3/31/2008
> 10:13 AM
>


No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM


RE: Multiple Supplier Prices

Posted by "skip@thedevers" <sk...@thedevers.org>.
Thanks Jacopo, I'll check that out more carefully before I proceed.

Skip

-----Original Message-----
From: Jacopo Cappellato [mailto:jacopo.cappellato@gmail.com]
Sent: Wednesday, April 02, 2008 10:39 PM
To: user@ofbiz.apache.org
Subject: Re: Multiple Supplier Prices


You can also associate the SupplierProduct records to the Agreement
entities (see the fields in the SupplierProduct entity; you may also
define more than one agreement with your supplier; there are also
screens to manage this information)

This may help,

Jacopo

On Apr 3, 2008, at 6:17 AM, skip@thedevers wrote:
> Yep, saw that, but how about when you get a special promotional
> price or you
> get a discount from list price for a quantity or you have an
> agreement for a
> price when the order exceeds a dollar value.
>
> I have written a service that gets the lowest price so I can have
> promo
> prices.
>
> I am writing an Economic Ordering Quantity (E.O.Q. in retail parlance)
> routine that needs to know all the possible available costs for the
> computation to be successful in ording the quantity that results in
> the
> highest profitability for the item.
>
> SupplierProduct suffices for 95% of my needs, but I have a few costs
> that
> are agreement based (I can manually convert the "discount from list"
> ones by
> supplying the quantity 1 price and let the operator do the math).
>
> I was hoping for something as comprehensive as the price calculation
> routines that exist for the shopping cart and the sales price.
>
> With some luck, lots of folks will be using Ofbiz and that will
> include some
> of our suppliers who will offer us the price flexibility found in
> the sale
> prices for Ofbiz which of course become our costs.
>
> Thanks for the insite though, it is always appreciated.
>
> Skip
>
> -----Original Message-----
> From: David E Jones [mailto:jonesde@hotwaxmedia.com]
> Sent: Wednesday, April 02, 2008 8:14 PM
> To: user@ofbiz.apache.org
> Subject: Re: Multiple Supplier Prices
>
>
>
> There is already a field on the SupplierProduct entity for quantity
> breaks.
>
> -David
>
>
> On Apr 2, 2008, at 6:49 PM, skip@thedevers wrote:
>> Has anyone given any thought to or better yet, has any work been
>> done on the
>> issue of multiple supplier prices.  For example, you might get price
>> 1 for
>> quantity 1, a lower price for 10x, and a still lower price for 100x.
>>
>> I have come up with my own scheme (SupplierProductCost) based on the
>> ProductPrice table (but related to SupplierProduct instead of
>> Product).  I
>> am about to embark on wholesale changes to the Requirements code to
>> implement this.  However, I thought I'd ask to see if others have
>> done or
>> thought about it.
>>
>> If there has been, I'll move this over to the dev mailing list.
>>
>> Skip
>>
>>
>> No virus found in this outgoing message.
>> Checked by AVG.
>> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:
>> 3/31/2008
>> 10:13 AM
>>
>
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:
> 3/31/2008
> 10:13 AM
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:
> 3/31/2008
> 10:13 AM
>


No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM


Re: Multiple Supplier Prices

Posted by Jacopo Cappellato <ja...@gmail.com>.
You can also associate the SupplierProduct records to the Agreement  
entities (see the fields in the SupplierProduct entity; you may also  
define more than one agreement with your supplier; there are also  
screens to manage this information)

This may help,

Jacopo

On Apr 3, 2008, at 6:17 AM, skip@thedevers wrote:
> Yep, saw that, but how about when you get a special promotional  
> price or you
> get a discount from list price for a quantity or you have an  
> agreement for a
> price when the order exceeds a dollar value.
>
> I have written a service that gets the lowest price so I can have  
> promo
> prices.
>
> I am writing an Economic Ordering Quantity (E.O.Q. in retail parlance)
> routine that needs to know all the possible available costs for the
> computation to be successful in ording the quantity that results in  
> the
> highest profitability for the item.
>
> SupplierProduct suffices for 95% of my needs, but I have a few costs  
> that
> are agreement based (I can manually convert the "discount from list"  
> ones by
> supplying the quantity 1 price and let the operator do the math).
>
> I was hoping for something as comprehensive as the price calculation
> routines that exist for the shopping cart and the sales price.
>
> With some luck, lots of folks will be using Ofbiz and that will  
> include some
> of our suppliers who will offer us the price flexibility found in  
> the sale
> prices for Ofbiz which of course become our costs.
>
> Thanks for the insite though, it is always appreciated.
>
> Skip
>
> -----Original Message-----
> From: David E Jones [mailto:jonesde@hotwaxmedia.com]
> Sent: Wednesday, April 02, 2008 8:14 PM
> To: user@ofbiz.apache.org
> Subject: Re: Multiple Supplier Prices
>
>
>
> There is already a field on the SupplierProduct entity for quantity
> breaks.
>
> -David
>
>
> On Apr 2, 2008, at 6:49 PM, skip@thedevers wrote:
>> Has anyone given any thought to or better yet, has any work been
>> done on the
>> issue of multiple supplier prices.  For example, you might get price
>> 1 for
>> quantity 1, a lower price for 10x, and a still lower price for 100x.
>>
>> I have come up with my own scheme (SupplierProductCost) based on the
>> ProductPrice table (but related to SupplierProduct instead of
>> Product).  I
>> am about to embark on wholesale changes to the Requirements code to
>> implement this.  However, I thought I'd ask to see if others have
>> done or
>> thought about it.
>>
>> If there has been, I'll move this over to the dev mailing list.
>>
>> Skip
>>
>>
>> No virus found in this outgoing message.
>> Checked by AVG.
>> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:
>> 3/31/2008
>> 10:13 AM
>>
>
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:  
> 3/31/2008
> 10:13 AM
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:  
> 3/31/2008
> 10:13 AM
>


RE: Multiple Supplier Prices

Posted by "skip@thedevers" <sk...@thedevers.org>.
Yep, saw that, but how about when you get a special promotional price or you
get a discount from list price for a quantity or you have an agreement for a
price when the order exceeds a dollar value.

I have written a service that gets the lowest price so I can have promo
prices.

I am writing an Economic Ordering Quantity (E.O.Q. in retail parlance)
routine that needs to know all the possible available costs for the
computation to be successful in ording the quantity that results in the
highest profitability for the item.

SupplierProduct suffices for 95% of my needs, but I have a few costs that
are agreement based (I can manually convert the "discount from list" ones by
supplying the quantity 1 price and let the operator do the math).

I was hoping for something as comprehensive as the price calculation
routines that exist for the shopping cart and the sales price.

With some luck, lots of folks will be using Ofbiz and that will include some
of our suppliers who will offer us the price flexibility found in the sale
prices for Ofbiz which of course become our costs.

Thanks for the insite though, it is always appreciated.

Skip

-----Original Message-----
From: David E Jones [mailto:jonesde@hotwaxmedia.com]
Sent: Wednesday, April 02, 2008 8:14 PM
To: user@ofbiz.apache.org
Subject: Re: Multiple Supplier Prices



There is already a field on the SupplierProduct entity for quantity
breaks.

-David


On Apr 2, 2008, at 6:49 PM, skip@thedevers wrote:
> Has anyone given any thought to or better yet, has any work been
> done on the
> issue of multiple supplier prices.  For example, you might get price
> 1 for
> quantity 1, a lower price for 10x, and a still lower price for 100x.
>
> I have come up with my own scheme (SupplierProductCost) based on the
> ProductPrice table (but related to SupplierProduct instead of
> Product).  I
> am about to embark on wholesale changes to the Requirements code to
> implement this.  However, I thought I'd ask to see if others have
> done or
> thought about it.
>
> If there has been, I'll move this over to the dev mailing list.
>
> Skip
>
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:
> 3/31/2008
> 10:13 AM
>


No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM


Re: Multiple Supplier Prices

Posted by David E Jones <jo...@hotwaxmedia.com>.
There is already a field on the SupplierProduct entity for quantity  
breaks.

-David


On Apr 2, 2008, at 6:49 PM, skip@thedevers wrote:
> Has anyone given any thought to or better yet, has any work been  
> done on the
> issue of multiple supplier prices.  For example, you might get price  
> 1 for
> quantity 1, a lower price for 10x, and a still lower price for 100x.
>
> I have come up with my own scheme (SupplierProductCost) based on the
> ProductPrice table (but related to SupplierProduct instead of  
> Product).  I
> am about to embark on wholesale changes to the Requirements code to
> implement this.  However, I thought I'd ask to see if others have  
> done or
> thought about it.
>
> If there has been, I'll move this over to the dev mailing list.
>
> Skip
>
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date:  
> 3/31/2008
> 10:13 AM
>


Multiple Supplier Prices

Posted by "skip@thedevers" <sk...@thedevers.org>.
Has anyone given any thought to or better yet, has any work been done on the
issue of multiple supplier prices.  For example, you might get price 1 for
quantity 1, a lower price for 10x, and a still lower price for 100x.

I have come up with my own scheme (SupplierProductCost) based on the
ProductPrice table (but related to SupplierProduct instead of Product).  I
am about to embark on wholesale changes to the Requirements code to
implement this.  However, I thought I'd ask to see if others have done or
thought about it.

If there has been, I'll move this over to the dev mailing list.

Skip


No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1352 - Release Date: 3/31/2008
10:13 AM


Re: How to Configure a Product with Configurable Attributes

Posted by Sumit Pandit <su...@hotwaxmedia.com>.
Rohit ,
In addition to Nikita's comment you can try to add the Configurable PC 
in your cart. I wish it will help you. the productId is *PC001.

Sumit
*Nikita Shinde wrote:
> Hi,
>
>    Have done something similar to this ...
>
> Providing some pointers :
>
> 1> Add the attributes width, gauge, thickness etc as ProductFeature &
> associate these features with products in ProductFeatureAppl.
> 2> Write your custom code to calculate the adjustments depending on the
> input.
> 3> Then you can add the calculated adjustment to the product price.
>
>
> I have'nt tried this with price rules but you can try that too.
>
>
> Thanks,
> Nikita Shinde
> Amicon Technologies Pvt. Ltd.
> Mumbai.
>
>
> -----Original Message-----
> From: rohitpant [mailto:rohitpant@gmail.com] 
> Sent: Wednesday, April 02, 2008 7:56 AM
> To: user@ofbiz.apache.org
> Subject: How to Configure a Product with Configurable Attributes
>
>
> Hi All,
>                I have the following requirement - When a user selects a
> product from a shopping cart, user should get prompted to enter some
> parameters before getting the final list of products. For example -
>
> If you are purchasing steel, you might select a product by name 'Hot Rolled
> Steel' but then you would also like to enter width, gauge, thickness etc for
> 'Steel' since these attributes would determine the price of the product.
>
> I am in the process of finding out how this can be done, but if someone has
> already done this or your thoughts on how can this be done (iam 3 days old
> to ofbiz) or you could point me to the rite doc maybe.
>
> Would appreciate a reply.
>
> Regards,
> Rohit
>
>   


RE: How to Configure a Product with Configurable Attributes

Posted by Nikita Shinde <ni...@amicontech.com>.
Hi,

   Have done something similar to this ...

Providing some pointers :

1> Add the attributes width, gauge, thickness etc as ProductFeature &
associate these features with products in ProductFeatureAppl.
2> Write your custom code to calculate the adjustments depending on the
input.
3> Then you can add the calculated adjustment to the product price.


I have'nt tried this with price rules but you can try that too.


Thanks,
Nikita Shinde
Amicon Technologies Pvt. Ltd.
Mumbai.


-----Original Message-----
From: rohitpant [mailto:rohitpant@gmail.com] 
Sent: Wednesday, April 02, 2008 7:56 AM
To: user@ofbiz.apache.org
Subject: How to Configure a Product with Configurable Attributes


Hi All,
               I have the following requirement - When a user selects a
product from a shopping cart, user should get prompted to enter some
parameters before getting the final list of products. For example -

If you are purchasing steel, you might select a product by name 'Hot Rolled
Steel' but then you would also like to enter width, gauge, thickness etc for
'Steel' since these attributes would determine the price of the product.

I am in the process of finding out how this can be done, but if someone has
already done this or your thoughts on how can this be done (iam 3 days old
to ofbiz) or you could point me to the rite doc maybe.

Would appreciate a reply.

Regards,
Rohit

-- 
View this message in context:
http://www.nabble.com/How-to-Configure-a-Product-with-Configurable-Attribute
s-tp16437473p16437473.html
Sent from the OFBiz - User mailing list archive at Nabble.com.