Party IDs

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

Party IDs

Brendan Vogt
Hi,

 

I see some party IDs are like 10000 and others have text like DHL.  Why is
it like this??  How do I change it?  Is there a best practices that I need
to follow when inserting IDs (if it can be done)?

 

Brendan

Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

Vikas Mayur-2
System generates the Id's like 10000. I think SequenceUtil plays a role
here.
Every application need essential data to run.
In Ofbiz we have a number of seed data files that are required to load first
to run the application.
So DHL comes from seed Data.

On Dec 8, 2007 11:20 PM, Brendan Vogt <[hidden email]> wrote:

> Hi,
>
>
>
> I see some party IDs are like 10000 and others have text like DHL.  Why is
> it like this??  How do I change it?  Is there a best practices that I need
> to follow when inserting IDs (if it can be done)?
>
>
>
> Brendan
>
>


--
Vikas Mayur
Reply | Threaded
Open this post in threaded view
|

RE: Party IDs

Brendan Vogt
DHL can not come from seed data because in my seed data I only have 3
parties that were created.

I the demo data there is a party called Company as Id.  In the seed data
there is no such party.  How do I add this party so that it looks exactly
like the demo data.  If I add a party now then it appends and number Id to
it.

When it is ideal to use a number Id or a text Id?

-----Original Message-----
From: Vikas Mayur [mailto:[hidden email]]
Sent: Monday, December 10, 2007 6:24 AM
To: [hidden email]
Subject: Re: Party IDs

System generates the Id's like 10000. I think SequenceUtil plays a role
here.
Every application need essential data to run.
In Ofbiz we have a number of seed data files that are required to load first
to run the application.
So DHL comes from seed Data.

On Dec 8, 2007 11:20 PM, Brendan Vogt <[hidden email]> wrote:

> Hi,
>
>
>
> I see some party IDs are like 10000 and others have text like DHL.  Why is
> it like this??  How do I change it?  Is there a best practices that I need
> to follow when inserting IDs (if it can be done)?
>
>
>
> Brendan
>
>


--
Vikas Mayur

Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

rajsaini
Copy the demo data, change it to match your requirement and import it
through http://localhost:8080/webtools application. You can give your
own ids (not system generated) in the data you creating for your
application.

Raj
Brendan Vogt wrote:

> DHL can not come from seed data because in my seed data I only have 3
> parties that were created.
>
> I the demo data there is a party called Company as Id.  In the seed data
> there is no such party.  How do I add this party so that it looks exactly
> like the demo data.  If I add a party now then it appends and number Id to
> it.
>
> When it is ideal to use a number Id or a text Id?
>
> -----Original Message-----
> From: Vikas Mayur [mailto:[hidden email]]
> Sent: Monday, December 10, 2007 6:24 AM
> To: [hidden email]
> Subject: Re: Party IDs
>
> System generates the Id's like 10000. I think SequenceUtil plays a role
> here.
> Every application need essential data to run.
> In Ofbiz we have a number of seed data files that are required to load first
> to run the application.
> So DHL comes from seed Data.
>
> On Dec 8, 2007 11:20 PM, Brendan Vogt <[hidden email]> wrote:
>
>  
>> Hi,
>>
>>
>>
>> I see some party IDs are like 10000 and others have text like DHL.  Why is
>> it like this??  How do I change it?  Is there a best practices that I need
>> to follow when inserting IDs (if it can be done)?
>>
>>
>>
>> Brendan
>>
>>
>>    
>
>
>  

Reply | Threaded
Open this post in threaded view
|

RE: Party IDs

Brendan Vogt
How do I delete a party?  I can see any delete buttons.

-----Original Message-----
From: Raj Saini [mailto:[hidden email]]
Sent: Monday, December 10, 2007 3:38 PM
To: [hidden email]
Subject: Re: Party IDs

Copy the demo data, change it to match your requirement and import it
through http://localhost:8080/webtools application. You can give your
own ids (not system generated) in the data you creating for your
application.

Raj
Brendan Vogt wrote:

> DHL can not come from seed data because in my seed data I only have 3
> parties that were created.
>
> I the demo data there is a party called Company as Id.  In the seed data
> there is no such party.  How do I add this party so that it looks exactly
> like the demo data.  If I add a party now then it appends and number Id to
> it.
>
> When it is ideal to use a number Id or a text Id?
>
> -----Original Message-----
> From: Vikas Mayur [mailto:[hidden email]]
> Sent: Monday, December 10, 2007 6:24 AM
> To: [hidden email]
> Subject: Re: Party IDs
>
> System generates the Id's like 10000. I think SequenceUtil plays a role
> here.
> Every application need essential data to run.
> In Ofbiz we have a number of seed data files that are required to load
first

