FO_EMPL_ASGN

(SQL View)
Index Back

Staffing Emp Assignment

Staffing Front Office Employee Assignment

SELECT A.EMPLID , A.ASSIGNMENT_ID , A.BUSINESS_UNIT , A.SO_ID ,A.SO_LINE , C.SETID , B.CUST_ID , D.SETID , B.MANAGER_CONTACT_ID , JOBCODE , E.START_DT , A.END_ACTUAL_DATE , E.END_DT FROM %Table(RS_ASSIGNMENT) A , %Table(RS_SO_HDR ) B , %Table (FO_ASGN_DATE_VW) E , %Table(SET_CNTRL_REC) C , %Table(SET_CNTRL_REC ) D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SO_ID = B.SO_ID AND A.ASSIGNMENT_ID = E.ASSIGNMENT_ID AND A.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME ='CUSTOMER' AND A.BUSINESS_UNIT = D.SETCNTRLVALUE AND D.RECNAME ='CONTACT'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 ASSIGNMENT_ID Character(15) VARCHAR2(15) NOT NULL Work Assignment ID
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 SO_ID Character(15) VARCHAR2(15) NOT NULL Service Order ID
5 SO_LINE Number(3,0) SMALLINT NOT NULL Line Number
6 CUSTOMER_SETID Character(5) VARCHAR2(5) NOT NULL Customer SetID
7 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.
8 CONTACT_SETID Character(5) VARCHAR2(5) NOT NULL Contact SetID
9 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
10 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
11 START_DT Date(10) DATE Start Date
12 END_DT Date(10) DATE End Date
13 END_EST_DATE Date(10) DATE Estimated End Date