PDACCOUNTCODEMAPPING
Account code mapping for the all offices.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| 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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| DEBITPDACCOUNTSEGMENTVALUEID |
uniqueidentifier |
yes |
PDACCOUNTSEGMENTVALUE.ID
|
FK to the table pointed to in the PDAccountSegmentValue for debits |
| CREDITPDACCOUNTSEGMENTVALUEID |
uniqueidentifier |
yes |
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 |
yes |
GLACCOUNT.ID
|
FK to the account number to use for debits |
| CREDITGLACCOUNTID |
uniqueidentifier |
yes |
GLACCOUNT.ID
|
FK to the account number to use for credits |
| PDACCOUNTSYSTEMID |
uniqueidentifier |
|
PDACCOUNTSYSTEM.ID
|
Accounting system id |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_PDACCOUNTCODEMAPPING_DATEADDED |
DATEADDED |
|
|
yes |
| IX_PDACCOUNTCODEMAPPING_DATECHANGED |
DATECHANGED |
|
|
|
| PK_PDACCOUNTCODEMAPPING |
ID |
yes |
yes |
|
Triggers
Referenced by