Adding a new supplier always creates a new addressbook contact

classic Classic list List threaded Threaded
10 messages Options
MicheleT-2 MicheleT-2
Reply | Threaded
Open this post in threaded view
|

Adding a new supplier always creates a new addressbook contact

EGW 1.6.002
pERP SVN 4079

Every time I create a new supplier pERP creates a new addressbook contact even if it's already there. So I have to delete the new contact and relink supplier with my old contact. Any idea about how to solve this problem?

Thanks
constant constant
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new supplier always creates a new addressbook contact

.
Hi,

The same thing happens when creating a new client as well, and my opinion is, the best thing to do is create the new supplier/client first and edit the address book entry that is created.

If there is voting for this, my vote would go to leaving it the way it currently is.  I find it a nice feature that actually reduces the work load.


MicheleT wrote
EGW 1.6.002
pERP SVN 4079

Every time I create a new supplier pERP creates a new addressbook contact even if it's already there. So I have to delete the new contact and relink supplier with my old contact. Any idea about how to solve this problem?

Thanks
Nathan Gray Nathan Gray
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new supplier always creates a new addressbook contact

On Wed, Nov 18, 2009 at 2:00 PM, constant <[hidden email]> wrote:

> The same thing happens when creating a new client as well, and my opinion
> is, the best thing to do is create the new supplier/client first and edit
> the address book entry that is created.
>
> If there is voting for this, my vote would go to leaving it the way it
> currently is.  I find it a nice feature that actually reduces the work load.

It's supposed to be both.  If the name matches exactly, it should take
the existing one.
Please file a ticket with examples, I'll look into it.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Perp-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/perp-developers
MicheleT-2 MicheleT-2
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new supplier always creates a new addressbook contact

Nathan Gray-7 wrote
On Wed, Nov 18, 2009 at 2:00 PM, constant <john@constant.com.au> wrote:

> The same thing happens when creating a new client as well, and my opinion
> is, the best thing to do is create the new supplier/client first and edit
> the address book entry that is created.
>
> If there is voting for this, my vote would go to leaving it the way it
> currently is.  I find it a nice feature that actually reduces the work load.

It's supposed to be both.  If the name matches exactly, it should take
the existing one.
Please file a ticket with examples, I'll look into it.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Perp-developers mailing list
Perp-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perp-developers
Constant, sorry but I don't agree with you because if it's a nice feature when one have to load a completly new supplier/client, it's also a very big pain if one already have a huge number of contacts in addressbook (each of them with links to other apps) and one only wants to use those data for a new supplier/client. The best thing to do is the one chosen by Nathan.

Nathan, supplier names matches exactly contact ones but, if I'm not wrong, it seems that supplier name doesn't reach the code so that it cannot find a match. I inserted a var_dump($content) as the first line in functions supplier_new() and edit_supplier. The array is always empty so there's no $content['new_contact'] or $content['supplier_name'] when the run reaches the handle_buttons() function where it seems that you look for an existing contact with the same name.

constant constant
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new supplier always creates a new addressbook contact

.
Well I guess I didn't consider your particular situation, in which case you would be correct.

But given that one is setting up a new client/supplier that doesn't already have an address book entry, then I would be correct.

I hope you appreciate my sense of humour.

Regards
John

MicheleT wrote
Nathan Gray-7 wrote
On Wed, Nov 18, 2009 at 2:00 PM, constant <john@constant.com.au> wrote:

> The same thing happens when creating a new client as well, and my opinion
> is, the best thing to do is create the new supplier/client first and edit
> the address book entry that is created.
>
> If there is voting for this, my vote would go to leaving it the way it
> currently is.  I find it a nice feature that actually reduces the work load.

It's supposed to be both.  If the name matches exactly, it should take
the existing one.
Please file a ticket with examples, I'll look into it.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Perp-developers mailing list
Perp-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perp-developers
Constant, sorry but I don't agree with you because if it's a nice feature when one have to load a completly new supplier/client, it's also a very big pain if one already have a huge number of contacts in addressbook (each of them with links to other apps) and one only wants to use those data for a new supplier/client. The best thing to do is the one chosen by Nathan.

Nathan, supplier names matches exactly contact ones but, if I'm not wrong, it seems that supplier name doesn't reach the code so that it cannot find a match. I inserted a var_dump($content) as the first line in functions supplier_new() and edit_supplier. The array is always empty so there's no $content['new_contact'] or $content['supplier_name'] when the run reaches the handle_buttons() function where it seems that you look for an existing contact with the same name.
Nathan Gray Nathan Gray
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new supplier always creates a new addressbook contact

Please check the latest SVN, I did find and fix some bugs with that section.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Perp-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/perp-developers
MicheleT-2 MicheleT-2
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new supplier always creates a new addressbook contact

In reply to this post by constant
constant wrote
Well I guess I didn't consider your particular situation, in which case you would be correct.
I'm afraid it's not so particular.

constant wrote
But given that one is setting up a new client/supplier that doesn't already have an address book entry, then I would be correct.
I guess so.

constant wrote
I hope you appreciate my sense of humour.
I'm not sure about that... is it genuine british humour? ;-)

Regards
MicheleT
MicheleT-2 MicheleT-2
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new supplier always creates a new addressbook contact

In reply to this post by Nathan Gray
Nathan Gray-7 wrote
Please check the latest SVN, I did find and fix some bugs with that section.
I've already checked it (I'm registered as fornarelli on trac). Anyway I confirm you that it's all ok with the latest SVN, now creation of a new supplier/client doesn't create a new addressbook contact if an exact match is found.

"An exact match"... well sometimes it may be not so easy to recall / know the exact name of a contact, say because you have thousands of them or because that contact was entered in EGW by others in your company. In this case you can:

A) Open addressbok in a new window, search the desired contact and copy & paste its exact name in pERP form.
B) Enter a partial name in pERP form, remove all not desired links automatically generated by pERP and change the partial name with the correct one.

Solution A) is of course the best one in many cases, but what if beside client/supplier name field we had a link widget? One could use it to find the desired contact (a la EGW manner) without leaving pERP form, then copy the exact name or let pERP do it for him.
constant constant
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new supplier always creates a new addressbook contact

In reply to this post by MicheleT-2
.
Not British, I'm from where the "real" humour is.  Australia.


MicheleT wrote
constant wrote
Well I guess I didn't consider your particular situation, in which case you would be correct.
I'm afraid it's not so particular.

constant wrote
But given that one is setting up a new client/supplier that doesn't already have an address book entry, then I would be correct.
I guess so.

constant wrote
I hope you appreciate my sense of humour.
I'm not sure about that... is it genuine british humour? ;-)

Regards
MicheleT
MicheleT-2 MicheleT-2
Reply | Threaded
Open this post in threaded view
|

Re: Adding a new supplier always creates a new addressbook contact

constant wrote
.
Not British, I'm from where the "real" humour is.  Australia.
I don't agree. I'm from where the "real" humor is. Italy (or banana repubblic, if you prefer). :,-(

Regards
MicheleT