| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
QUANTITY |
smallint | Default = ((0)) | Number of benefits | |
UNITVALUE |
money | Default = 0 | Cost per benefit | |
DETAILS |
nvarchar(255) | Default = '' | Details | |
SEQUENCE |
int | 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. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
BATCHREVENUEAPPLICATIONPLEDGEID |
uniqueidentifier | BATCHREVENUEAPPLICATIONPLEDGE.ID | Indicates the batch row this benefit applies to. | |
BENEFITID |
uniqueidentifier | BENEFIT.ID | Benefit | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
BENEFITCURRENCYID |
uniqueidentifier | ![]() |
CURRENCY.ID | The base currency of the benefit. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_BATCHREVENUEAPPLICATIONPLEDGEBENEFIT_BENEFITCURRENCYID |
BENEFITCURRENCYID | |||
IX_BATCHREVENUEAPPLICATIONPLEDGEBENEFIT_DATEADDED |
DATEADDED | ![]() |
||
IX_BATCHREVENUEAPPLICATIONPLEDGEBENEFIT_DATECHANGED |
DATECHANGED | |||
PK_BATCHREVENUEAPPLICATIONPLEDGEBENEFIT |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_BATCHREVENUEAPPLICATIONPLEDGEBENEFIT_AUDIT_UPDATE |
|
TR_BATCHREVENUEAPPLICATIONPLEDGEBENEFIT_AUDIT_DELETE |
|
TR_BATCHREVENUEAPPLICATIONPLEDGEBENEFIT_INSERTUPDATE_CURRENCY |

ID
QUANTITY
TSLONG
BATCHREVENUEAPPLICATIONPLEDGEID
IX_BATCHREVENUEAPPLICATIONPLEDGEBENEFIT_BENEFITCURRENCYID
IX_BATCHREVENUEAPPLICATIONPLEDGEBENEFIT_DATEADDED