{"id":582,"date":"2020-04-02T16:25:13","date_gmt":"2020-04-02T16:25:13","guid":{"rendered":"http:\/\/morecpq.com\/?p=582"},"modified":"2020-04-02T16:25:14","modified_gmt":"2020-04-02T16:25:14","slug":"system-sobjectexception-invalid-field-sbqq__product__c-for-sbqq__quoteline__c","status":"publish","type":"post","link":"https:\/\/morecpq.com\/index.php\/2020\/04\/02\/system-sobjectexception-invalid-field-sbqq__product__c-for-sbqq__quoteline__c\/","title":{"rendered":"System.SObjectException: Invalid field SBQQ__Product__c for SBQQ__QuoteLine__c"},"content":{"rendered":"\n<p><strong><em>Object o = myOb.get(myFieldName);<\/em><\/strong><\/p>\n\n\n\n<p>Does your code look something like this?<\/p>\n\n\n\n<p><strong><em>System.SObjectException: Invalid field SBQQ__Product__c for SBQQ__QuoteLine__c<\/em><\/strong><\/p>\n\n\n\n<p>And you get an error something like that?<\/p>\n\n\n\n<p>This is an apex error.  This can happen with any field on any object.  If you&#8217;re here, you probably have less hair because you&#8217;re pulling it out trying to figure out why, in tarNATION, the field you&#8217;re referencing is not valid for the object you&#8217;re trying to get the value out of.  Have no fear!  The answer is here!<\/p>\n\n\n\n<p>You have a space before and\/or after the field name.  \ud83d\ude02 <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Object o = myOb.get(myFieldName); Does your code look something like this? System.SObjectException: Invalid field SBQQ__Product__c for SBQQ__QuoteLine__c And you get an error something like that? This is an apex error. This can happen with any field on any object. If you&#8217;re here, you probably have less hair because you&#8217;re pulling it out trying to figure &hellip;<br \/><a href=\"https:\/\/morecpq.com\/index.php\/2020\/04\/02\/system-sobjectexception-invalid-field-sbqq__product__c-for-sbqq__quoteline__c\/\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">System.SObjectException: Invalid field SBQQ__Product__c for SBQQ__QuoteLine__c<\/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-582","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\/582","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=582"}],"version-history":[{"count":1,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/582\/revisions"}],"predecessor-version":[{"id":583,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/582\/revisions\/583"}],"wp:attachment":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/media?parent=582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/categories?post=582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/tags?post=582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}