Update customer_company and customer_user IDs at same time

Moderator: crythias

Post Reply
Drazyr
Znuny newbie
Posts: 4
Joined: 02 Jun 2010, 17:50
Znuny Version: 2.4.7

Update customer_company and customer_user IDs at same time

Post by Drazyr »

Hello all, just like to say first that this is a great system and I have had a lot of fun configuring it.

One of the problems I've come upon, however, has to do with the CustomerCompanySupport feature. When I update the Customer ID for the Customer Company, is does not update the Customer ID for the Customer User. For instance, let's say I have a company called Telbomb with the Customer ID 12345, and have three different users using that same ID. If I change the ID to 54321, the users still have 12345 as their ID.

I have taken a couple different approaches to this; I have tried making the fields reference each other in Config.pm, and I have also tried using a foreign key in the database, but to no avail.

Any assistance in this matter would be greatly appreciated.
Post Reply