BATCHREVENUESPLITBUSINESSUNIT
Stores business units associated with revenue splits.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| 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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
| REVENUESPLITBUSINESSUNITID |
uniqueidentifier |
yes |
|
Used by revenue update batch to reference a one-of business unit. |
Foreign Keys
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_BATCHREVENUESPLITBUSINESSUNIT_DATEADDED |
DATEADDED |
|
|
yes |
| IX_BATCHREVENUESPLITBUSINESSUNIT_DATECHANGED |
DATECHANGED |
|
|
|
| PK_BATCHREVENUESPLITBUSINESSUNIT |
ID |
yes |
yes |
|
| UIX_BATCHREVENUESPLITBUSINESSUNIT_BATCHREVENUESPLITID_BUSINESSUNITCODEID |
BATCHREVENUESPLITID, BUSINESSUNITCODEID |
yes |
|
|
Triggers