| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
AMOUNT |
money | Default = 0 | ||
DATE |
datetime | |||
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. |
INSTALLMENTID |
uniqueidentifier | ![]() |
FK to INSTALLMENT | |
RECEIPTAMOUNT |
money | Default = 0 |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
BATCHREVENUEID |
uniqueidentifier | BATCHREVENUE.ID | Indicates the batch row this installment applies to. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_BATCHREVENUEINSTALLMENT_BATCHREVENUEID |
BATCHREVENUEID | |||
IX_BATCHREVENUEINSTALLMENT_DATEADDED |
DATEADDED | ![]() |
||
IX_BATCHREVENUEINSTALLMENT_DATECHANGED |
DATECHANGED | |||
PK_BATCHREVENUEINSTALLMENT |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_BATCHREVENUEINSTALLMENT_AUDIT_UPDATE |
|
TR_BATCHREVENUEINSTALLMENT_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
BATCHREVENUEINSTALLMENTSPLIT |
BATCHREVENUEINSTALLMENTID |

ID
AMOUNT
TSLONG
BATCHREVENUEID
IX_BATCHREVENUEINSTALLMENT_BATCHREVENUEID
IX_BATCHREVENUEINSTALLMENT_DATEADDED