Our online donation portal allows donors to check a box to opt-in or out of email contact with us. We track our donor contact preferences in solicit codes. I've created a dictionary to remove that solicit code using the "-" removal character. ("Y" = "-Do Not Send Email", works a treat!).
I was hoping to find a non-API way of adding a constituent note so that we can track when the solicit code is removed. I could map the "Y" value to put in a specific note showing when an why the solicit code was removed in the database. However, I only want it to apply when the solicit code is actually removed. So if the solicit code does not already exist and I opt-in to receive email, nothing changes and there's no need to add a note. However, if I was previously restricting email contact with a solicit contact, I'd want to add the note to show when it was removed.
Any thoughts on how to accomplish this?