function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rahul Ghosh 6Rahul Ghosh 6 

Custom Field in CPQ Managed package is not working in a query for a trigger

Hi all 
I am trying to run a query in a trigger from a Custom Object from Salesforce CPQ Managed package 
Rest all the fields of this package are working perfectly fine except this SBQQ__CompletelyContracted__c.
I believe the system is not able to access the metadata for this particular object.
Please if anyone faced trouble like this before and any solutions do let me know
Thanks in advance 
Rahul
Error
Line: 3, Column: 15
SELECT id, SBQQ__CompletelyContracted__c FROM ^ ERROR at Row:1:Column:13 No such column 'SBQQ__CompletelyContracted__c' on entity 'SBQQ__QuoteLine__c'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

 
GovindarajGovindaraj
Hi Rahul,

It seems, 'System Administrator' profile don't have access to the field 'SBQQ__CompletelyContracted__c'. 

Provid access in FLS and try run the query.

Thanks,
Govindaraj.S
GovindarajGovindaraj
Hi,

Please keep this communtiy clean by closing solved cases.

Thanks,
Govindaraj.S
Rahul Ghosh 6Rahul Ghosh 6

Hi Govindaraj
We have already checked the FLS it is still giving the same error 
we have decided to contact the customer support for CPQ hopefully that should help