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
TenaTena 

Custom oject link to Product

I have an custom object that is linked to the Product2 table via a lookup.  My custom object api is called "Quote_Line_Item__c".  In that I have a lookup to the proudct and the Child Relationship name is "Quote_Line_Items" the api name is "Product__c".  I have tried every different way to be able to be able to pull back the product name but I just can't get it to link.  It always tells me "If you are attempting to use a custom relationship, be sure to append the '__r'".  I have tried many differnet ways and always get the same thing :(  Here is what I think should work.

 

I would think that I should be able to put this in my select and make it work.

Quote_Line_Item__c.Quote_Line_Items__r.Name

 

any suggestions on what I am doing wrong??

TenaTena

I figured it out...was using the wrong name this whole time