> to run the application.
> So DHL comes from seed Data.
>
> On Dec 8, 2007 11:20 PM, Brendan Vogt <[hidden email]> wrote:
>
>  
>> Hi,
>>
>>
>>
>> I see some party IDs are like 10000 and others have text like DHL.  Why
is
>> it like this??  How do I change it?  Is there a best practices that I
need

>> to follow when inserting IDs (if it can be done)?
>>
>>
>>
>> Brendan
>>
>>
>>    
>
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

Walter Vaughan
In reply to this post by Brendan Vogt
Brendan Vogt wrote:

>When it is ideal to use a number Id or a text Id?
>
>  
>
I've also stumbled over that as well. From my perspective, if you have
an account that is used a lot like a supplier or repeat customer, it
makes sence to create a partyId with a nemonic that is memorable, since
someone may have to look them up several times a month. For the random
web customer, the next available number is fine.

Remember that field (partyId) is really a text field for sorting
purposes, so even if you see only numbers, if you sort by it by partyId,
it sorts alphabetically (198765 comes before 20000 since the first
character is a "1").

--
Walter
Reply | Threaded
Open this post in threaded view
|

RE: Party IDs

Brendan Vogt
Thanks Walter.

How do I delete a party with all the values like address details that were
saved for that party?


-----Original Message-----
From: Walter Vaughan [mailto:[hidden email]]
Sent: Monday, December 10, 2007 4:21 PM
To: [hidden email]
Subject: Re: Party IDs

Brendan Vogt wrote:

>When it is ideal to use a number Id or a text Id?
>
>  
>
I've also stumbled over that as well. From my perspective, if you have
an account that is used a lot like a supplier or repeat customer, it
makes sence to create a partyId with a nemonic that is memorable, since
someone may have to look them up several times a month. For the random
web customer, the next available number is fine.

Remember that field (partyId) is really a text field for sorting
purposes, so even if you see only numbers, if you sort by it by partyId,
it sorts alphabetically (198765 comes before 20000 since the first
character is a "1").

--
Walter

Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

Walter Vaughan
In reply to this post by Brendan Vogt
Brendan Vogt wrote:

>How do I delete a party?  I can see any delete buttons.
>  
>
Because by definition you should not ever be able to do that. Or rather
an end user.

You as an administrator could using back end tools it's possible to do
so manually. But you really need to learn the data model. Have you
gotten the data model books and really read them?

Your questions are the same ones I had a year or so ago. You *really*
need to engage hotwaxmedia or opensourcestrategies for a couple hour
tutorial on these things.

--
Walter
Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

Walter Vaughan
In reply to this post by Brendan Vogt
Brendan Vogt wrote:

>Thanks Walter.
>
>How do I delete a party with all the values like address details that were
>saved for that party?
>  
>
Expire the address. Again you need to spend a few hours with a trainer.
Engage Si or David Jones or someone for a few hours. Things will make
better sence then. If you have no budget, then get the Data Model book,
read it, THEN come back to this mailing list, since things will make so
much better sence to you than they do now.
Reply | Threaded
Open this post in threaded view
|

RE: Party IDs

Brendan Vogt
I'm from South Africa.


-----Original Message-----
From: Walter Vaughan [mailto:[hidden email]]
Sent: Monday, December 10, 2007 4:31 PM
To: [hidden email]
Subject: Re: Party IDs

Brendan Vogt wrote:

>Thanks Walter.
>
>How do I delete a party with all the values like address details that were
>saved for that party?
>  
>
Expire the address. Again you need to spend a few hours with a trainer.
Engage Si or David Jones or someone for a few hours. Things will make
better sence then. If you have no budget, then get the Data Model book,
read it, THEN come back to this mailing list, since things will make so
much better sence to you than they do now.

Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

Tim Ruppert
No excuse for not reading :)  No seriously, you need to dig in a lot  
deeper than you have as of yet to get a good handling on how OFBiz  
works.  Get that Data Model Resource Book, READ the docs.ofbiz.org  
site - both resources have TONS of information in them that address  
almost every one of the questions your asking.

The resources are setup for people just like you (which is where most  
of us started).

Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595


On Dec 10, 2007, at 7:34 AM, Brendan Vogt wrote:

