Contribution Notes present List Criteria?

Hello all,

I am trying to write a custom List Criteria element that looks for any value in the Contribution Notes column (!.notes in T_CONTRIBUTION), but have hit a bit of a wall.

Has anyone created a list criteria lets an end user choose Yes/No based on a length greater than 0 in a column like Contribution Notes?

This List Criteria will help us close a loop on preparing a report for staff who prepare membership packs for us. We have a custom Output Set Element that pulls the Contribution Notes (Thanks David Roberson!), and now just need a List to generate only constituents who made a Contribution, and have Notes, which will be used to give instructions to the staff.

Thanks all!

Nicholas

Parents
  • Hi Nicholas,

    Try this in T_KEYWORD:

    Description: (your naming choice)
    Data Type: String
    Edit Mask: None
    Detail Tbl: T_CONTRIBUTION
    Detail Col: case when ISNULL(!.notes,'') = '' then 'N' else 'Y' end
    Ref Tbl: TR_GOOESOFT_DROPDOWN
    Ref Idcol: short_desc
    Ref Desccol: description
    Ref Where: code  = 1

    Just tried that in my test system and it seems to do the trick!

Reply
  • Hi Nicholas,

    Try this in T_KEYWORD:

    Description: (your naming choice)
    Data Type: String
    Edit Mask: None
    Detail Tbl: T_CONTRIBUTION
    Detail Col: case when ISNULL(!.notes,'') = '' then 'N' else 'Y' end
    Ref Tbl: TR_GOOESOFT_DROPDOWN
    Ref Idcol: short_desc
    Ref Desccol: description
    Ref Where: code  = 1

    Just tried that in my test system and it seems to do the trick!

Children