GLFISCALPERIOD
General ledger fiscal period table
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
STARTDATE |
datetime |
|
|
Date the fiscal period starts |
ENDDATE |
datetime |
|
|
Date the fiscal period ends |
CLOSED |
bit |
|
Default = 0 |
Is period closed? |
SEQUENCE |
int |
|
Default = 0 |
Sequence of Segment |
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 |
GLFISCALYEARID |
uniqueidentifier |
yes |
GLFISCALYEAR.ID
|
Foreign key to the GLFISCALYEAR table |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_GLFISCALPERIOD_DATEADDED |
DATEADDED |
|
|
yes |
IX_GLFISCALPERIOD_DATECHANGED |
DATECHANGED |
|
|
|
IX_GLFISCALPERIOD_GLFISCALYEARID |
GLFISCALYEARID |
|
|
|
PK_GLFISCALPERIOD |
ID |
yes |
yes |
|
Triggers
Referenced by