> I'm from South Africa.
>
>
> -----Original Message-----
> From: Walter Vaughan [mailto:[hidden email]]
> Sent: Monday, December 10, 2007 4:31 PM
> To: [hidden email]
> Subject: Re: Party IDs
>
> Brendan Vogt wrote:
>
>> Thanks Walter.
>>
>> How do I delete a party with all the values like address details  
>> that were
>> saved for that party?
>>
>>
> Expire the address. Again you need to spend a few hours with a  
> trainer.
> Engage Si or David Jones or someone for a few hours. Things will make
> better sence then. If you have no budget, then get the Data Model  
> book,
> read it, THEN come back to this mailing list, since things will make  
> so
> much better sence to you than they do now.
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Party IDs

Brendan Vogt
It's an endless mission, I have been on the docs since yesterday and still
no success.  And all you guys reply with is read the docs!!!


-----Original Message-----
From: Tim Ruppert [mailto:[hidden email]]
Sent: Monday, December 10, 2007 4:48 PM
To: [hidden email]
Subject: Re: Party IDs

No excuse for not reading :)  No seriously, you need to dig in a lot  
deeper than you have as of yet to get a good handling on how OFBiz  
works.  Get that Data Model Resource Book, READ the docs.ofbiz.org  
site - both resources have TONS of information in them that address  
almost every one of the questions your asking.

The resources are setup for people just like you (which is where most  
of us started).

Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595


On Dec 10, 2007, at 7:34 AM, Brendan Vogt wrote:

> I'm from South Africa.
>
>
> -----Original Message-----
> From: Walter Vaughan [mailto:[hidden email]]
> Sent: Monday, December 10, 2007 4:31 PM
> To: [hidden email]
> Subject: Re: Party IDs
>
> Brendan Vogt wrote:
>
>> Thanks Walter.
>>
>> How do I delete a party with all the values like address details  
>> that were
>> saved for that party?
>>
>>
> Expire the address. Again you need to spend a few hours with a  
> trainer.
> Engage Si or David Jones or someone for a few hours. Things will make
> better sence then. If you have no budget, then get the Data Model  
> book,
> read it, THEN come back to this mailing list, since things will make  
> so
> much better sence to you than they do now.
>


Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

Jim Barrows
That's because the answers are there!
If you don't like the docs.. help change them :)

On 12/10/07, Brendan Vogt <[hidden email]> wrote:

> It's an endless mission, I have been on the docs since yesterday and still
> no success.  And all you guys reply with is read the docs!!!
>
>
> -----Original Message-----
> From: Tim Ruppert [mailto:[hidden email]]
> Sent: Monday, December 10, 2007 4:48 PM
> To: [hidden email]
> Subject: Re: Party IDs
>
> No excuse for not reading :)  No seriously, you need to dig in a lot
> deeper than you have as of yet to get a good handling on how OFBiz
> works.  Get that Data Model Resource Book, READ the docs.ofbiz.org
> site - both resources have TONS of information in them that address
> almost every one of the questions your asking.
>
> The resources are setup for people just like you (which is where most
> of us started).
>
> Cheers,
> Tim
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>
> On Dec 10, 2007, at 7:34 AM, Brendan Vogt wrote:
>
> > I'm from South Africa.
> >
> >
> > -----Original Message-----
> > From: Walter Vaughan [mailto:[hidden email]]
> > Sent: Monday, December 10, 2007 4:31 PM
> > To: [hidden email]
> > Subject: Re: Party IDs
> >
> > Brendan Vogt wrote:
> >
> >> Thanks Walter.
> >>
> >> How do I delete a party with all the values like address details
> >> that were
> >> saved for that party?
> >>
> >>
> > Expire the address. Again you need to spend a few hours with a
> > trainer.
> > Engage Si or David Jones or someone for a few hours. Things will make
> > better sence then. If you have no budget, then get the Data Model
> > book,
> > read it, THEN come back to this mailing list, since things will make
> > so
> > much better sence to you than they do now.
> >
>
>
>


--
James A Barrows
Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

BJ Freeman
In reply to this post by Brendan Vogt
As the creator of ofbiz says, and I agree
learning ofbiz is a 1-4 year endeavor.
especially if you want to modify it.

and yes it takes a while to learn the lingo.


Brendan Vogt sent the following on 12/10/2007 6:50 AM:

