<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communitytest.tessitura.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew</link><description>Wiki for creating community documentation.</description><dc:language>en-US</dc:language><generator>Telligent Community 12 Non-Production</generator><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew</link><pubDate>Tue, 19 Jan 2021 19:42:56 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Current Revision posted to Community Docs Wiki by Nick Reilingh on 1/19/2021 7:42:56 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DECLARE @CC_cont_ref_no_LV int;&lt;br /&gt;  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.&lt;br /&gt;  SELECT TOP 1 @CC_cont_ref_no_LV = ref_no&lt;br /&gt;    FROM dbo.T_WEB_CONTRIBUTION&lt;br /&gt;    WHERE order_no = @order_no&lt;br /&gt;    ORDER BY ref_no DESC;&lt;br /&gt;&lt;br /&gt;  UPDATE dbo.T_WEB_ORDER&lt;br /&gt;    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;&lt;br /&gt;    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/11</link><pubDate>Wed, 29 Apr 2020 20:52:58 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 11 posted to Community Docs Wiki by Nick Reilingh on 4/29/2020 8:52:58 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DECLARE @CC_cont_ref_no_LV int; -- Don&amp;#39;t copy-paste this line.&lt;br /&gt;  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.&lt;br /&gt;  SELECT TOP 1 @CC_cont_ref_no_LV = ref_no&lt;br /&gt;    FROM dbo.T_WEB_CONTRIBUTION&lt;br /&gt;    WHERE order_no = @order_no&lt;br /&gt;    ORDER BY ref_no DESC;&lt;br /&gt;&lt;br /&gt;  UPDATE dbo.T_WEB_ORDER&lt;br /&gt;    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;&lt;br /&gt;    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/10</link><pubDate>Wed, 25 Mar 2020 17:19:59 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 10 posted to Community Docs Wiki by Nick Reilingh on 3/25/2020 5:19:59 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DEC&amp;zwnj;LARE @CC_cont_ref_no_LV int; -- Don&amp;#39;t copy-paste this line.
  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.
  SELECT TOP 1 @CC_cont_ref_no_LV = ref_no
    FROM dbo.T_WEB_CONTRIBUTION
    WHERE order_no = @order_no
    ORDER BY ref_no DESC;

  UPDATE dbo.T_WEB_ORDER
    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;
    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/9</link><pubDate>Wed, 25 Mar 2020 17:16:57 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 9 posted to Community Docs Wiki by Nick Reilingh on 3/25/2020 5:16:57 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DEC LARE @CC_cont_ref_no_LV int; -- Don&amp;#39;t copy-paste this line.
  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.
  SELECT TOP 1 @CC_cont_ref_no_LV = ref_no
    FROM dbo.T_WEB_CONTRIBUTION
    WHERE order_no = @order_no
    ORDER BY ref_no DESC;

  UPDATE dbo.T_WEB_ORDER
    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;
    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/8</link><pubDate>Thu, 27 Feb 2020 22:42:41 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 8 posted to Community Docs Wiki by Nick Reilingh on 2/27/2020 10:42:41 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DEC&amp;zwnj;LARE @CC_cont_ref_no_LV int; -- Don&amp;#39;t copy-paste this line.
  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.
  SELECT TOP 1 @CC_cont_ref_no_LV = ref_no
    FROM dbo.T_WEB_CONTRIBUTION
    WHERE order_no = @order_no
    ORDER BY ref_no DESC;

  UPDATE dbo.T_WEB_ORDER
    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;
    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/7</link><pubDate>Thu, 27 Feb 2020 22:41:29 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 7 posted to Community Docs Wiki by Nick Reilingh on 2/27/2020 10:41:29 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DEC&amp;zwnj;LARE @CC_cont_ref_no_LV int;
  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.
  SELECT TOP 1 @CC_cont_ref_no_LV = ref_no
    FROM dbo.T_WEB_CONTRIBUTION
    WHERE order_no = @order_no
    ORDER BY ref_no DESC;

  UPDATE dbo.T_WEB_ORDER
    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;
    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/6</link><pubDate>Thu, 27 Feb 2020 22:36:45 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 6 posted to Community Docs Wiki by Nick Reilingh on 2/27/2020 10:36:45 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DE&amp;amp;0x43;LARE @CC_cont_ref_no_LV int;
  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.
  SELECT TOP 1 @CC_cont_ref_no_LV = ref_no
    FROM dbo.T_WEB_CONTRIBUTION
    WHERE order_no = @order_no
    ORDER BY ref_no DESC;

  UPDATE dbo.T_WEB_ORDER
    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;
    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/5</link><pubDate>Thu, 27 Feb 2020 22:35:30 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 5 posted to Community Docs Wiki by Nick Reilingh on 2/27/2020 10:35:30 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DECL​ARE @CC_cont_ref_no_LV int;
  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.
  SELECT TOP 1 @CC_cont_ref_no_LV = ref_no
    FROM dbo.T_WEB_CONTRIBUTION
    WHERE order_no = @order_no
    ORDER BY ref_no DESC;

  UPDATE dbo.T_WEB_ORDER
    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;
    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/4</link><pubDate>Thu, 27 Feb 2020 22:34:16 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 4 posted to Community Docs Wiki by Nick Reilingh on 2/27/2020 10:34:16 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DEC LARE @CC_cont_ref_no_LV int;
  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.
  SELECT TOP 1 @CC_cont_ref_no_LV = ref_no
    FROM dbo.T_WEB_CONTRIBUTION
    WHERE order_no = @order_no
    ORDER BY ref_no DESC;

  UPDATE dbo.T_WEB_ORDER
    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;
    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/3</link><pubDate>Thu, 27 Feb 2020 22:34:08 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 3 posted to Community Docs Wiki by Nick Reilingh on 2/27/2020 10:34:08 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DEC LARE @CC_cont_ref_no_LV int;
  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.
  SELECT TOP 1 @CC_cont_ref_no_LV = ref_no
    FROM dbo.T_WEB_CONTRIBUTION
    WHERE order_no = @order_no
    ORDER BY ref_no DESC;

  UPD ATE dbo.T_WEB_ORDER
    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;
    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/2</link><pubDate>Thu, 27 Feb 2020 22:34:01 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 2 posted to Community Docs Wiki by Nick Reilingh on 2/27/2020 10:34:01 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DEC LARE @CC_cont_ref_no_LV int;
  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.
  SEL ECT TOP 1 @CC_cont_ref_no_LV = ref_no
    FROM dbo.T_WEB_CONTRIBUTION
    WHERE order_no = @order_no
    ORDER BY ref_no DESC;

  UPD ATE dbo.T_WEB_ORDER
    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;
    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item><item><title>Custom Contributions in TNEW</title><link>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew/revision/1</link><pubDate>Thu, 27 Feb 2020 22:33:26 GMT</pubDate><guid isPermaLink="false">fd08b0f2-65fa-4b2b-916a-cce3e88b61d0:2abf4a56-9ce0-41ec-bab0-43db02b926b4</guid><dc:creator>Nick Reilingh</dc:creator><comments>https://communitytest.tessitura.com/topical_groups/developers/w/community-developer-documentation/772/custom-contributions-in-tnew#comments</comments><description>Revision 1 posted to Community Docs Wiki by Nick Reilingh on 2/27/2020 10:33:26 PM&lt;br /&gt;
