| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
REVENUETYPE |
int | Default = 0 | Revenue type Identifier | |
APPLICATIONTYPE |
int | Default = 0 | Application type Identifier | |
PAYMENTMETHOD |
int | Default = 0 | Payment Method Identifier | |
OFFICEID |
int | Default = 0 | Office Identifier | |
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 |
|---|---|---|---|---|
DEBITPDACCOUNTSEGMENTVALUEID |
uniqueidentifier | ![]() |
PDACCOUNTSEGMENTVALUE.ID | FK to the table pointed to in the PDAccountSegmentValue for debits |
CREDITPDACCOUNTSEGMENTVALUEID |
uniqueidentifier | ![]() |
PDACCOUNTSEGMENTVALUE.ID | FK to the table pointed to in the PDAccountSegmentValue for credits |
PDACCOUNTCODEMAPOFFICEID |
uniqueidentifier | PDACCOUNTCODEMAPOFFICE.ID | FK to Office | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
DEBITGLACCOUNTID |
uniqueidentifier | ![]() |
GLACCOUNT.ID | FK to the account number to use for debits |
CREDITGLACCOUNTID |
uniqueidentifier | ![]() |
GLACCOUNT.ID | FK to the account number to use for credits |
PDACCOUNTSYSTEMID |
uniqueidentifier | PDACCOUNTSYSTEM.ID | Accounting system id |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_PDACCOUNTCODEMAPPING_DATEADDED |
DATEADDED | ![]() |
||
IX_PDACCOUNTCODEMAPPING_DATECHANGED |
DATECHANGED | |||
PK_PDACCOUNTCODEMAPPING |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_PDACCOUNTCODEMAPPING_AUDIT_UPDATE |
|
TR_PDACCOUNTCODEMAPPING_AUDIT_DELETE |
|
TR_PDACCOUNTCODEMAPPING_IUD |
| Referenced by | Field |
|---|---|
PDACCOUNTCODEMAPPINGSUBTYPE |
PDACCOUNTCODEMAPPINGID |

ID
REVENUETYPE
TSLONG
DEBITPDACCOUNTSEGMENTVALUEID
IX_PDACCOUNTCODEMAPPING_DATEADDED
IX_PDACCOUNTCODEMAPPING_DATECHANGED