{"id":1510,"date":"2022-05-17T20:52:08","date_gmt":"2022-05-17T20:52:08","guid":{"rendered":"https:\/\/morecpq.com\/?p=1510"},"modified":"2022-05-17T21:02:53","modified_gmt":"2022-05-17T21:02:53","slug":"quote-line-editor-alert-unexpected-end-of-input","status":"publish","type":"post","link":"https:\/\/morecpq.com\/index.php\/2022\/05\/17\/quote-line-editor-alert-unexpected-end-of-input\/","title":{"rendered":"Quote Line Editor: Alert &#8211; Unexpected end of input"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"517\" height=\"202\" src=\"https:\/\/i0.wp.com\/morecpq.com\/wp-content\/uploads\/2022\/05\/image.png?resize=517%2C202&#038;ssl=1\" alt=\"\" class=\"wp-image-1511\" srcset=\"https:\/\/i0.wp.com\/morecpq.com\/wp-content\/uploads\/2022\/05\/image.png?w=517&amp;ssl=1 517w, https:\/\/i0.wp.com\/morecpq.com\/wp-content\/uploads\/2022\/05\/image.png?resize=300%2C117&amp;ssl=1 300w\" sizes=\"(max-width: 517px) 100vw, 517px\" \/><\/figure>\n\n\n\n<p>You&#8217;re at your wits end trying to figure out why there&#8217;s an error when you add a product to your Quote&#8230;  WHYYYYY OMGWHY.  <\/p>\n\n\n\n<p><strong>Answer:  Because Price Action Formula.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Open your Developer Console<\/li><li>Click to the Query Editor<\/li><li>Copy\/paste the below query into the query box<\/li><li>Click Execute<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:12px\"><code>select id, SBQQ__TargetObject__c, SBQQ__Field__c, SBQQ__Formula__c from SBQQ__PriceAction__c order by LastModifiedDate Desc<\/code><\/pre>\n\n\n\n<p>The culprit is most likely one of the top hits. \ud83d\udc4d\ud83c\udffb<\/p>\n\n\n\n<p><strong>Some Price Action Formula Advice<\/strong><\/p>\n\n\n\n<p>Create a custom formula field on the object your price action affects (Quote or Quote Line).  Build the formula in there and click check syntax to make sure it has correct syntax.  You can even save the field and test various records to make sure the formula works as expected.  If all good, copy the formula and paste it back into the Price Action and either cancel out of the new field or delete the saved new field.  This is a good practice to get into even if you&#8217;re a formula wizard!<\/p>\n\n\n\n<p>Happy quoting!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You&#8217;re at your wits end trying to figure out why there&#8217;s an error when you add a product to your Quote&#8230; WHYYYYY OMGWHY. Answer: Because Price Action Formula. Open your Developer Console Click to the Query Editor Copy\/paste the below query into the query box Click Execute The culprit is most likely one of the &hellip;<br \/><a href=\"https:\/\/morecpq.com\/index.php\/2022\/05\/17\/quote-line-editor-alert-unexpected-end-of-input\/\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">Quote Line Editor: Alert &#8211; Unexpected end of input<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1510","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/1510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/comments?post=1510"}],"version-history":[{"count":4,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/1510\/revisions"}],"predecessor-version":[{"id":1516,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/1510\/revisions\/1516"}],"wp:attachment":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/media?parent=1510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/categories?post=1510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/tags?post=1510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}