+ Start a Discussion
Tyler D.ax299Tyler D.ax299 

INVALID_TYPE: sObject 'QuoteLineItem' is not supported.

I have developed a custom button that executes JavaScript that queries the QuoteLineItem standard object.   This custom button has been included in a managed package, and distributed to a client.  The client reports that the custom button is throwing an "INVALID_TYPE: sObject 'QuoteLineItem' is not supported." error message.  Any idea why this error occurs?  They have enabled quotes and it does not occur on several other SFDC accounts.


Thank you.


The only way they would get that error message is if Quotes are not enabled - possibly they are enabled in sandbox but not in production?