You need to sign in to do that
Don't have an account?

Print Anything + Sales Quote with Product Line Items
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:
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}'
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. | ||
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}'
the Quote custom field and add "Quote" (no quotation marks) to Child Relationship Name field .... Save. This should
fix the problem .... it fixed mine.
Thanks for your post Brian!
Mike
Thank you for the details on how to fix it. I've actually followed the stepts .. but it seems to have gotten worse.
this is log I got:
And the query is:
What should I do? There seems to be something woring, but i can't really understand what. thanks a lot.
I am trying to follow the same issue here, and it works now, but no quote pops up to print?
Thanks!