PJT_PRJ_ENT_RES_INTERFACE
This is an iterface table for PJT Project Enterprise Resource.
Details
-
Schema: FUSION
-
Object owner: PJT
-
Object type: TABLE
-
Tablespace: INTERFACE
Primary Key
| Name | Columns |
|---|---|
|
PJT_PRJ_ENT_RES_INTERFACE_PK |
RESOURCE_INTERFACE_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| RESOURCE_INTERFACE_ID | NUMBER | 18 | Yes | System-generated unique resource interface ID | |
| POOL_START_DATE | DATE | Date from which a project resource pool assignment is active. | |||
| RESOURCE_ID | NUMBER | 18 | Identifier of the resource | ||
| RESOURCE_TYPE | VARCHAR2 | 30 | Resource types map to seeded PJF_RES_TYPES_B (18 seeded in v1), "NAMED_PERSON", "EXPENDITURE_TYPE". | ||
| 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 | ||
| 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 | ||
| UNIT_OF_MEASURE | VARCHAR2 | 30 | used for local expenditure or local person | ||
| CURRENCY_CODE | VARCHAR2 | 15 | currency code for USER_DEFINED resources | ||
| RATE | NUMBER | 22 | 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 | ||
| 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. | ||
| 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_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| PHONE | VARCHAR2 | 240 | Phone number for USER_DEFINED person | ||
| EXPENDITURE_AMOUNT | NUMBER | This is planned for Future Iterations | |||
| 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. | |
| 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 | ||
| 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 | ||
| BILL_RATE | NUMBER | Bill rate associated with the resource | |||
| BILL_RATE_CURRENCY_CODE | VARCHAR2 | 15 | Bill rate currency code for USER_DEFINED person | ||
| COST_RATE | NUMBER | Cost rate associated with the resource | |||
| COST_RATE_CURRENCY_CODE | VARCHAR2 | 15 | Cost rate currency code for USER_DEFINED person | ||
| FIRST_NAME | VARCHAR2 | 150 | First Name of USER_DEFINED person | ||
| DESCRIPTION | VARCHAR2 | 200 | Description of the resource | ||
| EXTERNAL_ID | VARCHAR2 | 240 | EXTERNAL_ID VARCHAR2(240) Unique identifier of the resource in the external application. | ||
| LAST_NAME | VARCHAR2 | 150 | Last name of USER_DEFINED person | ||
| DISPLAY_NAME | VARCHAR2 | 240 | Display name of the resource | ||
| VARCHAR2 | 240 | Email for USER_DEFINED person | |||
| RESOURCE_CLASS | VARCHAR2 | 30 | Resource class: person or expense: (Labor, Material, People, Expenses) | ||
| PROJECT_NAME | VARCHAR2 | 240 | Name uniquely identifies a Project | ||
| SCHEDULE_NAME | VARCHAR2 | 240 | Name uniquely identifies a Schedule | ||
| PROJECT_ROLE_NAME | VARCHAR2 | 240 | Name of a project role | ||
| MGR_DISPLAY_NAME | VARCHAR2 | 240 | Display Name of the manager associated with a resource | ||
| MGR_EMAIL | VARCHAR2 | 240 | Email ID of the manager associated with the resource | ||
| MGR_RESOURCE_CLASS | VARCHAR2 | 30 | Resources class (Labor, Material, People, Expenses) of the manager associated with the resource | ||
| POOL_ID | NUMBER | 18 | Identifier of the project resource pool to which a resource is assigned | ||
| POOL_NAME | VARCHAR2 | 240 | Name of a project resource pool | ||
| LOAD_REQUEST_ID | NUMBER | 18 | Constant token for each insertion into the interface table | ||
| REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
| STATUS | VARCHAR2 | 20 | Processing status of the resource record | ||
| ENTERPRISE_ID | NUMBER | 18 | Enterprise identifier that uniquely identifies a tenant in a multi-tenant environment | ||
| PERSON_EMAIL | VARCHAR2 | 240 | Email of the person associated with the resource | ||
| PERSON_EFFECTIVE_START_DATE | DATE | Start Date of the person associated with the resource | |||
| XFACE_FILE_PROCESS_ID | NUMBER | 18 | Interface table load request ID column - the request ID of the ESS job that populated the interface table from a file. | ||
| XFACE_LAST_PROCESS_ID | NUMBER | 18 | DB table load request ID column - the request ID of ESS job that populated DB from an interface table. | ||
| XFACE_LAST_STATUS_CODE | VARCHAR2 | 20 | Interface-to-DB load status code - 'PROCESSING', 'SUCCESS', 'ERROR'. | ||
| XFACE_ELEMENT_ID | NUMBER | 18 | Element ID column - unique ID of each interface table row, used as a FK to Messages table. | ||
| CREATE_FROM_HCM_FLAG | VARCHAR2 | 1 | Y/N. Y indicates that a person resource is to be created from HCM. | ||
| CREATE_FROM_EXP_TYPE_FLAG | VARCHAR2 | 1 | Y/N. Y indicates that a expense resource is to be created from expenditure type. | ||
| IMAGE | BLOB | IMAGE OF THE PROJECT ENTERPRISE RESOURCE |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| PJT_PRJ_ENT_RES_INTERFACE_N1 | Non Unique | Default | LOAD_REQUEST_ID, REQUEST_ID, STATUS |
| PJT_PRJ_ENT_RES_INTERFACE_U1 | Unique | Default | RESOURCE_INTERFACE_ID |