&lt;p&gt;TNEW&amp;#39;s cart displays contribution objects based on configuration in LTR_TNEW_CONTRIB_TYPE. If you add a contribution to the cart using the API (either CLR procedures or via shared session), the contribution will not appear in the cart unless you tell TNEW which&amp;nbsp;ID to use from the LTR_TNEW_CONTRIB_TYPE table.&lt;/p&gt;
&lt;p&gt;TNEW stores this reference in order notes in the format &lt;code&gt;c&amp;lt;contrib_type_id&amp;gt;_&amp;lt;contribution_ref_no&amp;gt;;&lt;/code&gt; .&lt;/p&gt;
&lt;p&gt;Example implementation code is provided for a precart SQL procedure:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;  DE CLARE @CC_cont_ref_no_LV int;
  -- After the contribution is added, populate the order notes field by appending the contrib type ID token.
  SEL ECT TOP 1 @CC_cont_ref_no_LV = ref_no
    FROM dbo.T_WEB_CONTRIBUTION
    WHERE order_no = @order_no
    ORDER BY ref_no DESC;

  UPDA TE dbo.T_WEB_ORDER
    SET notes = ISNULL(notes, &amp;#39;&amp;#39;) + &amp;#39;c&amp;#39; + CAST(@CC_ContribType AS varchar) + &amp;#39;_&amp;#39; + CAST(@CC_cont_ref_no_LV AS varchar) + &amp;#39;; &amp;#39;
    WHERE order_no = @order_no;&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: tnew&lt;/div&gt;
</description></item></channel></rss>