Hi,
We basically want to choose the Solicitation Campaign and the related Goal Amt and display those columns when we run the extractions. I added 2 parameters to an existing template in Output Set builder. The columns show up when I use 'Execute and output set ' and choose the template with the custom parameters(Recent Campaign and Recent Goal ) but when I try to run an extraction it does not extract anything when I choose that output set.
So, I have 2 variable Recent Campaign and Recent Goal
I added the following entries in TR_QUERY_ELEMENT
Recent Campaign
data Select : !.camp_desc1
Data From : (select v.customer_no,goal_amt1 = v.goal_amt,campaign_no1 = v.campaign_no,camp_desc1 = c.description from vs_solicitation v JOIN t_campaign c ON v.campaign_no = c.campaign_no)Data Where : !.campaign_no1 = <<p6>>
Recent Goal
data Select : !.goal_amt1
Data From : (select v.customer_no,goal_amt1 = v.goal_amt,campaign_no1 = v.campaign_no,camp_desc1 = c.description from vs_solicitation v JOIN t_campaign c ON v.campaign_no = c.campaign_no)Data Where : !.campaign_no1 = <<p6>> In tr_query_elements_Parameter : I added Tbl : T_CAMPAIGNID :campaign_noWHERE :campaign_no in (1346,1328,1387,1520,1193,1374,1375) Could you please look at this and let me know whats missing ? Thank you,Snehal
Hi Snehal,
You can’t use an output set with an extraction if it includes elements that could return more than one row per constituent. A constituent can have more than on solicitation, which could lead to more than one row being returned in the output, so you can’t use solicitation elements with output sets. You’ll have to extract to a list and then use Execute an Output Set with the list.
Kevin Sheehan
Senior Documentation & Learning Resources Specialist
Tessitura Network
+1 888 643 5778 x 329
ksheehan@tessituranetwork.com