APPLICATIONRULES
This table contains the application defaults of the system.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
PAYMENT |
bit |
|
Default = 0 |
Indicates whether payments are automatically applied |
CREDIT |
bit |
|
Default = 0 |
Indicates whether payments are automatically applied |
CHARGE |
bit |
|
Default = 0 |
Indicates whether payments are automatically applied |
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. |
ACCOUNTINGMETHODCODE |
bit (Computed) |
yes |
dbo.UFN_CONDITIONSETTING_EVALUATEEXISTSCONDITION('OpenItem') |
Returns the accounting method. 0 - Balance forward; 1 - Open item. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_APPLICATIONRULES_DATEADDED |
DATEADDED |
|
|
yes |
IX_APPLICATIONRULES_DATECHANGED |
DATECHANGED |
|
|
|
PK_APPLICATIONRULES |
ID |
yes |
yes |
|
Triggers