SPA_GEN_ACT_VW

(SQL View)
Index Back

Work Order Activity Record

Work Order Activity Record

SELECT W.BUSINESS_UNIT , W.WORK_ORDER_ID , T.ACTIVITY_ID , A.DESCR , T.SPA_BILLING_ACTION FROM PS_SPF_WORDERREC W , PS_FS_ACTIVITY_TBL A , PS_SET_CNTRL_GROUP S , PS_SP_ACTIVITY_TYP T WHERE S.SETCNTRLVALUE = W.BUSINESS_UNIT AND S.REC_GROUP_ID = 'FS_43' AND S.SETID = A.SETID AND T.SETID = A.SETID AND T.ACTIVITY_ID = A.ACTIVITY_ID AND T.SP_ACTIVITY_SUBTYP = 'G' AND T.SERVICE_METHOD = 'R' AND T.STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 WORK_ORDER_ID Character(15) VARCHAR2(15) NOT NULL Work Order ID
3 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

Prompt Table: SPB_ACT_BY_SVTY
Set Control Field: BUSINESS_UNIT

4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
5 SPA_BILLING_ACTION Character(1) VARCHAR2(1) NOT NULL Billing Action
B=Billable
U=Nonbillable