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.
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.
;
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.
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
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.
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.
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.
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
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
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
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
11 matches
Mail list logo