Cannot Retrive price from ProductPrice

2007-05-09 Thread subhasis
c.toMap("product", product); priceMap = dispatcher.runSync("calculateProductPrice", priceContext); } But it is not working ,Please help ASAP -- View this message in context: http://www.nabble.com/Cannot-Retrive-price-from-ProductPrice-tf3719796.html#a10407489 Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Cannot Retrive price from ProductPrice

2008-12-03 Thread madppiper
oduct... how do i access that data or put them both into relation? -- View this message in context: http://www.nabble.com/Cannot-Retrive-price-from-ProductPrice-tp10407489p20816146.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Cannot Retrive price from ProductPrice

2008-12-03 Thread Jacques Le Roux
; context.put("priceMap", productPrices); But that, of course, wouldn't print out the correct price of any product... how do i access that data or put them both into relation? -- View this message in context: http://www.nabble.com/Cannot-Retrive-price-from-ProductPrice-tp10407489p20816146.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Cannot Retrive price from ProductPrice

2008-12-04 Thread madppiper
Hmm, that does make sense... and how would you combine both results to one combined resultList? Do I have to use LinkedList for that? -- View this message in context: http://www.nabble.com/Cannot-Retrive-price-from-ProductPrice-tp10407489p20830590.html Sent from the OFBiz - User mailing

Re: Cannot Retrive price from ProductPrice

2008-12-04 Thread Jacques Le Roux
age in context: http://www.nabble.com/Cannot-Retrive-price-from-ProductPrice-tp10407489p20830590.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Cannot Retrive price from ProductPrice

2008-12-04 Thread madppiper
Nah, but I think I found the answer myself in the UtilMisc,toList function ;) Thx for your support, though ;) -- View this message in context: http://www.nabble.com/Cannot-Retrive-price-from-ProductPrice-tp10407489p20831490.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Cannot Retrive price from ProductPrice

2008-12-04 Thread madppiper
der on whether there are easier/already existing ways of what I am trying to accomplish... -- View this message in context: http://www.nabble.com/Cannot-Retrive-price-from-ProductPrice-tp10407489p20832124.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Cannot Retrive price from ProductPrice

2008-12-04 Thread BJ Freeman
normally you use a view-entity. this lets you group entities and chose the fields you want then you query the view-entity like any other. Like in Databases, you must have all the relationships satisfied for any row you want to display. Note you can build a view-entity on the fly, but for debug purp

Re: Cannot Retrive price from ProductPrice

2008-12-04 Thread David E Jones
read on http://www.opensourcestrategies.com/ofbiz/ofbiz_entity_cookbook.txt that you shouldn't access the product data table directly (which makes sense), and so I can't help but wonder on whether there are easier/ already existing ways of what I am trying to accomplish... -- View this me

Re: Cannot Retrive price from ProductPrice

2007-05-09 Thread Hans Bakker
I tried to understand your code.however writing new is perhaps easier. List productPrices = delegator.findByAnd( "ProductPrice", UtilMisc.toMap("productPriceTypeId", "DEFAULT_PRICE")); in productPrices there will be the productId If you wan

Re: Cannot Retrive price from ProductPrice

2007-05-10 Thread Vamsi Gmail!
make sure that you set the price for this product I didn't found any error in that code ,are you getting any error or it is not getting diaplayed can provide some more information On 5/10/07, Hans Bakker <[EMAIL PROTECTED]> wrote: I tried to understand your code.however writing new is p