ERP 2.50:Developers Guide/Database Model/org.openbravo.model.financialmgmt.calendar/C PeriodControl
Contents |
C_PeriodControl
The Period Control records the status of a Period (Never Opened, Opened, Closed) for each of the DocBaseTypes.
- Name:FinancialMgmtPeriodControl
- Classname:PeriodControl
This table contains the following columns:
Name | Nullable | Data Type | Description |
C_PeriodControl_ID | N | VARCHAR2(32) | Period Control |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
IsActive | N | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
Created | N | DATE | The date that this record is completed. |
CreatedBy | N | VARCHAR2(32) | User who created this records |
Updated | N | DATE | x not implemented |
UpdatedBy | N | VARCHAR2(32) | User who updated this records |
C_Period_ID | N | VARCHAR2(32) | A specified time period. |
DocBaseType | N | VARCHAR2(60) | A classification of document types that are shown and processed in the same window. |
PeriodStatus | Y | VARCHAR2(60) | Current state of this period |
PeriodAction | N | VARCHAR2(60) | Action taken for this period |
Processing | Y | CHAR(1) | A request to process the respective document or task. |
Other Info
Check constraints
These are the check constraints for this table:
- C_PERIODCONTROL_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Non Unique
- C_PERIODCONTROL_DOCBASE
- C_PERIODCONTROL_PERIOD
Unique
- C_PERIODCONTROL_KEY
Columns
Period Control
The Period Control shows the status of a Period (Never Opened, Opened, Closed) for each of the DocBaseTypes.
- Physical column name: C_PeriodControl_ID
- Property Name: id
- Reference: ID
- This column is part of the table's identifier
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
- Default value: @AD_Client_ID@
Foreign key column to AD_Client table, (column: AD_Client_ID)
Validation Rule AD_Client Security validation: Clients with user access rights. With the following code:
AD_Client.AD_Client_ID IN (@#User_Client@)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
- Default value: @AD_ORG_ID@
Foreign key column to AD_Org table, (column: AD_Org_ID)
Validation Rule AD_Org Security validation: Organizations of the Client with user acces rights. With the following code:
(@AD_Client_ID@='0' AND AD_Org.AD_Org_ID='0') OR (@AD_Client_ID@!='0' AND ((AD_Org.AD_Client_ID IN (@#User_Client@) AND AD_Org.AD_Org_ID IN (@#User_Org@)) OR AD_Org.AD_Org_ID='0' AND AD_Org.IsSummary='N'))
Active
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.
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Updated
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Period
- Physical column name: C_Period_ID
- Property Name: period
- Reference: TableDir
- This column is a child for a buisiness object (is Parent)
Foreign key column to C_Period table, (column: C_Period_ID)
Document Category
The Document Base Type identifies the base or starting point for a document. Multiple document types may share a single document base type.
- Physical column name: DocBaseType
- Property Name: documentCategory
- Reference: List
List values: C_DocType DocBaseType
The allowed values for this list are:
- MMP (Material Production)
- MXI (Match Invoice)
- MXP (Match PO)
- PJI (Project Issue)
- GLJ (GL Journal)
- GLD (GL Document)
- API (AP Invoice)
- APP (AP Payment)
- ARI (AR Invoice)
- ARR (AR Receipt)
- SOO (Sales Order)
- ARF (AR Pro Forma Invoice)
- MMS (Material Delivery)
- MMR (Material Receipt)
- MMM (Material Movement)
- POO (Purchase Order)
- POR (Purchase Requisition)
- MMI (Material Physical Inventory)
- APC (AP Credit Memo)
- ARC (AR Credit Memo)
- CMB (Bank Statement)
- CMC (Cash Journal)
- CMA (Payment Allocation)
- STT (Settlement): Settlement of debt-payments
- STM (Settlement manual)
- AMZ (Amortization)
- DPM (Debt Payment Management)
- BSF (Bank Statement File)
- PPR (Payment proposal)
- FAT (Financial Account Transaction)
- ARRP (AR Receivable Proposal)
- REC (Reconciliation): Reconciliation
- --- (** New **)
- APPP (AP Payment Proposal)
Period Status
The Period Status indicates the current status for this period. For example 'Closed', 'Open', 'Never Opened'.
- Physical column name: PeriodStatus
- Property Name: periodStatus
- Reference: List
- Default value: N
List values: C_PeriodControl Status
The allowed values for this list are:
- C (Closed)
- N (Never opened)
- O (Open)
- P (Permanently closed)
Period Action
The Period Action indicates the action to be taken for this period. For example 'Close Period' or 'Open Period'.
- Physical column name: PeriodAction
- Property Name: periodAction
- Reference: List
- Default value: N
List values: C_PeriodControl Action
The allowed values for this list are:
- C (Close Period): Soft close - can be re-opened
- N (<No Action>)
- O (Open Period)
- P (Permanently Close Period)
Process Now
When this field is set as 'Y' a process is being performed on this record.
- Physical column name: Processing
- Property Name: processNow
- Reference: Button