ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.calendar/C Year
Contents |
C_Year
- Name:C_Year
- Classname:FinancialMgmtYear
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. |
C_Calendar_ID | No | VARCHAR (32) | The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
Create_Reg_Fact_Acct | Yes | CHAR (1) | Process to create regularization accounting 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. |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
Drop_Reg_Fact_Acct | Yes | CHAR (1) | Process to drop regularization accounting entry. |
Year | No | VARCHAR (10) | The Year identifies the accounting year for a calendar. |
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. |
Processing | Yes | CHAR (1) | When this field is set as 'Y' a process is being performed on this record. |
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
Calendar
- Physical column name: C_Calendar_ID
- Property Name: calendar
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to C_Calendar table, (column: C_Calendar_ID)
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@)
Create Reg Fact Acct
- Physical column name: Create_Reg_Fact_Acct
- Property Name: createRegFactAcct
- Reference: Button
- Default value: N
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
Description
- Physical column name: Description
- Property Name: description
- Reference: String
Drop Reg Fact Acct
- Physical column name: Drop_Reg_Fact_Acct
- Property Name: dropRegFactAcct
- Reference: Button
- Default value: N
Fiscal Year
- Physical column name: Year
- Property Name: fiscalYear
- Reference: String
- This column is part of the table's identifier
Callout: SL_Year_Validation
This column has a callout associated. It validates if the introduced year has a valid format It is implemented by [1] Java Class.
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Process Now
- Physical column name: Processing
- Property Name: processNow
- Reference: Button
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: id
- Reference: ID
Other Info
Check Constraints
These are the check constraints for this table:
- C_YEAR_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')