WCS_PERS_NM_LV(SQL View) |
Index Back |
---|---|
Approval Person Name LngRelated Language view used in fluid compensation approvals to display person name. |
SELECT HDR.BUDGET_ID , HDR.BUDGET_START_DT , HDR.TREE_NODE_NUM , A.LANGUAGE_CD , A.EMPLID , A.NAME_DISPLAY , A.NAME_DISPLAY_SRCH , A.NAME FROM PS_WCS_AWE_NOD_HDR HDR , PSOPRDEFN OPR , PS_NAMES_LNG A WHERE HDR.ORIGINATORID = OPR.OPRID AND OPR.EMPLID = A.EMPLID AND A.NAME_TYPE = 'PRI' AND A.EFFDT = ( SELECT MAX(AA.EFFDT) FROM PS_NAMES_LNG AA WHERE AA.EMPLID = A.EMPLID AND AA.NAME_TYPE = A.NAME_TYPE AND AA.EFFDT <= %CurrentDateIn ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUDGET_ID | Character(10) | VARCHAR2(10) NOT NULL | Budget ID |
2 | BUDGET_START_DT | Date(10) | DATE NOT NULL | Budget Start Date |
3 | TREE_NODE_NUM | Number(10,0) | DECIMAL(10) NOT NULL | Internal beginning node range number |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
6 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
7 | NAME_DISPLAY_SRCH | Character(50) | VARCHAR2(50) NOT NULL | Uppercase version of Name to improve performance on searches. |
8 | NAME_PSFORMAT | Character(50) | VARCHAR2(50) NOT NULL | A Person's name in the Peoplesoft Format (basically LN,FN MI |