Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
money | Default = 0 | Amount of the application | |
![]() |
tinyint | Default = 0 | Status of this application | |
![]() |
nvarchar(7) (Computed) | ![]() |
CASE [STATUSCODE] WHEN 0 THEN N'Pending' WHEN 1 THEN N'Active' WHEN 2 THEN N'Deleted' END | Provides a translation for the 'STATUSCODE' field. |
![]() |
tinyint | Default = 0 | Type of application | |
![]() |
nvarchar(8) (Computed) | ![]() |
CASE [TYPECODE] WHEN 0 THEN N'Regular' WHEN 1 THEN N'Discount' END | Provides a translation for the 'TYPECODE' field. |
![]() |
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. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | FINANCIALTRANSACTIONSCHEDULE.ID | Foreign key to the financial transaction schedule that this application is for. | |
![]() |
uniqueidentifier | ![]() |
FINANCIALTRANSACTION.ID | Foreign key to the financial transaction that pays/applies the amount to the financial transaction schedule |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
FINANCIALTRANSACTIONID | |||
![]() |
FINANCIALTRANSACTIONSCHEDULEID | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |
|
![]() |
Referenced by | Field |
---|---|
![]() |
FINANCIALTRANSACTIONAPPLICATIONID |