INF_CV_ASSIGNMENTS
Back to current versionRestore this version

Alias: IVEAS#

(INF_CV_ASSIGNMENTS)
Provides all of the details for the Assignment

The INF_CV_ASSIGNMENTS table is used to import employee’s work assignment information and attendant data into the software data structures. Employees will perform work for the company, reflected by the assignment that they are given. Assignments may be for specific positions or for a more generic job definition. The assignment record defines under what jurisdiction an employee will be taxed (as their work location) by default.

SQL Loader control file sample: ASSIGNMENTS.CTL, loading from ASSIGNMENTS.DAT

Tables loaded:
P2K_HR_ASSIGNMENTS (first record for each employee only
P2K_HR_ASSIGNMENT_DETAILS (first record and subsequent effective splits)
P2K_AM_USER_FIELD_VALUES (one for each user field value provided)

Table Columns#


Column nameData Type / SizeDomainMand.Notes
IDNumber(10)ID
ENTITY_CODEVarchar2(16)CODEYDestination:Not moved to the software data structures, but used for validation of the employment record. Validation: The Entity Code provided must be defined on P2K_CM_ENTITIES.
PERSON_CODEVarchar2(16)CODEYDestination:Not moved to the P2K_CM_LOCATIONS table, but used for validation of the employment record. Validation: Must be a valid PERSON_CODE already defined on the P2K_HR_IDENTITIES table.
EMPLOYMENT_TYPEVarchar2(30)VARCHAR30 Destination:Not moved to the P2K_CM_LOCATIONS table, but used for validation. Validation: The employee must have an active employment record for this employment type. Must be one of the X_EMPLOYMENT_TYPE fixed lexicon values.
HIRE_DATEDate()DATE Destination:Not moved to the P2K_CM_LOCATIONS table, but used for validation of the employment record. Validation: Must be a valid date.
ASSIGNMENT_CODEVarchar2(16)CODEYDestination:P2K_HR_ASSIGNMENTS.ASSIGNMENT_CODE Suggestion:Set the Assignment Code to be the same as the assignment type.
ASSIGNMENT_TYPEVarchar2(30)VARCHAR30 Destination:P2K_HR_ASSIGNMENTS.ASSIGNMENT_TYPE. Validation: If provided, must be a value from the X_ASSIGN_TYPE fixed lexicon
ASSIGNMENT_STATUSVarchar2(30)VARCHAR30 Destination: P2K_HR_ASSIGNMENTS.ASSIGNMENT_STATUS. Validation: If provided, must be a value from the X_ASSIGN_STATUS fixed lexicon
ASSIGNMENT_START_DATEDate()DATE Destination: P2K_HR_ASSIGNMENTS.ASSIGNMENT_START_DATE Validation: Must be a valid date.
ASSIGNMENT_END_DATEDate()DATE Destination:P2K_HR_ASSIGNMENTS.ASSIGNMENT_END_DATE. Validation: Must be a valid date.
PRIME_ASSIGNMENTVarchar2(4)VARCHAR4 Destination: P2K_HR_ASSIGNMENTS.PRIME_ASSIGNMENT Validation: This field is a “toggle” field. The value will be translated as False if the value is left NULL, set to “N”, “NO” or “0”. All other values will translate to True.
DESCRIPTIONVarchar2(50)DESCRIPTION Destination: P2K_HR_ASSIGNMENTS.DESCRIPTION
NEXT_REVIEW_DATEDate()DATE Destination: P2K_HR_ASSIGNMENTS.NEXT_REVIEW_DATE
TS_SENIORITY_DATEDate()DATE
EFFECTIVEDate()EFFECTIVE Destination: P2K_CM_ASSIGNMENT_DETAILS.EFFECTIVE Validation: Must be a valid date format. Suggestion: If you are not loading multiple date-effective records for the same entity code, then populate this field with a constant ‘01-Jan-0001’ which represents the beginning of time.
EXPIRYDate()EXPIRYYDestination: P2K_CM_ASSIGNMENT_DETAILS.EXPIRY 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 entity code, then populate this field with a constant ‘31-Dec-3999’ which represents the end of time.
CHANGE_CODEVarchar2(16)CODE Destination: P2K_CM_ASSIGNMENT_DETAILS.DCR_ID. Validation: The Change Code provided must be defined on P2K_CM_CHANGE_REASONS.
STATUS_CODEVarchar2(16)CODE Destination: P2K_CM_ASSIGNMENT_DETAILS.DES_ID Validation: Must be an Employment Status code defined on P2K_CM_EMPLOYMENT_STATUSES.
POSITION_CODEVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.DPS_ID Validation: The Position Code provided must be defined on P2K_CM_POSITIONS
DEPARTMENT_CODEVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.DDP_ID Validation: The Department Code provided must be defined on P2K_CM_DEPARTMENTS
UNIT_CODEVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.DUN_ID Validation: The Unit Code provided must be defined on P2K_CM_UNITS.
JOB_CODEVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.DJB_ID Validation: The Job Code provided must be defined on P2K_CM_JOBS
LOCATION_CODE_WORK_INVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENTS.DLN_ID_WORK_IN Validation: The Location Code provided must be defined on P2K_CM_LOCATIONS
COUNTRY_CODEVarchar2(16)CODE Destination: Not moved to the software structures, but used for validation of STATE_PROVINCE. Validation: Must be a valid country code on P2K_CM_COUNTRIES. If you provide a STATE_PROVINCE_CODE, then you must provide a COUNTRY_CODE.
STATE_PROVINCE_CODEVarchar2(16)CODE Destination: Not moved to the software structures, but used for validation of GEO_CODE. Validation: Must be a valid state code or province code, for the country indicated on P2K_CM_STATE_PROVINCES. If you provide a STATE_PROVINCE_CODE, then you must provide a COUNTRY_CODE.
GEO_CODEVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.DTX_ID. Validation: The GEO Code must be a valid GEO code on the P2K_CM_TAX_JURISDICTIONS table. If the STATE_PROVINCE_CODE is provided, then the GEO_CODE must be within that specific state, as well.
GROUP_CODEVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.DGR_ID Validation: The Group Code provided must be defined on P2K_CM_GROUPS
AUTHORIZATION_CODEVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENTS.DAA_ID and P2K_HR_ASSIGNMENT_DETAILS.DAA_ID Validation: The Authorization Code provided must be defined on P2K_CM_AUTHORIZATION_AREAS. Derivation: The authorization code is derived from the authorization defined for the position. If there is no position defined, then the code is derived from the department.
WORK_RULE_CODEVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.DWR_ID Validation: The work rule code provided must be defined on P2K_CM_WORK_RULES. Derivation: This field is derived from the work rule defined for the position. If there is no work rule specified for the position, then the work rule is taken from the group. If there is no work rule defined on the group, then it is taken from the job definition.
LOCATION_CODE_PAYDESTVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.DLN_ID_PAYDEST. Validation: The Location Code provided must be defined on P2K_CM_LOCATIONS
PERSON_CODE_REPLACED_BYVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.EID_ID_REPLACED_BY
PERSON_CODE_SUPERVISED_BYVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.EID_ID_SUPERVISED_ID Validation: Must be an employee who has already been defined on P2K_HR_IDENTITIES
RANGE_CODEVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.SSR_ID Validation: The Range Code provided must be defined on P2K_SA_SALARY_RANGES. Derivation: The range code is derived from the range code specified for the position. If no position is specified, then it is taken from the job definition.
SCALE_CODEVarchar2(16)CODE Destination: Not moved to the P2K_CM_LOCATIONS table, but used for validation of STEP_CODE. Validation: The Scale Code provided must be defined on P2K_SA_WAGE_SCALES Derivation: The scale code is derived from the scale code specified for the position. If no position is specified, then it is taken from the job definition
STEP_CODEVarchar2(16)CODE Destination: P2K_HR_ASSIGNMENT_DETAILS.DWSS_ID Validation: The Step Code provided must be defined on P2K_SA_WAGE_SCALES for the SCALE_CODE provided. Derivation: The step code is derived from the step code specified for the position. If no position is specified, then it is taken from the job definition
FTENumber(9)AMT5V4 Destination: P2K_HR_ASSIGNMENT_DETAILS.FTE
WORK_TYPEVarchar2(30)VARCHAR30 Destination: P2K_HR_ASSIGNMENT_DETAILS.WORK_TYPE
WCB_CLASSVarchar2(30)VARCHAR30 Destination: P2K_HR_ASSIGNMENT_DETAILS.WCB_CLASS Validation: If provided, must be one of the values defined for the X_WCB_CLASS lexicon
HOURS_PER_DAYNumber(9)AMT5V4 Destination: P2K_CM_ASSIGNMENT_DETAILS.HOURS_PER_DAY Validation: May not exceed 24. Derivation: The hours worked per day is derived from the value defined for the work rule specified. If there is no value defined for the work rule, then the value is derived from the position code. If there is no position code, then the value is derived from the group. Finally, if there is no value defined on the group, the hours per day is derived from the value for the job.
HOURS_PER_WEEKNumber(9)AMT5V4 Destination: P2K_CM_ASSIGNMENT_DETAILS.HOURS_PER_DAY Validation: May not exceed 168.Derivation: The hours worked per week is derived from the value defined for the work rule specified. If there is no value defined for the work rule, then the value is derived from the position code. If there is no position code, then the value is derived from the group. Finally, if there is no value defined on the group, the hours per week is derived from the value for the job.
HOURS_PER_PAYNumber(9)AMT5V4 Destination: P2K_CM_ASSIGNMENT_DETAILS.HOURS_PER_PAY Validation: May not exceed 744. Derivation: The hours worked per pay is derived from the value defined for the work rule specified. If there is no value defined for the work rule, then the value is derived from the position code. If there is no position code, then the value is derived from the group. Finally, if there is no value defined on the group, the hours per pay is derived from the value for the job.
PERIODS_ELECTEDNumber(5)NUMBER5 Destination: P2K_HR_ASSIGNMENT_DETAILS.PERIODS_ELECTED
CONTRACT_DAYSNumber(9)AMT5V4 Destination: P2K_HR_ASSIGNMENT_DETAILS.CONTRACT_DAYS
CONTRACT_LIMITNumber(18)AMT12V6 Destination: P2K_HR_ASSIGNMENT_DETAILS.CONTRACT_LIMIT
USE_FTE_WAGESVarchar2(4)VARCHAR4 Destination: P2K_HR_ASSIGNMENT_DETAILS.USE_FTE_WAGES Validation: This field is a “toggle” field. The value will be translated as False if the value is left NULL, set to “N”, “NO” or “0”. All other values will translate to True. Derivation: This toggle’s value is taken from that specified for the position. If there is no position specified, then the value is taken from the group definition.
WAGE_RATENumber(18)AMT12V6 Destination: P2K_HR_ASSIGNMENT_DETAILS.WAGE_RATE. Derivation: The wage rate is taken from the wage rate specified on the scale/step code, if specified. If there is no scale/step code specified, then the wage is taken from the position. If there is no position specified (or no wage on the position record), then it is derived from the job definition. Suggestion: Do not provide a Wage_Rate without a Rate_Basis, as the derived rate basis may not be the one you intend.
RATE_BASISVarchar2(30)VARCHAR30 Destination: P2K_HR_ASSIGNMENT_DETAILS.RATE_BASIS Validation: If provided, must be one of the fixed lexicon values from X_RATE_BASIS. Derivation: The rate basis is taken from the wage rate specified on the scale/step code, if specified. If there is no scale/step code specified, then the rate basis is taken from the position. If there is no position specified (or no rate basis on the position record), then it is derived from the job definition. Suggestion: Do not provide a Rate_Basis without a Wage_Rate, as the derived rate basis may not be the one you intend
OUT_OF_RANGEVarchar2(4)VARCHAR4 Destination: P2K_HR_ASSIGNMENT_DETAILS.OUT_OF_RANGE Validation: This field is a “toggle” field. The value will be translated as False if the value is left NULL, set to “N”, “NO” or “0”. All other values will translate to True.
SCALE_OVERRIDDENVarchar2(4)VARCHAR4 Destination: P2K_HR_ASSIGNMENT_DETAILS.SCALE_OVERRIDDEN Validation: This field is a “toggle” field. The value will be translated as False if the value is left NULL, set to “N”, “NO” or “0”. All other values will translate to True.
ASSIGNMENT_TITLEVarchar2(50)DESCRIPTION Destination: P2K_HR_ASSIGNMENT_DETAILS.ASSIGNMENT_TITLE. Derivation: The assignment title is derived from the position title specified for the position. If no position is specified, then it is taken from the job title on the job definition
JOB_SENIORITY_DATEDate()DATE Destination: P2K_HR_ASSIGNMENT_DETAILS.JOB_SENIORITY_DATE Validation: Must be a valid date
RESPONSIBILITY_LEVELVarchar2(30)VARCHAR30 Destination: P2K_HR_ASSIGNMENT_DETAILS.RESPONSIBILITY_LEVEL Derivation: The responsibility level is taken from the responsibility level defined for the position. If there is no position defined, then it is derived from the department specified
PHONE_NUMBERVarchar2(20)TELEPHONE Destination: P2K_HR_ASSIGNMENT_DETAILS.PHONE_NUMBER Validation: Must be formatted in the correct format, for the country indicated by the physical location. Derivation: This phone number is derived from the phone number defined for the department.
PHONE_EXTENSIONVarchar2(16)VARCHAR16 Destination: P2K_HR_ASSIGNMENT_DETAILS.PHONE_EXTENSION. Derivation: This phone extension is derived from the phone extension defined for the department
EMAIL_ADDRESSVarchar2(50)EMAIL Destination: P2K_HR_EMPLOYMENT_DETAILS.EMAIL_ADDRESS Derivation: This e-mail address is derived from thee-mail address defined for the department
SERVICE_RATINGVarchar2(30)VARCHAR30 Destination: P2K_ HR_ASSIGNMENT_DETAILS.SERVICE_RATING. Validation: If provided, must be one of the fixed lexicon values from X_SERVICE_RATING
LEAVE_DATEDate()DATE Destination: P2K_HR_ASSIGNMENT_DETAILS.LEAVE_DATE
LEAVE_RETURN_DATEDate()DATE Destination: P2K_HR_ASSIGNMENT_DETAILS.LEAVE_RETURN_DATE
LEAVE_REASONVarchar2(30)VARCHAR30 Destination: P2K_ HR_ASSIGNMENT_DETAILS.LEAVE_REASON Validation: Must be either a valid lexicon code, or a valid lexicon description
PAY_STARTING_DATEDate()DATE
TRIGGER_RETROVarchar2(4)VARCHAR4
PROVIDE_PUBLIC_SERVICEVarchar2(4)VARCHAR4
PROVIDE_INTERNAL_SERVICEVarchar2(4)VARCHAR4
SUPERVISORYVarchar2(4)VARCHAR4
BURDEN_METHODVarchar2(30)VARCHAR30
BURDEN_PERCENTNumber(18)AMT12V6
LONG_TERM_ASSIGNMENTVarchar2(4)VARCHAR4
REQUIRES_TIME_SHEETVarchar2(4)VARCHAR4
JOB_PROFILE_CODEVarchar2(16)CODE
WORK_CALENDAR_CODEVarchar2(16)CODE
WEB_PAY_STUB_ONLYVarchar2(4)VARCHAR4
PREMIUM_CODEVarchar2(16)CODE Destination: P2K_SA_PREMIUM_USAGES.SPM_ID Validation: Must be a valid premium defined on P2K_SA_PREMIUMS, and may not have already been defined for this job, effective at the same time.
PREMIUM_RATE_BASISVarchar2(30)VARCHAR30 Destination: P2K_SA_PREMIUM_USAGES.PREMIUM_RATE_BASIS Validation: If provided, must be one of the fixed lexicon values from X_RATE_BASIS
PREMIUM_RATENumber(18)AMT12V6 Destination: P2K_SA_PREMIUM_USAGES.PREMIUM_RATE
SPLIT_SEQUENCENumber(5)NUMBER5 Destination: P2K_CM_DISTRIBUTIONS.SPLIT_SEQUENCE
DISTRIBUTION_CODEVarchar2(50)DISTRIBUTION Destination: P2K_CM_DISTRIBUTIONS.DISTRIBUTION_CODE Validation: The DISTRIBUTION_MASK is validated against the DISTRIBUTION_FORMAT specified for the GLCOMPANY that is associated with the ENTITY_CODE_SUB_DIVISION
SPLIT_RULEVarchar2(30)VARCHAR30 Destination: P2K_CM_DISTRIBUTIONS.SPLIT_RULE Validation: If provided, must be one of the fixed lexicon values from X_SPLIT_RULE
SPLIT_PERCENTNumber(5)PERCENT Destination: P2K_CM_DISTRIBUTIONS.SPLIT_PERCENT
SPLIT_AMOUNTNumber(18)AMT12V6 Destination: P2K_CM_DISTRIBUTIONS.SPLIT_AMOUNT
ADDITIONALVarchar2(4)VARCHAR4
START_DATEDate()DATE
END_DATEDate()DATE
GL_FUND_CODEVarchar2(16)CODE
USER_PERCENTNumber(5)PERCENT
USER_FIELD_VALUE_01Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_02Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_03Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_04Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_05Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_06Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_07Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_08Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_09Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_10Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_11Varchar2(2000)VARCHAR2000
USER_FIELD_VALUE_12Varchar2(2000)VARCHAR2000
CREATE_DATEDate()DATE
CREATE_USERVarchar2(30)VARCHAR30
CHANGE_DATEDate()DATE
CHANGE_USERVarchar2(30)VARCHAR30