I see there is a Role in the Contribution records now, but I cannot find where that is stored. I would especially like to use the Cr role to pull up Soft Credit contributions. Where is that coming from?
Jan LaRocque
Houston Symphony
I know this part. What I could not find was a translation for the numbering system; 1 = Owner; 2 = Initiator;, etc. Or that they can be combined into multiple codes 7 = OIR.
Jan
Jan LaRocque said:What I could not find was a translation for the numbering system;
From VS_ELEMENTS_TICKET_HISTORY:
CASE T.Role WHEN 1 THEN 'O' WHEN 2 THEN 'I' WHEN 3 THEN 'OI' WHEN 4 THEN 'R' WHEN 5 THEN 'OR' WHEN 6 THEN 'IR' WHEN 7 THEN 'OIR' END AS role_desc,
Which is to say that it's a binary switch:
1 = 'O'
10 (2) = 'I'
100 (4) = 'R'
And the rest is addition...
Look at you, sneaking math into this. I love it!
It's a handy trick to keep in one's back pocket. We use it to manage our fairly complex Web Rankings.
In another life I entered math competitions regularly and went on to actually get my college degree in mathematics. So I enjoy seeing it used by others.