| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
NAME |
nvarchar(100) | Default = '' | ||
LOWERLIMIT |
money | Default = 0 | ||
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. |
ORGANIZATIONLOWERLIMIT |
money | Default = 0 |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
OPPORTUNITYBRACKETGROUPID |
uniqueidentifier | ![]() |
OPPORTUNITYAMOUNTBRACKETGROUP.ID | FK to OPPORTUNITYAMOUNTBRACKETGROUP |
BASECURRENCYID |
uniqueidentifier | ![]() |
CURRENCY.ID | FK to CURRENCY |
ORGANIZATIONEXCHANGERATEID |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | FK to CURRENCYEXCHANGERATE |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_OPPORTUNITYAMOUNTBRACKET_DATEADDED |
DATEADDED | ![]() |
||
IX_OPPORTUNITYAMOUNTBRACKET_DATECHANGED |
DATECHANGED | |||
IX_OPPORTUNITYAMOUNTBRACKET_LOWERLIMIT |
LOWERLIMIT | |||
PK_OPPORTUNITYAMOUNTBRACKET |
ID | ![]() |
![]() |
|
UIX_OPPORTUNITYAMOUNTBRACKET_NAME_OPPORTUNITYBRACKETGROUPID |
NAME, OPPORTUNITYBRACKETGROUPID | ![]() |
| Trigger Name | Description |
|---|---|
TR_OPPORTUNITYAMOUNTBRACKET_INSERTUPDATE_CURRENCY |
|
TR_OPPORTUNITYAMOUNTBRACKET_AUDIT_UPDATE |
|
TR_OPPORTUNITYAMOUNTBRACKET_AUDIT_DELETE |

ID
NAME
TSLONG
ADDEDBYID
IX_OPPORTUNITYAMOUNTBRACKET_DATEADDED
IX_OPPORTUNITYAMOUNTBRACKET_DATECHANGED