Hi Rafael, Here's the specific place in the createPerson service
https://fisheye6.atlassian.com/browse/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java?r=1343486#to124 you'll see similar code for many other entities. Cheers Paul Foxworthy Rafael Rondon wrote > Hi Dhiraj, > > > Thank you very much for your help, > > But You could tell me in what file (program) is that calling this function > for party_id in new Party, because I can not understand how they get the > current sequence or sequence last registered for one hence increase the > next. > > Regards, > > > Rafael > > On Tue, Oct 16, 2012 at 1:42 AM, dhiraj.g < > dhiraj.g@ > > wrote: > >> Hi Rafeal, >> When we made a party then party_id is ganerated automatically for this >> party.Party_id is a sequence number which is genarated by java cleass >> SequenceUtil.java >> Location of this file is >> framework/entity/src/org/ofbiz/entity/util >> please check it. >> >> >> >> Thanks >> Dhiraj Gupta >> >> >> >> >> _ >> >> >> >> ----- >> dhirajgupta >> -- >> View this message in context: >> http://ofbiz.135035.n4.nabble.com/Help-party-id-in-new-Party-tp4636924p4636931.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> > > > > -- > Rafael Rondón Montás > Software Developer > Dominican Republic > Cel:. 809-862-2839 > email: > rarondon@ ----- -- Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ -- View this message in context: http://ofbiz.135035.n4.nabble.com/Help-party-id-in-new-Party-tp4636924p4636978.html Sent from the OFBiz - User mailing list archive at Nabble.com.
