Take a look at the createperson service. when I import databases, I induce a model from the database to import then I read in the import database then fill the parameters for a service then call the service. that way ofbiz takes care of getting everything in the right place and I don't have to worry about the data model.
other than that use the webtools to see what relationships there are to the entities, your are accessing. being a relational database once a relationship is established between entities, data in one entity can not be deleted. so we use and enddate in the entity . Also note that some of the delete UI in 9.04 may not be fixed yet. do a search in the jira for ofbiz 9.04 to find if a patch was done ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> joseph kesse sent the following on 3/10/2010 2:51 AM: > he Hello, > > I hae a mistake with ofbiz : > i have a mistake with the party, I have import party data from another > database to ofbiz database. > > When i'm in the web ofbiz party and i'want to update or delete the postal > adress i'have put i'have an error message : > > org.ofbiz.webapp.event.EventHandlerException: Service invocation error > (Commit transaction failed) > > Could you say me what could be the reason. > > i use the table : contact-mech,postal > adress,partycontactmechpurpose,partycontactmech. > > Is there another table where i need to put data? > > > When i try to delete a general adress location from the web screen that do > what you can see on attached file, i put alos a console log. > > tth Thank you very much for helping me > > Fabrice. > > > > > > > >
