PDACCOUNTSYSTEM
Account structure systems.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(50) |
|
Default = '' |
Accounting system name. |
| DESCRIPTION |
nvarchar(255) |
|
Default = '' |
Accounting system description |
| 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. |
| ISDEFAULT |
bit |
|
Default = 0 |
Is this the system to use when user has no sites. |
| ISBASICGL |
bit |
|
Default = 1 |
Indicates whether account system is for BasicGL or Financials. |
| ALLOWGLDISTRIBUTIONS |
bit |
|
Default = 1 |
Indicated whether account system allows gl distributions or not. |
| REQUIREDPOSIT |
bit |
|
Default = 1 |
Indicates whether an account system requires a bank account deposit to post depositable payments. |
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CURRENCYSETID |
uniqueidentifier |
yes |
CURRENCYSET.ID
|
The currency set that dictates which currencies a revenue associated with this account system can use. |
| DEFAULTGLACCOUNTID |
uniqueidentifier |
yes |
GLACCOUNT.ID
|
Default account ID for this account system. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_PDACCOUNTSYSTEM_DATEADDED |
DATEADDED |
|
|
yes |
| IX_PDACCOUNTSYSTEM_DATECHANGED |
DATECHANGED |
|
|
|
| PK_PDACCOUNTSYSTEM |
ID |
yes |
yes |
|
| UC_PDACCOUNTSYSTEM_NAME |
NAME |
yes |
|
|
Triggers
Referenced by