V_QUERY_CONSTITUENTCORRESPONDENCERESPONSE

Provides the ability to query constituent correspondence response fields.

Fields

Field Field Type Null Description
ID uniqueidentifier System record ID
CONSTITUENTCORRESPONDENCEID uniqueidentifier CONSTITUENTCORRESPONDENCEID
RESPONSEID uniqueidentifier RESPONSEID
DATE datetime yes Response date
ADDEDBY_APPLICATION nvarchar(200) yes Added by application
ADDEDBY_USERNAME nvarchar(128) yes Added by user name
CHANGEDBY_APPLICATION nvarchar(200) yes Changed by application
CHANGEDBY_USERNAME nvarchar(128) yes Changed by user name
DATEADDED datetime Date added
DATECHANGED datetime Date changed
TSLONG bigint yes Timestamp value

Definition

Copy
/*
Generated by Blackbaud AppFx Platform
Date:  8/17/2011 2:35:34 PM
Assembly Version:  Blackbaud.AppFx.Platform.SqlClr, Version=2.91.1535.0, Culture=neutral, PublicKeyToken=null
Copyright Blackbaud
*/
CREATE VIEW dbo.V_QUERY_CONSTITUENTCORRESPONDENCERESPONSE AS



        select 
            CONSTITUENTCORRESPONDENCERESPONSE.ID,
            CONSTITUENTCORRESPONDENCERESPONSE.CONSTITUENTCORRESPONDENCEID,
            CONSTITUENTCORRESPONDENCERESPONSE.RESPONSEID,
            CONSTITUENTCORRESPONDENCERESPONSE.DATE,
            [ADDEDBY].APPLICATIONNAME as [ADDEDBY_APPLICATION],
            [ADDEDBY].USERNAME as [ADDEDBY_USERNAME],
            [CHANGEDBY].APPLICATIONNAME as [CHANGEDBY_APPLICATION],
            [CHANGEDBY].USERNAME as [CHANGEDBY_USERNAME],
            CONSTITUENTCORRESPONDENCERESPONSE.DATEADDED,
            CONSTITUENTCORRESPONDENCERESPONSE.DATECHANGED,
            CONSTITUENTCORRESPONDENCERESPONSE.TSLONG
            from dbo.CONSTITUENTCORRESPONDENCERESPONSE
            left join dbo.CHANGEAGENT as [ADDEDBY] on [ADDEDBY].ID = CONSTITUENTCORRESPONDENCERESPONSE.ADDEDBYID
            left join dbo.CHANGEAGENT as [CHANGEDBY] on [CHANGEDBY].ID = CONSTITUENTCORRESPONDENCERESPONSE.CHANGEDBYID