!!!Alias: [IVDDP]
(INF_CV_DEPARTMENTS)

The INF_CV_DEPARTMENTS table is used to import department codes and their attendant data into the software data structures.  Departments divide the organization  into manageable areas, defining the organization structure from a human resources management point of view.   Departments are usually a combination of functional areas of the organization such as sales, marketing and accounting,  cost centers such as stores, warehouses, theaters, branches and offices,  and production lines or product related processes such as forming, molding, finishing and quality assurance.

Tables loaded:	
*[P2K_CM_DEPARTMENTS] (first record for each department code only)
*[P2K_CM_DEPARTMENT_DETAILS] (first record and subsequent effective splits)
*[P2K_SA_PREMIUM_USAGES] (one record for each premium code defined)
*[P2K_CM_DISTRIBUTIONS] (one record for each distribution split defined)
!!Table Columns
\\
||Column name||Data Type / Size||Mand.||Notes
|[ID]|Number(10)| |Used internally to define a unique identification for the record. This field would not be loaded.
|[ENTITY_CODE_SUB_DIVISION]|Varchar2(16)|Y|Validation:	Must be a valid entity code defined on [P2K_CM_ENTITIES]
|[ENTITY_CODE_LEGAL]|Varchar2(16)| |Validation:	Must be a valid entity code defined on [P2K_CM_ENTITIES]
|[DEPARTMENT_CODE]|Varchar2(16)|Y|Validation:	Must be a unique department code within the entity identified by the [ENTITY_CODE_SUB_DIVISION|ENTITY_CODE]
|[STANDING]|Varchar2(30)| |Validation:	Must be either a valid lexicon code, or a valid lexicon description from [X_STANDING]
|[GENERIC_CODE]|Varchar2(16)| |
|[EFFECTIVE]|Date()| |Validation:	Must be a valid date format. Suggestion:	If you are not loading multiple date-effective records for the same department code, then populate this field with a constant ‘01-Jan-0001’ which represents the beginning of time
|[EXPIRY]|Date()| |Validation:	Must be a valid date format, with a date after the effective date   Suggestion:	If you are not loading multiple date-effective records for the same department code, then populate this field with a constant ‘31-Dec-3999’ which represents the end of time.
|[CHANGE_CODE]|Varchar2(16)| |Validation:	The Change Code provided must be defined on [P2K_CM_CHANGE_REASONS]
|[DEPARTMENT_NAME]|Varchar2(50)|Y|
|[LOCATION_CODE_LOCATED_IN]|Varchar2(16)| |Validation:	Must be a valid [LOCATION_CODE|LOCATION_CODE] defined on [P2K_CM_LOCATIONS]. Derivation:	If not specified, will be derived from the [LOCATION_CODE|LOCATION_CODE] for the [ENTITY_CODE_SUB_DIVISION|ENTITY_CODE].
|[WORK_RULE (Field)]|Varchar2(16)| |Validation:	Must be a Work Rule Code defined on [P2K_CM_WORK_RULES].  
|[PERSON_CODE]|Varchar2(16)| |Validation:	Must be a valid employee already created in the system
|[LOCATION_CODE_PAYDEST]|Varchar2(16)| |Validation:	Must be a valid [LOCATION_CODE|LOCATION_CODE] defined on [P2K_CM_LOCATIONS]
|[AUTHORIZATION_CODE]|Varchar2(16)| |Validation:	Must be a valid Authorization Area defined in [P2K_CM_AUTHORIZATION_AREAS]
|[POSITION_CODE]|Varchar2(16)| |Validation:	Must be a valid position code already defined on [P2K_CM_POSITIONS].
|[DISTRIBUTION_MASK]|Varchar2(50)| |Validation:	The [DISTRIBUTION_MASK] is validated against the [DISTRIBUTION_FORMAT] specified for the GLCOMPANY that is associated with the [ENTITY_CODE_SUB_DIVISION|ENTITY_CODE]. Derivation:	If not specified, will be derived from the [DISTRIBUTION_MASK] for the [ENTITY_CODE_SUB_DIVISION|ENTITY_CODE].
|[BURDEN_PERCENT]|Number(5)| |
|[PHONE_NUMBER]|Varchar2(20)| |Validation:	Must be formatted in the correct format, for the country indicated by the physical location.  Derivation:	If not specified, will be derived from the [PHONE_NUMBER|PHONE_NUMBER] for the [ENTITY_CODE_SUB_DIVISION|ENTITY_CODE].
|[PHONE_EXTENSION]|Varchar2(16)| |Derivation:	If not specified, will be derived from the [PHONE_EXTENSION|PHONE_EXTENSION] for the [ENTITY_CODE_SUB_DIVISION|ENTITY_CODE].
|[FAX_NUMBER]|Varchar2(20)| |Validation:	Must be formatted in the correct format, for the country indicated by the physical location. Derivation:	If not specified, will be derived from the [FAX_NUMBER|FAX_NUMBER] for the [ENTITY_CODE_SUB_DIVISION|ENTITY_CODE].
|[EMAIL_ADDRESS(Field)]|Varchar2(50)| |Derivation:	If not specified, will be derived from the [EMAIL_ADDRESS(Field)|EMAIL_ADDRESS(Field)] for the [ENTITY_CODE_SUB_DIVISION|ENTITY_CODE].
|[EEOC_FUNCTION]|Varchar2(30)| |Validation:	Must be either a valid lexicon code, or a valid lexicon description from [X_EEOC_FUNCTION]
|[BATCH_CODE]|Varchar2(16)| |
|[INDUSTRY_CODE]|Varchar2(16)| |
|[OFFICE_CODE]|Varchar2(16)| |
|[BURDEN_METHOD]|Varchar2(30)| |
|[DEPARTMENT_CODE_REPORTING_TO]|Varchar2(16)| |
|[CREATE_DATE]|Date()| |This field used internally only to provide audit information for the creation/updating of records. This field would not be loaded. 
|[CREATE_USER]|Varchar2(30)| |This field used internally only to provide audit information for the creation/updating of records. This field would not be loaded. 
|[CHANGE_DATE]|Date()| |This field used internally only to provide audit information for the creation/updating of records. This field would not be loaded. 
|[CHANGE_USER]|Varchar2(30)| | This field used internally only to provide audit information for the creation/updating of records. This field would not be loaded. 

----
![Notes|Edit:Internal.INF_CV_DEPARTMENTS] 	
[{InsertPage page='Internal.INF_CV_DEPARTMENTS' default='Click to create a new notes page'}]