<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: C4C Sales Cloud -&amp;gt; Workflow Rules -&amp;gt; Field Update / Formula: z_field = SUM of &amp;quot;Array&amp;quot; in CRM and CX Q&amp;A</title>
    <link>https://community.sap.com/t5/crm-and-cx-q-a/c4c-sales-cloud-gt-workflow-rules-gt-field-update-formula-z-field-sum-of/qaa-p/11932738#M327441</link>
    <description>&lt;P&gt;Hi Sören,&lt;/P&gt;&lt;P&gt;I have a similar request, but from my point of view it won't work with Workflow rule.&lt;/P&gt;&lt;P&gt;I did not find a way to select fields from Opp - Item level within Field update screen in workflow rule.&lt;/P&gt;&lt;P&gt;Thanks, Nike&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2019 08:41:59 GMT</pubDate>
    <dc:creator>Nike</dc:creator>
    <dc:date>2019-10-01T08:41:59Z</dc:date>
    <item>
      <title>C4C Sales Cloud -&gt; Workflow Rules -&gt; Field Update / Formula: z_field = SUM of "Array"</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/c4c-sales-cloud-gt-workflow-rules-gt-field-update-formula-z-field-sum-of/qaq-p/11932737</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
  &lt;P&gt;System: SAP C4C 1905&lt;/P&gt;
  &lt;P&gt;I created two z_fields inside opportunity: &lt;/P&gt;
  &lt;P&gt;1. Opp header: total contribution margin&lt;/P&gt;
  &lt;P&gt;2. Opp -&amp;gt; Products -&amp;gt; new column: contribution margin (this field is an "Array" [] it contains multiple values)&lt;/P&gt;
  &lt;P&gt;I created a workflow with Rule Type: Field Update.&lt;/P&gt;
  &lt;P&gt;This workflow should update the 1. field "total contribution margin" with the sum of all values inside the 2. field "contribution margin". &lt;/P&gt;
  &lt;P&gt;I tried this formula: "total contribution margin" = "total contribution"&lt;/P&gt;
  &lt;P&gt;Result: Error:&lt;/P&gt;
  &lt;P&gt;Formula result and field to be updated are not of same type. Or given formula is not valid.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;How do I address all the single values inside "contribution margin", sum them up and store them into "total contribution margin"?&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Thanks for your help!&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Best Regards&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Sören&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1687496-2019-05-15-10h15-38.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1687497-2019-05-15-11h02-19.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 10:08:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/c4c-sales-cloud-gt-workflow-rules-gt-field-update-formula-z-field-sum-of/qaq-p/11932737</guid>
      <dc:creator>former_member610929</dc:creator>
      <dc:date>2019-05-15T10:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: C4C Sales Cloud -&gt; Workflow Rules -&gt; Field Update / Formula: z_field = SUM of "Array"</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/c4c-sales-cloud-gt-workflow-rules-gt-field-update-formula-z-field-sum-of/qaa-p/11932738#M327441</link>
      <description>&lt;P&gt;Hi Sören,&lt;/P&gt;&lt;P&gt;I have a similar request, but from my point of view it won't work with Workflow rule.&lt;/P&gt;&lt;P&gt;I did not find a way to select fields from Opp - Item level within Field update screen in workflow rule.&lt;/P&gt;&lt;P&gt;Thanks, Nike&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 08:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/c4c-sales-cloud-gt-workflow-rules-gt-field-update-formula-z-field-sum-of/qaa-p/11932738#M327441</guid>
      <dc:creator>Nike</dc:creator>
      <dc:date>2019-10-01T08:41:59Z</dc:date>
    </item>
  </channel>
</rss>

