J
James ROBERT

Posted on 20th April 2024|504 views

0
votes

Bind Variables Only Allowed In Apex Code

How to resolve the error bind variables only allowed in apex code?

here is my query

SELECT Id FROM Price_Agreement_Item__d WHERE Approved_Date__d > Last_Upload_Date__d

How can I build a SOQL statement which conditions preferred select statement connecting two fields within the table

 

Answers
P
Lakshmi sowjanya

Posted on 20th April 2024

SOQL does not currently maintain direct field toward field comparison within WHERE clauses. This Soap API too does not let the 'IN' clause within SOQL queries. It is crazy, but later again, that is 95% about Salesforce.

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos