RS_SO_INQ_VW

(SQL View)
Index Back

SELECT A.BUSINESS_UNIT , A.SO_ID , C.SO_STATUS , A.ENTERED_BY , A.ASSIGNED_TO , A.PROJECT_ID , A.DESCR60 FROM %Table(RS_SO_HDR) A , %Table(RS_SO_STATUS) C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.SO_ID = C.SO_ID AND C.LASTUPDDTTM = ( SELECT MAX(CC.LASTUPDDTTM) FROM PS_RS_SO_STATUS CC WHERE C.BUSINESS_UNIT = CC.BUSINESS_UNIT AND C.SO_ID = CC.SO_ID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

Prompt Table: SP_BU_PC_NONVW

2 SO_ID Character(15) VARCHAR2(15) NOT NULL Service Order ID

Default Value: NEXT

3 SO_STATUS Character(1) VARCHAR2(1) NOT NULL Service Order Status
C=Closed
D=Draft
I=In Process
N=New
O=Open
X=Canceled
4 ENTERED_BY Character(30) VARCHAR2(30) NOT NULL Entered by

Prompt Table: OPRID_VW

5 ASSIGNED_TO Character(30) VARCHAR2(30) NOT NULL Assigned To

Prompt Table: RS_OPR_NAME_VW

6 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: SP_PROJ_NONVW

7 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description