| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
BUDGETAMOUNT |
money | Default = 0 | The total budget amount for the marketing effort. | |
FIXEDCOST |
money | Default = 0 | The fixed cost for the marketing effort. | |
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. |
ORGANIZATIONBUDGETAMOUNT |
money | Default = 0 | The organization total budget amount for the marketing effort. | |
ORGANIZATIONFIXEDCOST |
money | Default = 0 | The organization fixed cost for the marketing effort. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ID |
uniqueidentifier | MKTSEGMENTATION.ID | Primary Key. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
BASECURRENCYID |
uniqueidentifier | ![]() |
CURRENCY.ID | The base currency associated with this marketing effort budget. |
ORGANIZATIONCURRENCYEXCHANGERATEID |
uniqueidentifier | ![]() |
CURRENCYEXCHANGERATE.ID | The exchange rate used to convert from the amounts to organization amount. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_MKTSEGMENTATIONBUDGET_BASECURRENCYID |
BASECURRENCYID | |||
IX_MKTSEGMENTATIONBUDGET_DATEADDED |
DATEADDED | ![]() |
||
IX_MKTSEGMENTATIONBUDGET_DATECHANGED |
DATECHANGED | |||
IX_MKTSEGMENTATIONBUDGET_ID |
ID | |||
IX_MKTSEGMENTATIONBUDGET_ORGANIZATIONCURRENCYEXCHANGERATEID |
ORGANIZATIONCURRENCYEXCHANGERATEID | |||
PK_MKTSEGMENTATIONBUDGET |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_MKTSEGMENTATIONBUDGET_IU_ORGANIZATIONAMOUNTS |
|
TR_MKTSEGMENTATIONBUDGET_AUDIT_UPDATE |
|
TR_MKTSEGMENTATIONBUDGET_AUDIT_DELETE |

ID
BUDGETAMOUNT
TSLONG
ID
IX_MKTSEGMENTATIONBUDGET_BASECURRENCYID
IX_MKTSEGMENTATIONBUDGET_DATEADDED