Hello and thanks for taking the time to look into my question.
I had an earlier question and Jesse Altman was kind enough to give me a great response.
I am using Force IDE and the salesfore.schema to find the appropriate variables, but I am getting an 'Invalid foreign key relationship Opportunity.service_contracts__r.
This is my code:
for(Opportunity opp:Trigger.new){
if(opp.StageName == 'PO In (100%)' && opp.Service_Contracts__r.size == 0){
}
}
This is my schema:
I must be missing something, and I do not know how I can test this.
Thanks again for any pointers.