APPLICATIONRULES (4.0SP20)

This table contains the application defaults of the system.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

PAYMENT

bit

false

0

Indicates whether payments are automatically applied

CREDIT

bit

false

0

Indicates whether payments are automatically applied

CHARGE

bit

false

0

Indicates whether payments are automatically applied

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

ACCOUNTINGMETHODCODE

bit (Computed)

true

Returns the accounting method. 0 - Balance forward; 1 - Open item.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_APPLICATIONRULES_DATEADDED

DATEADDED

False

False

True

IX_APPLICATIONRULES_DATECHANGED

DATECHANGED

False

False

False

PK_APPLICATIONRULES

ID

True

True

False

Triggers
Trigger Name Description

TR_APPLICATIONRULES_ONLYONEROW

TR_APPLICATIONRULES_AUDIT_UPDATE

TR_APPLICATIONRULES_AUDIT_DELETE