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
LosintikfosLosintikfos 

JOIN

Can anyone guide me through how to SOQL JOIN statement from Apex?

I am trying to something like this;
Code:

SELECT Name, ServiceProduct__c FROM Service__c JOIN PricebookEntry
ON Service__c.ServiceProduct__c = PricebookEntry.product2Id

 Do anyone know how to achieve this using enterprise API and Apex SOQL?




LosintikfosLosintikfos
Solved!