You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Selected column is not an object: ID

Accepted answer
9
Views
4
Comments
edited Jun 8, 2022 12:10PM in General Technical Discussions 4 comments

Summary

Exception Occur while ROQL query in ConnectPHP

Content

Hi,

I am using ROQL to get list of incident using ConnectPHP. I got an exception error 

Exception Occur - Message::Selected column is not an object: ID

Here is a query

SELECT Incident.ID FROM Incident WHERE Incident.ID >= 1000 AND Incident.ID <= 11000

I also tried this 

SELECT ID FROM Incident WHERE Incident.ID >= 1000 AND Incident.ID <= 11000

SELECT ID FROM Incident WHERE ID >= 1000 AND ID <= 11000

failed to get output

Anyone has an idea

Thanks!!

Baljeet

 

Version

Oracle Service Cloud 20 D

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!