You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Rafael Rondon <ra...@gmail.com> on 2012/10/15 18:41:32 UTC

Help party_id in new Party

regards,

I would like to know where and how we get the next sequence when adding a new
Party.

What is the table which specifies the next or last number party_Id for new
Party.

And if that field party_id could put in some parameter other than generated
automatically, but you can capture the same way as standard alphanumeric one
considers.


Thank you very much,


-- 
Rafael Rondón Montás

Re: Help party_id in new Party

Posted by Paul Foxworthy <pa...@cohsoft.com.au>.
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 &lt;

> dhiraj.g@

> &gt; 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.

Re: Help party_id in new Party

Posted by Rafael Rondon <ra...@gmail.com>.
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 <dh...@nic.in> 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@gmail.com

Re: Help party_id in new Party

Posted by "dhiraj.g" <dh...@nic.in>.
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.