Questions tagged [inner]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
128 views

Inner SOQL query API Call

I am using a SOQL query that uses an inner query that returns the parent details along with all child details as one json record as API response. I would like to know how can nexturl be used when a ...
Harsh's user avatar
  • 1
0 votes
1 answer
4k views

Inner SOQL Queries

I would like to know if there are any limitations to inner(nested) SOQL Queries. The reason i am asking is that lately when i get a soql 101 error it leads me to queries that have multiple inner ...
JM Luttrell's user avatar
1 vote
1 answer
2k views

Looping through Inner Query Best Practice

Looking for some general guidance on the best way to deal with getting to and looping through inner queries of SOQL. At a high level, I have a trigger on Opportunity stage. If the opportunity stage is ...
Reed's user avatar
  • 13
0 votes
2 answers
396 views

Inner class : Attempt to de-reference a null object

when i try to add "respDetail" to "response" i get the error "Attempt to de-reference a null object", any idee ? thank you public with sharing class Process_WSI { public class Detail { ...
Vneq's user avatar
  • 79
0 votes
1 answer
652 views

ApexCRUDviolation Fix

How to fix ApexCRUDViolation for inner query. Below is the query. proposal = [select Id, Name,(Select Id From PQConfig__Configurations__r) From Proposal__Proposal__c Where Proposal__Opportunity__c =:...
diwakar g's user avatar
0 votes
1 answer
2k views

How to get the name of the relationship for inner queries in SOQL? [duplicate]

In Trailhead we have the query to get the Contacts for the Account named "SFDC Computing", with an inner query. SELECT Name, (SELECT LastName FROM Contacts) FROM Account WHERE Name = 'SFDC Computing'...
ElHombre55's user avatar
2 votes
1 answer
5k views

SOQL: Inner query on lookup field

I have a table which has self lookup for the field name parent_id. I want to get the product code for the corresponding parent_id. please let me know whats wrong with this query: SELECT p.id,p.Name,...
mani's user avatar
  • 187
3 votes
1 answer
2k views

Unable to query child record through inner query

I have custom objects called 'Project' and 'Status Report'. Project is a parent and Status report is child in a master detail relation ship. With in trigger i wrote below query and getting the below ...
user26691's user avatar
3 votes
1 answer
5k views

Use inner classes in another inner class

Apex classes can’t be static. And I also heard that 'all nested classed behave like Java static nested classes.' In this case it should be possible to refer Inner1 from Inner2. But it fails with '...
John's user avatar
  • 149
1 vote
2 answers
8k views

Get size() on inner query

Trying to write a trigger to count records in a related list, then update a custom field with that count. Here's what I have so far: trigger CountOpptys on Account (before insert, before update) { ...
Jake Richter's user avatar
  • 1,361
4 votes
2 answers
1k views

Can interface have inner classes or interfaces?

Can interface have inner classes or interfaces? Looks like it is not possible and the answer is no, however it is not mentioned anywhere in the documentation https://developer.salesforce.com/docs/...
XpucTuHKa BuwuBaHKa's user avatar
5 votes
1 answer
13k views

How to make a "join" between two tables?

I have a table Product2, witch contain products. I have a table PricebookEntry, witch contain price for products. How can i make a request for someting like : SELECT Id, desriprtion, title, [...] ...
CotralLab's user avatar
2 votes
3 answers
830 views

Salesforce large relationship (inner) query

I have a task to perform a fairly large and specific data removal. The goal is to remove all EmailMessage objects that have a parent Case record whose status is closed, from BEFORE a certain date. ...
Robin Smith's user avatar
4 votes
2 answers
4k views

Queueable interface in salesforce not allowed on inner class?

I am trying to implement new Queueable interface of Winter 15 to allow chaining. But on one of my orgs it gives error as Invalid interface name specified. While same works properly on second org. ...
SEuser's user avatar
  • 1,855
2 votes
1 answer
2k views

Display list of inner class objects from VF controller

I have the following class, that implements 2 custom inner classes, with a list of one type inside another class. What this does is do a callout to an external REST service, gets back a JSON response ...
akarnid's user avatar
  • 1,932
4 votes
1 answer
4k views

How to do inner or sub-query for the same object in SOQL

Currently I'm facing an issue to select the value from the same object. below here i provided the query. I'm migration java-j2ee application to a salesforce, thisbelow query works in my sql. I'm ...
Arun's user avatar
  • 853
4 votes
1 answer
2k views

Weird issue with inner class not being covered via Test Class?

I have a test class that is basically covering a class which has structure like public class classA { public class classB implements Triggers.Handler { public void handle(){ ---...
logontokartik's user avatar