remove a foreign key dependency

2010-04-12 Thread Patrick
When I place an order I want to remove the facility dependency, so I commented out the following: and did a restart, but when I place an order it still requires the dependency so I guess it didn't update. Is there a special command to verify and update the DB from a modified entitymodel.xml file ?

Re: remove a foreign key dependency

2010-04-12 Thread Jacques Le Roux
Look for Check/Update Database in Webtools Jacques From: Patrick patrickinminneapo...@gmail.com When I place an order I want to remove the facility dependency, so I commented out the following: and did a restart, but when I place an order it still requires the dependency so I guess it didn't

Re: purchasse order and round in calcul

2010-04-12 Thread Jacques Le Roux
You could try to change the currency-amount and currency-precise type of field, look in fieldtype*.xml files Jacques From: joseph kesse merlin.ava...@yahoo.fr Hello, i have a mistake in my purchasse order i have price like 0.012352 for an article and i see in the result that all the number are

Re: e-commerce affiliate programs

2010-04-12 Thread Jacques Le Roux
Yes, it's possible but not OOTB, you would have to assemble existing pieces. I let you track them, should not be too hard. Jacques From: Varun Bhansaly vbhans...@gmail.com Hi, I am evaluating a variety of ecommerce engines like magento, spree, oscommerce of cource ofbiz e-commerce. There

Re: Problem in creating Requirment for purchase order

2010-04-12 Thread Jacques Le Roux
Can you reproduce on demo server? If yes please fill a Jira to help us help you. Jacques From: Anurag Walia walia.anu...@hotmail.com Hi all, I am facing a problem regarding purchase requirement inside order module. when i clicked on prepare order inside Approved Requirements By vendor then

Re: Hi, New to ofbiz, Please help

2010-04-12 Thread Jacques Le Roux
Sorry I should have replied in user ML, please don't use dev for questions like that Jacques From: Jacques Le Roux jacques.le.r...@les7arts.com Look for uploadFileInterface Jacques From: amit kumar arbaliyan_...@yahoo.com Hi, I have to upload a image file on server, And i didn't get the

Santosh Malviya wants to chat

2010-04-12 Thread Santosh Malviya
--- Santosh Malviya wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-44ba4b9f7d-d183e77080-808109438f4747c3 You'll need to

Re: remove a foreign key dependency

2010-04-12 Thread Patrick
I ran a check, and it removed the dependency from webtools entity reference, eg. searching for ORDER_HDR_OFAC gives no results, but when I try to update an OrderHeader it still breaks saying INSERT on table 'ORDER_HEADER' caused a violation of foreign key constraint 'ORDER_HDR_OFAC' for key

Re: remove a foreign key dependency

2010-04-12 Thread Patrick
I just used a SQL command in the webform to alter a table, that worked. Thanks for your help. :) On Mon, Apr 12, 2010 at 8:28 AM, Patrick patrickinminneapo...@gmail.com wrote: I ran a check, and it removed the dependency from webtools entity reference, eg. searching for ORDER_HDR_OFAC gives no

Re: Hi, New to ofbiz, Please help

2010-04-12 Thread sumit pandit
Oops !! Sorry from me as well. On Mon, Apr 12, 2010 at 6:50 PM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Sorry I should have replied in user ML, please don't use dev for questions like that Jacques From: Jacques Le Roux jacques.le.r...@les7arts.com Look for

Ofbiz demo product elimination

2010-04-12 Thread asitkumar....@tcs.com
hello i have configured my ofbiz appplication pointing to MYSQL. Now everytime i run 'ant run-install' it adds all the demo products to ofbiz database as mentioned in build file. Please help me to configure my application such that those service wont be called which adds demo products to

Ofbiz demo product elimination

2010-04-12 Thread asitkumar....@tcs.com
hello i have configured my ofbiz appplication pointing to MYSQL. Now everytime i run 'ant run-install' it adds all the demo products to ofbiz database as mentioned in build file. Please help me to configure my application such that those service wont be called which adds demo products to

Wiki is down

2010-04-12 Thread Jeroen van der Wal
All links on http://ofbiz.apache.org/ to the Wiki are dead. -Jeroen

Re: Ofbiz demo product elimination

2010-04-12 Thread Jacques Le Roux
I think you want to use ant run-install-seed You may also try to use ant -p to list all targets But best would certainly to begin by looking into the documentation. Unfortutnately, due to an attack to an ASF server last week, it's still not available. Should be soon, refer to this link to

Re: Wiki is down

2010-04-12 Thread Olivier Tremblay
The server responds with the default fresh-install It works!. http://cwiki.apache.org/ Le 2010-04-12 à 11:37, Jeroen van der Wal a écrit : All links on http://ofbiz.apache.org/ to the Wiki are dead. -Jeroen

Re: Wiki is down

2010-04-12 Thread Adrian Crum
Apache is aware of it and they are working on it. Thanks. -Adrian Jeroen van der Wal wrote: All links on http://ofbiz.apache.org/ to the Wiki are dead. -Jeroen

Re: e-commerce affiliate programs

2010-04-12 Thread Varun Bhansaly
Hi Jacques, Would be of great help if you could give some pointers on the existing pieces. BTW forgot to mention an important condition - Discount vouchers may not be used in conjunction with any other offers. Thanks, On Mon, Apr 12, 2010 at 6:39 PM, Jacques Le Roux [via OFBiz]

Re: e-commerce affiliate programs

2010-04-12 Thread Ruth Hoffman
Hello Varun: Good introduction to promotions in my books. There are no pointers to code as these books are intended for end-users. However, you can get a really good feel for how things work and if OFBiz compares favorably to your other candidates. Both books discuss out-of-the-box support

