New answers tagged


You need to add a where clause in SOQL for Account and use join to filter account record, example: SELECT Id, (SELECT id from MaintenancePlans WHERE Id = 'xxxxxxxxpUGAS') FROM Account WHERE Id IN (SELECT Account__c from MaintenancePlan WHERE Id = 'xxxxxxxxpUGAS') // Here I assume, Account__c is field API name and MaintenancePlan is ...

Top 50 recent answers are included