I notice that adding contact roles for households is an all-or-nothing process; either all members of the household are added, or none are. When dealing with households that track minors and adults (for example), I'd like to be able to only have the contact roles apply to adults. I can disable the default Household trigger and create my own, but thought I'd throw out this suggestion for you:
• Add a new Custom Setting to track which Contact record types should be
included when adding contact roles. So, in my org where I have 'Adult' and
'Minor' Contact Record Types, I could select only 'Adult'. The goal of this
setting is that only Adults will be added to oppties as Household Members.
• In HouseholdOpportunity.cls, about line 88, the query would become
something like:
householdContacts = [select id,Household__c from Contact where RecordType.Name
IN (...) AND Household__c IN :contactIdToHouseholdId.values()];
Original issue reported on code.google.com by kbro...@gmail.com on 13 Dec 2011 at 4:21
Original issue reported on code.google.com by
kbro...@gmail.com
on 13 Dec 2011 at 4:21