PJT_PRJ_ENTERPRISE_RESOURCE_B
Stores a record for each PJT Enterprise Resource.
Details
-
Schema: FUSION
-
Object owner: PJT
-
Object type: TABLE
-
Tablespace: REFERENCE
Primary Key
| Name | Columns |
|---|---|
|
PJT_PRJ_ENTERPRISE_RES_B_PK |
RESOURCE_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| RESOURCE_ID | NUMBER | 18 | Yes | System-generated unique resource ID | |
| IS_SEEDED | VARCHAR2 | 1 | This column denotes whether the role is seeded (Oracle Defined) or not. 'Y' = Seeded. 'N' = Not Seeded. | ||
| PRJ_CNT_WKR_FLAG | VARCHAR2 | 1 | This column denotes whether the resource is created in PER or is a HCM resource. | ||
| RESOURCE_CLASS | VARCHAR2 | 30 | Resource class: person or expense: PEOPLE or FINANCIAL_ELEMENTS as seeded in PJF_RESOURCE_CLASSES_B (Labor, Material, People, Expenses) | ||
| RESOURCE_TYPE | VARCHAR2 | 30 | Resource types map to seeded PJF_RES_TYPES_B (18 seeded in v1), "NAMED_PERSON", "EXPENDITURE_TYPE". | ||
| RESOURCE_SCOPE | VARCHAR2 | 30 | CROSS_PROJECT or PROJECT_LOCAL. For ERP defined resource it's always CROSS_PROJECT. For USER_DEFINED it could be either CROSS_PROJECT or PROJECT_LOCAL | ||
| RES_MGMT_FLAG | VARCHAR2 | 1 | Y/N. Y indicates that a person resource is eligible for use in resource management -- for example, search for resources to fill a project resource request can return these resources and the resource manager can assign them to projects | ||
| PROJECT_ID | NUMBER | 18 | PROJECT_ID only applicable when RESOURCE_SCOPE is PROJECT_LOCAL | ||
| SCHEDULE_ID | NUMBER | 18 | Calendar ID for USER_DEFINED resources and FK to ZMM Schedules table | ||
| UNIT_OF_MEASURE | VARCHAR2 | 30 | used for local expenditure or local person | ||
| CURRENCY_CODE | VARCHAR2 | 15 | currency code for USER_DEFINED resources | ||
| RATE | NUMBER | Rate for USER_DEFINED resources | |||
| PROJECT_ROLE_ID | NUMBER | 18 | FK to project role table | ||
| START_DATE_ACTIVE | DATE | Date when resource becomes active | |||
| END_DATE_ACTIVE | DATE | Date when resource becomes inactive | |||
| PERSON_ID | NUMBER | 18 | FK to NAMED_PERSON type of resource defined in ERP | ||
| PARTY_ID | NUMBER | 18 | FK to NAMED_PERSON type of resource defined in HR | ||
| EXPENDITURE_TYPE_ID | NUMBER | 18 | This is planned for Future Iterations | ||
| EXPENDITURE_AMOUNT | NUMBER | This is planned for Future Iterations | |||
| VARCHAR2 | 240 | Email for USER_DEFINED person | |||
| PHONE | VARCHAR2 | 240 | Phone number for USER_DEFINED person | ||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| RESOURCE_MANAGER_ID | NUMBER | 18 | PJT_PRJ_ENTERPRISE_RESOURCE_B.RESOURCE_ID of the manager for a USER_DEFINED resource of type PEOPLE | ||
| USER_DEFINED_FLAG | VARCHAR2 | 1 | Y when this person type resource is "USER_DEFINED", that is, this paerson type resource does not exist in HR | ||
| COST_RATE | NUMBER | Cost rate associated with the resource | |||
| BILL_RATE | NUMBER | Bill rate associated with the resource | |||
| ENTERPRISE_ID | NUMBER | 18 | Yes | Enterprise identifier that uniquely identifies a tenant in a multi-tenant environment | |
| COST_RATE_CURRENCY_CODE | VARCHAR2 | 15 | Cost rate currency code for USER_DEFINED person | ||
| BILL_RATE_CURRENCY_CODE | VARCHAR2 | 15 | Bill rate currency code for USER_DEFINED person | ||
| EXTERNAL_ID | VARCHAR2 | 240 | External system identifier of the resource | ||
| FIRST_NAME | VARCHAR2 | 150 | First Name of USER_DEFINED person | ||
| LAST_NAME | VARCHAR2 | 150 | Last name of USER_DEFINED person | ||
| DATA_SOURCE | VARCHAR2 | 20 | Name of the external system from which the data is being imported. | ||
| RESUME_CONTENT | CLOB | Content of the Latest Resume attached to the Resource. | |||
| RESUME_LATEST_VERSION | NUMBER | 18 | Version Number for the Latest Resume attached to the Resource. | ||
| SEED_DATA_SOURCE | VARCHAR2 | 512 | Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file. | ||
| ORA_SEED_SET1 | VARCHAR2 | 1 | Yes | Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N. | |
| ORA_SEED_SET2 | VARCHAR2 | 1 | Yes | Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| PJT_PRJ_ENTERPRISE_RESOURCE_B | pjt_prj_enterprise_resource_b | RESOURCE_MANAGER_ID |
| pjt_prj_ent_resource_images | pjt_prj_enterprise_resource_b | RESOURCE_ID |
| pjt_gate_approvers_b | pjt_prj_enterprise_resource_b | APPROVAL_RESOURCE_ID |
| pjt_requirements_b | pjt_prj_enterprise_resource_b | OWNER_ID |
| pjt_requirements_b | pjt_prj_enterprise_resource_b | SCRUM_MASTER_ID |
| pjf_eps_node_members | pjt_prj_enterprise_resource_b | PJT_RESOURCE_ID |
| pjt_proj_plan_lines | pjt_prj_enterprise_resource_b | RESOURCE_ID |
| pjt_rqmt_hierarchy_b | pjt_prj_enterprise_resource_b | OWNER_ID |
| pjt_prj_enterprise_resource_tl | pjt_prj_enterprise_resource_b | RESOURCE_ID |
| pjt_project_resource | pjt_prj_enterprise_resource_b | RESOURCE_ID |
| pjt_plan_versions | pjt_prj_enterprise_resource_b | PUBLISHED_BY_PERSON_ID |
| pjt_prj_enterprise_resource_b | pjt_prj_enterprise_resource_b | RESOURCE_MANAGER_ID |
| pjt_proj_plan_lines_h | pjt_prj_enterprise_resource_b | RESOURCE_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| PJT_PRJ_ENETRPRISE_RES_B_U1 | Unique | Default | RESOURCE_ID, ORA_SEED_SET1 |
| PJT_PRJ_ENETRPRISE_RES_B_U11 | Unique | Default | RESOURCE_ID, ORA_SEED_SET2 |
| PJT_PRJ_ENTERPRISE_RES_B_N1 | Non Unique | Default | PERSON_ID, PROJECT_ROLE_ID |
| PJT_PRJ_ENTERPRISE_RES_B_N3 | Non Unique | Default | UPPER("EMAIL") |
| PJT_PRJ_ENT_RES_B_N2 | Non Unique | Default | RESUME_CONTENT |