any reason a groovy file can't execute my java class?

2010-04-12 Thread Patrick
I made a little java class but it won't execute for me in groovy, I can execute other classes orh = new OrderReadHelper(); //i can execute this z = new NextPickupDateUpdater(); //this is my class, it doesn't complain, but it doesn't execute, inspecting the value gives a memory address, numdays

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Adrian Crum
Make sure the update method is public, and that it takes no arguments and returns a number. -Adrian Patrick wrote: I made a little java class but it won't execute for me in groovy, I can execute other classes orh = new OrderReadHelper(); //i can execute this z = new NextPickupDateUpdater();

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Patrick
I guess you can't have a groovy file with the same name as your java class file :( On Mon, Apr 12, 2010 at 2:01 PM, Adrian Crum adri...@hlmksw.com wrote: Make sure the update method is public, and that it takes no arguments and returns a number. -Adrian Patrick wrote: I made a little

given a list of facilityIds can I do a DB query and get a list of corresponding facility entities

2010-04-12 Thread Patrick
I have a list of facilityIds and I want the entities. I know I could put it in a for loop and do x number of database queries, but I was hoping there was a faster way since I know that DB queries are the bottleneck. Thanks Patrick

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Jacques Le Roux
Yes, that's a problem indeed Jacques From: Patrick patrickinminneapo...@gmail.com I guess you can't have a groovy file with the same name as your java class file :( On Mon, Apr 12, 2010 at 2:01 PM, Adrian Crum adri...@hlmksw.com wrote: Make sure the update method is public, and that it

Re: given a list of facilityIds can I do a DB query and get a list of corresponding facility entities

2010-04-12 Thread David E Jones
Use the IN operator. -David On Apr 12, 2010, at 2:47 PM, Patrick wrote: I have a list of facilityIds and I want the entities. I know I could put it in a for loop and do x number of database queries, but I was hoping there was a faster way since I know that DB queries are the bottleneck.

running ofbiz in Eclipse

2010-04-12 Thread Khalid Sultan
Hi,   I have tried to run Ofbiz in eclipse but I couldn't. I imported the ofbiz project to eclipse. It doesn't give any errors. Running (build.xml) as ant works well and builds successful. However, when  I type (http://localhost:8080/ecommerce) into the URL, it doesn't give me any thing. So, I

Re: Problem in creating Requirment for purchase order

2010-04-12 Thread Sharan-F
Hi Anurag It sounds to me like you havent setup your product correctly. The Supplier or Suppliers that you order your product from should be linked to your product. For your product go the the 'Suppliers' tab and make sure there is an entry your supplier. If there isnt then create one. If you

Re: running ofbiz in Eclipse

2010-04-12 Thread Robert Morley
Hi Khalid, I seem to recall that if you do a build and then start Ofbiz (without loading seed data) it simply gives you no page and no error message. Usually I run the run-install ant target before starting things up. As for executing in Eclipse, I have to do the following things (from

Re: Problem in creating Requirment for purchase order

2010-04-12 Thread Anurag Walia
Thanks for your valuable reply i got the solution. There was a problem in suplier Currency Uom Id. Regards Anurag Walia -- View this message in context: http://n4.nabble.com/Problem-in-creating-Requirment-for-purchase-order-tp1836706p1837973.html Sent from the OFBiz - User mailing list archive

Re: Problem in creating Requirment for purchase order

2010-04-12 Thread Anurag Walia
Thanks for your valuable reply. i got the solution. There was a problem in suplier Currency Uom Id. Regards Anurag Walia -- View this message in context: http://n4.nabble.com/Problem-in-creating-Requirment-for-purchase-order-tp1836706p1837974.html Sent from the OFBiz - User mailing list

Re: any reason a groovy file can't execute my java class?

2010-04-12 Thread Anurag Walia
Hi, Some times if the java file exist inside hot-deploy then problem come like this. can you specify the path of your java and groovy file. Regards Anurag Walia -- View this message in context: http://n4.nabble.com/any-reason-a-groovy-file-can-t-execute-my-java-class-tp1837571p1837980.html

Re: Ofbiz demo product elimination

2010-04-12 Thread Anurag Walia
Hi, just check your entityengine.xml again there is read-data reader-name=seed/ sub tag of your delegator. and change install-containers.xml inside base/config folder There is property name=delegator-name value=default/ change value with your delegator name. Then try with ant run-install

RE: Ofbiz demo product elimination

2010-04-12 Thread Shreya Poorkar
Hi You can do one thing, go to specialpurpose/ecommerce/data/DemoProduct.xml and comment out the products from there also check if these products are used in any other data file, if so u will have to comment them as well. Other associated data files are DemoProductImages.xml,

Creating Template for Jboss 4.3 commercial version in OFBiz

2010-04-12 Thread Pardeep Ruhil
Hi, I want to include the template for Jboss 4.3 commercial version. So I want to know the basic steps that needs to taken to create template files for Jboss 4.3 Please help to make a template for JBoss 4.3 Thanks Regards Pradeep Ruhil This Email may contain

Apache.org incident report for 04/09/2010

2010-04-12 Thread Sam Hamilton
Please excuse the cross post but I thought that everyone on both lists should be aware of this issue. https://blogs.apache.org/infra/entry/apache_org_04_09_2010 Thanks Sam

RE: OFBiz performance issue.

2010-04-12 Thread Anil Soni
Thanks David for the reply. I 'had already done all these setting and tried on Jboss but still result are the same. Now when I am doing testing through Jmeter for concurrent users than it is giving the error related to duplicate key value violates for UserLoginHistory and ServerHit entities.