FO_ASGN_SRC_VW2

(SQL View)
Index Back

Assignment Add Key


SELECT O.OWNERSHIP_ID ,A.ASSIGNMENT_ID ,A.BUSINESS_UNIT ,A.SO_ID ,A.SO_LINE ,O.USER_ORDER_TYPE ,A.CANDIDATE_TYPE ,A.EMPLID ,A.NAME ,A.CUST_ID ,C.NAME1 ,0 FROM PS_RS_ASSIGNMENT A , PS_RS_SO_HDR O , PS_CUSTOMER C , PS_SET_CNTRL_REC E WHERE A.BUSINESS_UNIT = O.BUSINESS_UNIT AND A.SO_ID = O.SO_ID AND A.SYSTEM_SOURCE = 'STF' AND A.CUST_ID = C.CUST_ID AND A.BUSINESS_UNIT = E.SETCNTRLVALUE AND C.SETID = E.SETID AND E.RECNAME = 'CUSTOMER'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OWNERSHIP_ID Character(30) VARCHAR2(30) NOT NULL Owning Organization

Default Value: OPR_DEF_TBL_FO.FO_BRANCH

Prompt Table: FO_BRANCH_TBL

2 ASSIGNMENT_ID Character(15) VARCHAR2(15) NOT NULL Work Assignment ID
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_PC_NONVW

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

Prompt Table: FO_ORD_SRCH_VW3

5 SO_LINE Number(3,0) SMALLINT NOT NULL Line Number

Prompt Table: FO_ASSGN_OSL_VW

6 USER_ORDER_TYPE Character(5) VARCHAR2(5) NOT NULL User Order Type

Prompt Table: FO_ORDER_TYPE

7 CANDIDATE_TYPE Character(1) VARCHAR2(1) NOT NULL Candidate Type
A=Applicant
E=Employee
8 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: FO_CANDIDATE_VW

9 NAME Character(50) VARCHAR2(50) NOT NULL Name
10 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
11 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
12 MATCH_LINE_NBR Number(4,0) SMALLINT NOT NULL Match Line Number