• User0608
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hello,

 

I am trying show the quote line items in my visualforce page, but my standard controller is Contract, and I have a relationship with Opportunity.


For access the Quote Line Items is Contract.Oportunidade__r.SyncedQuote.QuoteLineItems, but show this error: Aggregate Relationship is used in an unsupported complex expression containing 'SyncedQuote.quotelineitems' .


Then I created another page that get this id of SyncedQuote and show the line items...


This is my call to another page:

 

<apex:include pageName="quote_line_items">
<apex:param name="id" value="{!Contract.Oportunidade__r.SyncedQuoteId}"/>
</apex:include>

 

and this is the error: Id value is not valid for the Quote standard controller...

 

Someone can help me?
Thanks.