SalesforceFoundation/Cumulus — pull request #1129 by jlantz (2014-10-28 11:31:12+00:00)
Title: Updates to allow address update code to work with State & Country picklists enabled

NOTE: This pull request is to merge the contribution from @force2b into a feature branch in the main repository so it can be merged.

Modify triggers related to the updating the Account and Contact objects for address changes to first validate the value against the set of valid State and Country picklist codes/values, if that feature is enabled in the Org. Potential errors due to a state or country value that cannot be matched against the configured codes/labels is logged as to the Error__c object; and the change is not made to the record.

# Warning

# Info
* Household Account address management now works with State and Country picklists. Thanks to Michael Smith (@force2b) for this contribution

# Issues
Fixes #994