Re: Confused about Inventory Items

2007-12-14 Thread Jacques Le Roux
You may be interested to read the Data Model Resource Book p.84 http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Related+Books Without this book you may lose time... Jacques De : Andrew [EMAIL PROTECTED] I'm apparently missing something about the way inventory works, but hey I'm still

Problem deploying test app

2007-12-14 Thread Edward Banfa
Hi all, I am new to ofbiz and I am trying to deploy a test application. I am using the hello world tutorials from www.opensourcestrategies.com http://www.opensourcestrategies.com/ . The problem is my app Is not being deployed (well I cant see it being loaded in the console.log and I put the

Understanding Product Promotions

2007-12-14 Thread Vikas Mayur
I was exploring the code flow for product promotions, being applied when a product is added to the cart through ordermgr. Can any one help me out where the flow goes after 2007-12-14 16:31:29,033 (http-0.0.0.0-8443-Processor4) [ ShoppingCartHelper.java:173:INFO ] parent productid null so that I

Re: OfBiz System Configuration Wizard

2007-12-14 Thread Adrian Crum
Again, we use the Asset Maintenance component OOTB here. Even though I'm an in-house IT guy and I was the one who installed OFBiz here, it didn't have to be me doing it. Our facilities manager (person, not program) could have downloaded a binary release, unzipped it and started using the Asset

Re: FastMap Vs HashMap,

2007-12-14 Thread Adrian Crum
I just spent some time running performance tests on FastMaps and HashMaps. Calling the get methods showed no speed difference. The Javalution classes seem to have a speed advantage in building Maps and Lists. They claim their FastSet.removeLast method is faster than the Java library. So, there

RE: Problem deploying test app

2007-12-14 Thread Edward Banfa
Sorry but I found the solution in a README file located in the hot deploy Folder of opentaps-1.0. Thanks for the help. --FROM README FILE - This is a hot-deploy component directory. All components in this tree will be loaded after

Re: Currency in store and eCommerce

2007-12-14 Thread Lindsey L.
Hello Jacques and David, I realize that the activity on this issue is a little old, but I have a scenario that would greatly benefit from a solution or complete documentation around this issue. Just to recap, the issue was about virtual products being set in one currency and their variants set

Re: OfBiz System Configuration Wizard

2007-12-14 Thread Jacques Le Roux
Walter, OK, thanks this is more clear :o) De : Walter Vaughan [EMAIL PROTECTED] Jacques Le Roux wrote: I'm not sure to see the frontier here... Except in the edge case, I don't see how many people who are at the level of being able to install and operate SugarCRM could do the same

Re: hello world application

2007-12-14 Thread Pranay Pandey
For this you can visit this link : http://www.opensourcestrategies.com/ofbiz/tutorials.php This will be very helpful to you. All things are explained there. On Dec 14, 2007 12:50 PM, Hans Bakker [EMAIL PROTECTED] wrote: Please read the related webpage page carefully, it is completely explained

Re: FastMap Vs HashMap,

2007-12-14 Thread Jacques Le Roux
Sumit, Adrian, All, I had a cursory look at it. In abstract, yes this seems to be right Though those lines you took from Google are 4 years old http://www.javalobby.org/java/forums/t9377.html?start=15#reply20 Anyway it seems to be right, here the answer from Javolution Creator (JM Dautelle)

JSONObject to Map

2007-12-14 Thread Al Byers
Is there a simple way to convert a JSONObject to its HashMap repesentation? Thanks, -Al

Re: FastMap Vs HashMap,

2007-12-14 Thread David E Jones
It is actually a pretty big deal, and there are very good reasons it was integrated into OFBiz. In OFBiz we deal with LOTS of temporary objects, especially Maps and Lists, and when doing performance profiling you can see the impact of this in the results (ie lots of time creating objects

Re: JSONObject to Map

2007-12-14 Thread Al Byers
Thanks Chris, It looks like the answer is this: Map bean = (Map)JSONObject.toBean(json, java.util.HashMap.class); -Al

Re: JSONObject to Map

2007-12-14 Thread Chris Howe
An older version of json-lib is included in the project. The javadocs are here http://json-lib.sourceforge.net/apidocs/jdk15/index.html - Original Message From: Al Byers [EMAIL PROTECTED] To: user@ofbiz.apache.org Sent: Friday, December 14, 2007 4:14:37 PM Subject: JSONObject to Map

Re: FastMap Vs HashMap,

2007-12-14 Thread Jacques Le Roux
Thanks a lot David to have taken the time to clearly explain. I'm sure this will be helpful for a lot of persons in some circonstances. BTW, would you recommend a specific profiler tool ? I did not use one since I use Java, I should say since I use OFBiz... Jacques De : David E Jones [EMAIL

Re: Understanding Product Promotions

2007-12-14 Thread Scott Gray
Hi Vikas Most of the action takes place here: applications/order/src/org/ofbiz/order/shoppingcart/product/ProductPromoWorker.java I think from memory that runProductPromos is the entry point you're looking for. If you add a breakpoint to that you should be able to see what called it. Regards

Re: FastMap Vs HashMap,

2007-12-14 Thread Sumit Pandit
Thanks Adrian, Jacques and David for your valuable thoughts. David I admire your explanation power. Great Clarification. Also as Jacques says please recommend a specific profiler tool if possible. thanks again. Sumit Pandit On Dec 15, 2007 6:55 AM, Jacques Le Roux [EMAIL PROTECTED] wrote:

Re: Confused about Inventory Items

2007-12-14 Thread Mridul Pathak
Hi Andrew, Have you created a single product for the Gearbox, i.e. only one entry in the Product entity for the product Gearbox, and trying to apply all the selectable features to this particular product? If yes, than your data is still not complete. :) Here is something that I know about

Re: Party Information

2007-12-14 Thread Mridul Pathak
Hi Brendan, We can create Party for any person or group. A person is for a single person and a Group is for any organization or a departments in an organization. We can assign roles (more than one) to each person according to the roles they play in a organization (like employee, customer,