| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
AMOUNT |
money | Default = 0 | Amount of money given to this business unit. | |
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) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
REVENUESPLITBUSINESSUNITID |
uniqueidentifier | ![]() |
Used by revenue update batch to reference a one-of business unit. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
BATCHREVENUESPLITID |
uniqueidentifier | BATCHREVENUESPLIT.ID | FK to BATCHREVENUESPLIT | |
BUSINESSUNITCODEID |
uniqueidentifier | BUSINESSUNITCODE.ID | FK to BUSINESSUNITCODE | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_BATCHREVENUESPLITBUSINESSUNIT_DATEADDED |
DATEADDED | ![]() |
||
IX_BATCHREVENUESPLITBUSINESSUNIT_DATECHANGED |
DATECHANGED | |||
PK_BATCHREVENUESPLITBUSINESSUNIT |
ID | ![]() |
![]() |
|
UIX_BATCHREVENUESPLITBUSINESSUNIT_BATCHREVENUESPLITID_BUSINESSUNITCODEID |
BATCHREVENUESPLITID, BUSINESSUNITCODEID | ![]() |
| Trigger Name | Description |
|---|---|
TR_BATCHREVENUESPLITBUSINESSUNIT_AUDIT_UPDATE |
|
TR_BATCHREVENUESPLITBUSINESSUNIT_AUDIT_DELETE |

ID
AMOUNT
TSLONG
BATCHREVENUESPLITID
IX_BATCHREVENUESPLITBUSINESSUNIT_DATEADDED
IX_BATCHREVENUESPLITBUSINESSUNIT_DATECHANGED