<?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>topic Re: Random FIELD_INTEGRITY_EXCEPTION error that sometimes occurs but other times works in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/7965#M3343</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/9365"&gt;@johnw&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;The steps to reproduce is a bit confusing. It would be better to identify what values are causing the formula to error. You can check the input tab on the job report to see what value of the data pill the formula is using that causes an error. Based on your sample formula, you must check the values of "&lt;SPAN&gt;OrderDtl_DocUnitPrice" and "OrderDtl_DiscountPercent". It is possible that one of the value from the data pills used is blank or is not a valid format.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2024 08:59:46 GMT</pubDate>
    <dc:creator>marlon-muela</dc:creator>
    <dc:date>2024-10-07T08:59:46Z</dc:date>
    <item>
      <title>Random FIELD_INTEGRITY_EXCEPTION error that sometimes occurs but other times works</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/7579#M3229</link>
      <description>&lt;P&gt;usually, we have a specific Pricebook in SFDC to link up to an order and each pricebook only has 1 Currency,&lt;/P&gt;&lt;P&gt;but on occasion there are multiple price books in Epicor so in SFDC I would use the Standard price book and when I create the opportunity I would set the Currency as USD or Euro etc.&lt;/P&gt;&lt;P&gt;normally this works fine but randomly like once a few months ago and then twice in 2 days I would get errors like this:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Status code:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;FIELD_INTEGRITY_EXCEPTION&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Message:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;field integrity exception: unknown (pricebook entry currency code does not match opportunity currency code)&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Fields:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[&lt;UL class=""&gt;&lt;LI&gt;&lt;SPAN class=""&gt;unknown&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;but today I had an order in Epicor with 3 SKUs and 2 worked and 1 didn't on the same Op&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;so i started looking at this formula since its calculation a discount and thought maybe its a simple rounding issue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;originally it was just a simple &lt;STRONG&gt;Price * (1- Discount)/100&lt;/STRONG&gt; which shows the price per unit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;"OrderDtl_DocUnitPrice"]}')* (1- "OrderDtl_DiscountPercent"]}')/100))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;so thinking it as a rounding issue I added&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;).round(2)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;then attempted to add currency conversion to the rounded formla&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;.to_currency&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;and the error message changes to:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Status code:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;JSON_PARSER_ERROR&lt;/SPAN&gt;,&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Message:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Cannot deserialize instance of currency from VALUE_STRING value $665.00 or request may be missing a required field at [Source: N/A; line: -1, column: -1][line:-1, column:-1]&lt;/SPAN&gt;,&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;its weird because it works fine 99.9999% of the time as it originally was.&lt;/P&gt;&lt;P&gt;Was thinking it would be as simple as just hard coding the currency when i add the SKU but that's not possible at the Opportunity Product level unless I loop through to find the pricebookentry ID which would eat up tasks if I had to do it for all SKUs using standard pricebook&lt;/P&gt;&lt;P&gt;any ideas???&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 19:14:13 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/7579#M3229</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2024-09-11T19:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Random FIELD_INTEGRITY_EXCEPTION error that sometimes occurs but other times works</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/7965#M3343</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/9365"&gt;@johnw&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;The steps to reproduce is a bit confusing. It would be better to identify what values are causing the formula to error. You can check the input tab on the job report to see what value of the data pill the formula is using that causes an error. Based on your sample formula, you must check the values of "&lt;SPAN&gt;OrderDtl_DocUnitPrice" and "OrderDtl_DiscountPercent". It is possible that one of the value from the data pills used is blank or is not a valid format.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 08:59:46 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/7965#M3343</guid>
      <dc:creator>marlon-muela</dc:creator>
      <dc:date>2024-10-07T08:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Random FIELD_INTEGRITY_EXCEPTION error that sometimes occurs but other times works</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/8057#M3382</link>
      <description>&lt;P&gt;so weird this used to be super random but now its happening a lot.&lt;/P&gt;&lt;P&gt;its only if the Standard pricebook is being used and Standard pricebook is only pricebook that can be USD, CDN or EURO so its almost like when adding the SKU its not sure which currency or its grabbing the first currency and doesn't match the Opportunity Currency. But adding teh opportunity Line item i don't have any way to force it to USD for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;very strange how this has been running fine for a while&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:46:38 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/8057#M3382</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2024-10-17T15:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Random FIELD_INTEGRITY_EXCEPTION error that sometimes occurs but other times works</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/8091#M3396</link>
      <description>&lt;P&gt;At the opportunity level I enter the &lt;STRONG&gt;&lt;U&gt;Price Book&lt;/U&gt;&lt;/STRONG&gt; and the &lt;STRONG&gt;&lt;U&gt;Currency&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;At the Opportunity Product object I have always just included the &lt;STRONG&gt;&lt;U&gt;Product ID&lt;/U&gt;&lt;/STRONG&gt; and its worked&lt;/P&gt;&lt;P&gt;The ONLY pricebook that has more than 1 currency is the Standard pricebook&lt;/P&gt;&lt;P&gt;As discussed here recently it randomly stopped working for SOME where I would get an error message when trying &amp;nbsp;to add the Opportunity Product records to a new Opportunity&lt;/P&gt;&lt;P&gt;Again this has been working fine for quite a while and just started doing this&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Status code:&amp;nbsp;FIELD_INTEGRITY_EXCEPTION,&lt;/LI&gt;&lt;LI&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Message:&amp;nbsp;field integrity exception: PricebookEntryId (pricebook entry currency code does not match opportunity currency code),&lt;/LI&gt;&lt;LI&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Fields:&amp;nbsp;[&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PricebookEntryId&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;But today I noticed this message what is version 3.0 and when did something change???:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Status code:&amp;nbsp;FIELD_INTEGRITY_EXCEPTION,&lt;/LI&gt;&lt;LI&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Message:&amp;nbsp;field integrity exception: PricebookEntryId, unknown (versions 3.0 and higher must specify pricebook entry id, others must specify product id),&lt;/LI&gt;&lt;LI&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Fields:&amp;nbsp;[&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PricebookEntryId,&lt;/LI&gt;&lt;LI&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;unknown&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;It almost feels like its go9ng to force me to go search on every SKU now to find the exact pricebook entry ID for my pricebook and currency combination. This doesn’t seem like progress since this was working fine.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 14:08:17 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/8091#M3396</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2024-10-22T14:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Random FIELD_INTEGRITY_EXCEPTION error that sometimes occurs but other times works</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/8092#M3397</link>
      <description>&lt;P&gt;not sure if the whole DocUnitprice is a red herring since now I'm seeing a version 3 error message as shown below&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 14:51:02 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/random-field-integrity-exception-error-that-sometimes-occurs-but/m-p/8092#M3397</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2024-10-22T14:51:02Z</dc:date>
    </item>
  </channel>
</rss>

