Help party_id in new Party

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Help party_id in new Party

Rafael Rondon
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
Reply | Threaded
Open this post in threaded view
|

Re: Help party_id in new Party

dhiraj.g
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




_
Dhiraj Gupta
Reply | Threaded
Open this post in threaded view
|

Re: Help party_id in new Party

Rafael Rondon
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 <[hidden email]> 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: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Help party_id in new Party

Paul Foxworthy
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 <[hidden email]> 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: [hidden email]
--
Coherent Software Australia Pty Ltd
http://www.coherentsoftware.com.au/

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/