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

Is there a way to add OportunityLineItemSchedule (Opportunity Product) Related List to Contracts object Visualforce Page - Receiving "Content cannot be displayed: 'OpportunityProduct__r' is not a valid child relationship name for entity Contract" error me
Is there a way to add OportunityLineItemSchedule (Opportunity Product) Related List to Contracts object Visualforce Page - Receiving "Content cannot be displayed: 'OpportunityProduct__r' is not a valid child relationship name for entity Contract" error message. I created a lookup relationship from Opportunity Product to Contracts object, and still receiving this error.
Here is my outputpanel code. The only related list, when added, that does not work is the last one ( <apex:relatedList list="OpportunityLineItemSchedule__r"/> )
<apex:outputpanel >
<apex:relatedlist list="ProcessSteps" title="Approval History"/>
<apex:relatedlist list="Contracts__r" title="Contracts"/>
<apex:relatedlist list="OpenActivities" title="Open Activities"/>
<apex:relatedlist list="ActivityHistories" title="Activity History"/>
<apex:relatedList list="OpportunityLineItemSchedule__r"/>
</apex:outputpanel>
Here is my outputpanel code. The only related list, when added, that does not work is the last one ( <apex:relatedList list="OpportunityLineItemSchedule__r"/> )
<apex:outputpanel >
<apex:relatedlist list="ProcessSteps" title="Approval History"/>
<apex:relatedlist list="Contracts__r" title="Contracts"/>
<apex:relatedlist list="OpenActivities" title="Open Activities"/>
<apex:relatedlist list="ActivityHistories" title="Activity History"/>
<apex:relatedList list="OpportunityLineItemSchedule__r"/>
</apex:outputpanel>
<apex:relatedList list="Opportunities"/>