ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.calendar/C Period
C_Period
- Name:C_Period
- Classname:FinancialMgmtPeriod
This table contains the following columns:
Name | Nullable | Data Type | Description
|
IsActive | No | CHAR (1) | There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:
(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
Close_Fact_Acct_Group_ID | Yes | VARCHAR (32) | Refers to the Fact_Acct_Group_ID of the closing entry |
CreatedBy | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
Created | No | TIMESTAMP (7) | The Created field indicates the date that this record was created. |
Divideup_Fact_Acct_Group_ID | Yes | VARCHAR (32) | Refers to the Fact_Acct_Group_ID of the divide up entry |
EndDate | Yes | TIMESTAMP (7) | The End Date indicates the last date in this range. |
Name | No | NVARCHAR (60) | A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length. |
OpenClose | No | VARCHAR (60) | |
Open_Fact_Acct_Group_ID | Yes | VARCHAR (32) | Refers to the Open_Fact_Acct_Group_ID of the open entry |
AD_Org_ID | No | VARCHAR (32) | An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. |
C_Period_ID | No | VARCHAR (32) | The Period indicates an exclusive range of dates for a calendar. |
PeriodNo | No | DECIMAL (10,0) | The Period No identifies a specific period for this year. Each period is defined by a start and end date. Date ranges for a calendar and year cannot overlap. |
PeriodType | No | VARCHAR (60) | The Period Type indicates the type (Standard or Adjustment) of period. |
Processing | Yes | CHAR (1) | When this field is set as 'Y' a process is being performed on this record. |
Reg_Fact_Acct_Group_ID | Yes | VARCHAR (32) | Refers to the Fact_Acct_Group_ID of the regularization entry |
StartDate | No | TIMESTAMP (7) | A parameter stating when a specified request will begin. |
Updated | No | TIMESTAMP (7) | The Updated field indicates the date that this record was updated. |
UpdatedBy | No | VARCHAR (32) | The Updated By field indicates the user who updated this record. |
C_Year_ID | No | VARCHAR (32) | The Year uniquely identifies an accounting year for a calendar. |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
It has a validation "AD_Client Security validation", with the following code
AD_Client.AD_Client_ID in (@#User_Client@)
Closing Fact_Acct_Group_ID
- Physical column name: Close_Fact_Acct_Group_ID
- Property Name: closingFactAcctGroup
- Reference: String
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Divideup Fact_Acct_Group_ID
- Physical column name: Divideup_Fact_Acct_Group_ID
- Property Name: divideupFactAcctGroup
- Reference: String
Ending Date
- Physical column name: EndDate
- Property Name: endingDate
- Reference: Date
Name
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
OpenClose
- Physical column name: OpenClose
- Property Name: openClose
- Reference: List
- Default value: O
It has a validation "Allowed PeriodActions", with the following code
Value<>'N'
List values: C_PeriodControl Action
The allowed values for this list are:
- O (Open Period)
- C (Close Period): Soft close - can be re-opened
- P (Permanently Close Period)
- N (<No Action>)
Open_Fact_Acct_Group_ID
- Physical column name: Open_Fact_Acct_Group_ID
- Property Name: openFactAcctGroup
- Reference: String
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Period
- Physical column name: C_Period_ID
- Property Name: id
- Reference: ID
Period No.
- Physical column name: PeriodNo
- Property Name: periodNo
- Reference: Integer
Period Type
- Physical column name: PeriodType
- Property Name: periodType
- Reference: List
List values: C_Period Type
The allowed values for this list are:
- S (Standard Calendar Period): Periods with non overlapping calendar days
- A (Adjustment Period): Period without calendar days
Process Now
- Physical column name: Processing
- Property Name: processNow
- Reference: Button
Regularization Fact_Acct_Group_ID
- Physical column name: Reg_Fact_Acct_Group_ID
- Property Name: regularizationFactAcctGroup
- Reference: String
Starting Date
- Physical column name: StartDate
- Property Name: startingDate
- Reference: Date
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Year
- Physical column name: C_Year_ID
- Property Name: year
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to C_Year table, (column: C_Year_ID)
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- C_PERIOD_ORG Not Unique. Columns:
- AD_ORG_ID
- C_PERIOD_YEAR Not Unique. Columns:
- C_YEAR_ID
Check Constraints
These are the check constraints for this table:
- C_PERIOD_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')