> It's an endless mission, I have been on the docs since yesterday and still
> no success.  And all you guys reply with is read the docs!!!
>
>
> -----Original Message-----
> From: Tim Ruppert [mailto:[hidden email]]
> Sent: Monday, December 10, 2007 4:48 PM
> To: [hidden email]
> Subject: Re: Party IDs
>
> No excuse for not reading :)  No seriously, you need to dig in a lot  
> deeper than you have as of yet to get a good handling on how OFBiz  
> works.  Get that Data Model Resource Book, READ the docs.ofbiz.org  
> site - both resources have TONS of information in them that address  
> almost every one of the questions your asking.
>
> The resources are setup for people just like you (which is where most  
> of us started).
>
> Cheers,
> Tim
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>
> On Dec 10, 2007, at 7:34 AM, Brendan Vogt wrote:
>
>> I'm from South Africa.
>>
>>
>> -----Original Message-----
>> From: Walter Vaughan [mailto:[hidden email]]
>> Sent: Monday, December 10, 2007 4:31 PM
>> To: [hidden email]
>> Subject: Re: Party IDs
>>
>> Brendan Vogt wrote:
>>
>>> Thanks Walter.
>>>
>>> How do I delete a party with all the values like address details  
>>> that were
>>> saved for that party?
>>>
>>>
>> Expire the address. Again you need to spend a few hours with a  
>> trainer.
>> Engage Si or David Jones or someone for a few hours. Things will make
>> better sence then. If you have no budget, then get the Data Model  
>> book,
>> read it, THEN come back to this mailing list, since things will make  
>> so
>> much better sence to you than they do now.
>>
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

Walter Vaughan
In reply to this post by Brendan Vogt
Brendan Vogt wrote:

>I'm from South Africa.
>  
>
And with Skype, VNC, and a decent internet connection, it'd be just like
you are sitting next to a trainer.
Reply | Threaded
Open this post in threaded view
|

RE: Party IDs

Brendan Vogt
How much are we talking here?  Remember I have been without work since end
of October.



-----Original Message-----
From: Walter Vaughan [mailto:[hidden email]]
Sent: Monday, December 10, 2007 8:53 PM
To: [hidden email]
Subject: Re: Party IDs

Brendan Vogt wrote:

>I'm from South Africa.
>  
>
And with Skype, VNC, and a decent internet connection, it'd be just like
you are sitting next to a trainer.

Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

Jim Barrows
Google skype.

On Dec 10, 2007 3:00 PM, Brendan Vogt <[hidden email]> wrote:

> How much are we talking here?  Remember I have been without work since end
> of October.
>
>
>
> -----Original Message-----
> From: Walter Vaughan [mailto:[hidden email]]
> Sent: Monday, December 10, 2007 8:53 PM
> To: [hidden email]
> Subject: Re: Party IDs
>
> Brendan Vogt wrote:
>
> >I'm from South Africa.
> >
> >
> And with Skype, VNC, and a decent internet connection, it'd be just like
> you are sitting next to a trainer.
>
>



--
James A Barrows
Reply | Threaded
Open this post in threaded view
|

RE: Party IDs

Brendan Vogt
No not that I know what Skype is!!!  I meant the training.

-----Original Message-----
From: Jim Barrows [mailto:[hidden email]]
Sent: Tuesday, December 11, 2007 12:15 AM
To: [hidden email]
Subject: Re: Party IDs

Google skype.

On Dec 10, 2007 3:00 PM, Brendan Vogt <[hidden email]> wrote:

> How much are we talking here?  Remember I have been without work since end
> of October.
>
>
>
> -----Original Message-----
> From: Walter Vaughan [mailto:[hidden email]]
> Sent: Monday, December 10, 2007 8:53 PM
> To: [hidden email]
> Subject: Re: Party IDs
>
> Brendan Vogt wrote:
>
> >I'm from South Africa.
> >
> >
> And with Skype, VNC, and a decent internet connection, it'd be just like
> you are sitting next to a trainer.
>
>



--
James A Barrows

Reply | Threaded
Open this post in threaded view
|

Re: Party IDs

Walter Vaughan
In reply to this post by Brendan Vogt
Brendan Vogt wrote:

>How much are we talking here?  Remember I have been without work since end
>of October.
>
>  
>

That would be between you and them, but I have seen prices normally
a.bove $100US/hour for a several hours of training. It really depends
upon what you are trying to do. Are you doing this as a future career
path? You may have to invest or get some investors to come up with some
capital for you to get up to speed in a reasonable time period. Or not.
Your call.