Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| financialyearid | serial | 10 | √ | nextval('tbl_financialyear_financialyearid_seq'::regclass) |
|
|
Primary key |
|||||||||||||
| companyid | int8 | 19 | null |
|
|
FK: public.tbl_company.id |
||||||||||||||
| yeartype | int4 | 10 | null |
|
|
Defines the type or classification of the year (e.g., 1= Financial Year, 2= Calendar Year, etc.). |
||||||||||||||
| fystartdate | timestamp | 29,6 | null |
|
|
The official start date of the financial year (e.g., April 1st). |
||||||||||||||
| fyenddate | timestamp | 29,6 | null |
|
|
The official end date of the financial year (e.g., March 31st). |
||||||||||||||
| fyearstatus | bool | 1 | √ | null |
|
|
Boolean flag: Indicates the long-term status of the record (e.g., Active/Inactive). |
|||||||||||||
| fyclosedate | timestamp | 29,6 | √ | null |
|
|
The actual date when the financial year was formally closed in the system. |
|||||||||||||
| fypersonid | varchar | 20 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
|||||||||||||
| fyrunning | bool | 1 | √ | null |
|
|
Boolean flag: Indicates if this is the currently active, running financial year where transactions are being processed. |
|||||||||||||
| sbuid | int4 | 10 | √ | null |
|
|
FK: public.tbl_SBU.id |
|||||||||||||
| createdby | varchar | 50 | √ | null |
|
|
||||||||||||||
| createddate | timestamp | 29,6 | √ | null |
|
|
||||||||||||||
| modifiedby | varchar | 50 | √ | null |
|
|
||||||||||||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_financialyear_pk_tbl_financialyear | Primary key | Asc | financialyearid |


