Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is there a way to get the Name from the OwnerId and Account__r.OwnerId in this query?
Select Id, Name, OwnerId,Account__r.Name, Account__r.OwnerId from Sede_BU__C WHERE RecordtypeId = '01224000000B3JL'
You can access the name of the owner using Owner as the name of the relationship between the objects.
console.log("result" + result)
Required, but never shown