SPA_EXP_MAP_VW(SQL View) |
Index Back |
---|---|
SP EXP MAP Approval View04/01/2015 LEWEN sPro expense MAP approval supports. |
SELECT H.SHEET_ID ,H.PERSON_ID ,H.OPRID_ENTERED_BY , H.EXP_HDR_STATUS , H.BUSINESS_UNIT_GL , H.SETID , H.BUSINESS_PURPOSE , H.CREATION_DT , H.COMMENTS , F.WORK_ORDER_ID , W.WO_NAME , W.CURRENCY_CD , W.SP_EXP_REPORT_OPT , W.VENDOR_ID , V.NAME1 , F.DISTRIB_LINE_NUM , F.BUSINESS_UNIT ,%DatePart(U.DTTM_CREATED) , U.OPRID , U.EOAWORIG_OPRID , U.EOAWDTTM_COMPLETE , S.EOAWTHREAD_ID , S.EOAWSTEP_STATUS , S.EOAWPRCS_ID , S.EOAWDEFN_ID , S.EFFDT , S.EOAWSTEP_NBR , X.ORIGINATORID , X.EOAWREQUESTOR_ID , X.EOAWTHREAD_STATUS , X.EOAWDTTM_MODIFIED , U.DTTM_CREATED , '2' FROM PS_SPA_EX_APR_XREF X ,PS_SPA_SHEET_HDR h , PS_EOAW_STEPINST S , PS_EOAW_USERINST U , PS_SPA_EXP_XREF F , PS_SPF_WORDERREC W ,PS_SET_CNTRL_GROUP C ,PS_VENDOR V WHERE X.SHEET_ID = H.SHEET_ID AND X.EOAWTHREAD_ID = S.EOAWTHREAD_ID AND X.EOAWPRCS_ID = S.EOAWPRCS_ID AND X.EOAWDEFN_ID = S.EOAWDEFN_ID AND S.EOAWSTEP_INSTANCE = U.EOAWSTEP_INSTANCE AND H.SHEET_ID = F.SHEET_ID AND F.BUSINESS_UNIT = W.BUSINESS_UNIT AND F.WORK_ORDER_ID = W.WORK_ORDER_ID AND W.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.REC_GROUP_ID = 'FS_38' AND C.SETID=V.SETID AND W.VENDOR_ID=V.VENDOR_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SHEET_ID | Character(10) | VARCHAR2(10) NOT NULL | Report ID |
2 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
3 | OPRID_ENTERED_BY | Character(30) | VARCHAR2(30) NOT NULL | Entered By 07/25/2011 MRAD 12383033 :Ensured that OPRID_ENTERED_BY is set with format type of MixedCase. 03/22/2013 GL 16482301: Switched OPRID_ENTERED_BY back to MixedCase again. Please don't change it to UpperCase!!! FYI - The alternatives to use a User ID as uppercase: 1) Create your own User ID, add comments in the Field Properties, and fill out the Owner ID 2) Use %Upper meta-SQL in SQL statements 3) Use Upper function in peoplecodes |
4 | EXP_HDR_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
Expense Header Status
ADJ=Adjusted APY=Approved for Payment APZ=Approved for zero Payment DEN=Denied DNA=Denied by Approver DNU=Denied by Auditor OPN=Open PD=Paid PND=Pending RAP=Approved SUB=Submitted |
5 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
6 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
7 | BUSINESS_PURPOSE | Character(5) | VARCHAR2(5) NOT NULL | Business Purpose |
8 | CREATION_DT | Date(10) | DATE | Creation Date |
9 | COMMENTS | Long Character | CLOB | Comment |
10 | WORK_ORDER_ID | Character(15) | VARCHAR2(15) NOT NULL | Work Order ID |
11 | WO_NAME | Character(30) | VARCHAR2(30) NOT NULL | Work Order Name |
12 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
13 | SP_EXP_REPORT_OPT | Character(1) | VARCHAR2(1) NOT NULL |
Expense Reporting Option
A=Actual Allocation D=Default from Business Unit P=Percent Allocation |
14 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
15 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
16 | DISTRIB_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Distribution Line |
17 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
18 | EOAWSTART_DT | Date(10) | DATE | Start Date |
19 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
20 | EOAWORIG_OPRID | Character(30) | VARCHAR2(30) NOT NULL | User ID |
21 | EOAWDTTM_COMPLETE | DateTime(26) | TIMESTAMP | Date/Time Completed |
22 | EOAWTHREAD_ID | Number(15,0) | DECIMAL(15) NOT NULL | Approval Framework Thread ID |
23 | EOAWSTEP_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Step Instance Status
A=Approved B=Pushed back C=Auto Approved D=Denied E=Administrator denied F=Deleted G=Bypassed H=On Hold I=No Action Taken K=Skipped L=Terminated M=Administrator approved N=Not Active P=Pending R=No longer in role T=Terminated U=Auto approved X=Deleted Z=Pending Denial |
24 | EOAWPRCS_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Process ID |
25 | EOAWDEFN_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Framework Definition ID |
26 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
27 | EOAWSTEP_NBR | Number(6,2) | DECIMAL(5,2) NOT NULL | Sequence number of step in its path |
28 | ORIGINATORID | Character(30) | VARCHAR2(30) NOT NULL | Originator Identifier |
29 | EOAWREQUESTOR_ID | Character(30) | VARCHAR2(30) NOT NULL | Requestor id |
30 | EOAWTHREAD_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Thread Status
A=Approved C=Complete D=Denied E=Pending Denial H=Hard Deny I=Initial N=Not Active P=Pending S=Awaiting Further Approvals T=Terminated W=Canceled X=Suspended/Pending Denial |
31 | EOAWDTTM_MODIFIED | DateTime(26) | TIMESTAMP | Datetime modified |
32 | DTTM_CREATED | DateTime(26) | TIMESTAMP | Datetime Created |
33 | PRIORITY_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Priority Flag
1=High 2=Medium 3=Low |