CHARGELINEITEMRESPONSIBILITY
Contains information about charge responsibility.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| PERCENTAGE |
decimal(7, 4) |
|
Default = 0 |
The percentage of the given charge line item that the given constituent is responsible for. |
| DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
| DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
| TS |
timestamp |
|
|
Timestamp. |
| TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| FINANCIALTRANSACTIONLINEITEMID |
uniqueidentifier |
|
FINANCIALTRANSACTIONLINEITEM.ID
|
The line item on a charge that we are setting responsibility is for. |
| CONSTITUENTID |
uniqueidentifier |
|
CONSTITUENT.LOCALID
|
The constituent who is at least partially responsible for the given charge line item. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_CHARGELINEITEMRESPONSIBILITY_CONSTITUENTID |
CONSTITUENTID |
|
|
|
| IX_CHARGELINEITEMRESPONSIBILITY_DATEADDED |
DATEADDED |
|
|
yes |
| IX_CHARGELINEITEMRESPONSIBILITY_DATECHANGED |
DATECHANGED |
|
|
|
| IX_CHARGELINEITEMRESPONSIBILITY_FINANCIALTRANSACTIONLINEITEMID |
FINANCIALTRANSACTIONLINEITEMID |
|
|
|
| PK_CHARGELINEITEMRESPONSIBILITY |
ID |
yes |
yes |
|
Triggers