The Table Structures document doesn't elaborate on the source or reason for t_customer.cust_group. Is this a deprecated column? If not, what is its purpose?
I don't have a lot of records with values other than 1 (less than 10%) but I'm always looking for different ways to segment records.
Thanks.
Levi
This is part of the denormalizing in v11. In previous versions, the T_CUSTOMER.cust_group was kept in sync with TR_CUST_TYPE.cust_group.
+Ryan Creps
+Tessitura Network
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Nathan WighamSent: Tuesday, May 29, 2012 10:40 AMTo: Ryan CrepsSubject: RE: [Tessitura Technical Forum] t_customer.cust_group?
Marty Jones:I would take your t_customer.cust_type and join to tr_cust_type. Use the cust_group value off that table.
Marty Jones:
I would take your t_customer.cust_type and join to tr_cust_type. Use the cust_group value off that table.
Elegant, I like it. Thanks for the suggestion!
Nathan
From: Marty Jones <bounce-martyjones7649@tessituranetwork.com>Sent: 5/29/2012 9:11:32 AM
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Nathan WighamSent: Tuesday, May 29, 2012 9:04 AMTo: Martin A. JonesSubject: RE: [Tessitura Technical Forum] t_customer.cust_group?
In testing reports I found that one of our local ones uses 'cust_group IN (1,3)' as criteria (while I couldn't find a lookup table for these values, cust_group=1 always corresponds to cust_type=1, or Individual; and cust_group=3 always corresponds to cust_type=6, or Organization Contact). In v10 this worked, but it looks like that field contains only Null values as of v11 (in our test environment). So the report no longer returns any records.
I was going to change the criteria to 'cust_type IN (1,6,9,11)' which would represent Individual, Organization Contact, Household, and Contact. But it got me wondering what happened to the cust_group values. Is there something in the update process that nulls the values out? Should we include something in our update script to set the cust_group values?
Thanks very much!
From: Levi Sauerbrei <bounce-levisauerbrei8271@tessituranetwork.com>Sent: 10/4/2010 1:38:08 PM
Excellent! Thanks Ryan.
This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
Ryan (or anyone else),
We have a list criterion that doesn't work now because cust_group is null in T_CUSTOMER. I'm trying to figure out how to make this work in v11. Is there any way without creating a view to pull the customer_no and cust_group together?
Here's the entry in T_KEYWORD as it is:
Thanks for any help!
Bryan Evans | Manager of Data AnalysisCincinnati Symphony and Pops OrchestraMusic Hall | 1241 Elm St. | Cincinnati OH 45202513.744.3283 ph | 513.744.3535 faxwww.cincinnatisymphony.org
Connect with the CSO and PopsJoin Email list | Facebook | Twitter | YouTube
Bryan,
I don't think there is another way without creating a view since to get the cust_group you have join via they TR_CUST_TYPE table. Then pointing the detailTbl to the view.
The view can be similar to below:
Select c.customer_no, c.cust_type, cg.id as cust_group
From T_CUSTOMER c
Left Join TR_CUST_TYPE ct on c.cust_type = ct.id
Left Join TR_CUST_GROUP cg on ct.cust_group = cg.id
Maybe someone else may know of a different way.