Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
tinyint | Default = 0 | The type of application. | |
![]() |
money | Default = 0 | ||
![]() |
bit | Default = 0 | Indicates whether Gift Aid is declined for this application. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was added. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
![]() |
timestamp | Timestamp. | ||
![]() |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
![]() |
nvarchar(31) (Computed) | ![]() |
CASE [TYPECODE] WHEN 0 THEN N'Donation' WHEN 1 THEN N'Other' WHEN 2 THEN N'Unapplied matching gift payment' WHEN 3 THEN N'Additional sponsorship donation' END | Provides a translation for the 'TYPECODE' field. |
![]() |
uniqueidentifier | ![]() |
FK to SPONSORSHIP | |
![]() |
bit | Default = 0 | Indicates whether this application is a Gift Aid sponsorship. | |
![]() |
uniqueidentifier | ![]() |
Split id for revenue update batch. | |
![]() |
bit | Default = 0 | Boolean value to tell whether business units attached to the application/payment were overriden |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | BATCHREVENUE.ID | FK to BATCHREVENUE | |
![]() |
uniqueidentifier | DESIGNATION.ID | FK to DESIGNATION | |
![]() |
uniqueidentifier | ![]() |
REVENUEOTHERTYPECODE.ID | FK to REVENUEOTHERTYPECODE |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | ![]() |
OPPORTUNITY.ID | FK to OPPORTUNITY |
![]() |
uniqueidentifier | ![]() |
REVENUESPLITBUSINESSUNITOVERRIDECODE.ID | Stores the reason for overriding business units on this revenue split record. |
![]() |
uniqueidentifier | ![]() |
GLREVENUECATEGORYMAPPING.ID | Foreign key to the GLREVENUECATEGORYMAPPING table. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
BATCHREVENUEID | |||
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
BATCHREVENUEADDITIONALAPPLICATIONID |
![]() |
BATCHREVENUEADDITIONALAPPLICATIONSID |