• darthzen
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I added the Sales Quote with Product Line Items (clean install) to my Salesforce instance, and decided to give the Print Anything module a try to get a more presentable format for sending quotes to potential customers.

I followed the instructions in the Excel spreadsheet; creating the package, queries, and the English template.

I then created the custom link and added it to the Quote layout.  When I attempt to run the Print Anything report, I get the following error:

Error : INVALID_TYPE: Didn't understand relationship 'Quote__r' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.



I'm extremely new to developing in Salesforce, so I'm not even sure where to go looking.  The failure is happening in the "Quote and Line Item" query that is first in the sequence. 

The actual query is:

Select
    s.Id, s.Name,
    s.Opportunity__c,
    s.Presented_Date__c,
    s.Quote_Amount__c,
    s.Valid_Until__c,
    (
        Select
            Ext_Net_Price__c,
            Ext_Price__c,
            Product2__c,
            Qty_Ordered__c,
            Sales_Discount__c,
            Unit_Net_Price__c,
            Unit_Price__c
        From
            Quote__r
    )

from
    SFDC_520_Quote__c s
where
    Id = '{Parameter.quoteId}'