RO_INTG_SCM_HDR

(SQL View)
Index Back

Integration SCM Header

This is a header record for Supply Chain Integration

SELECT A.CAPTURE_ID , A.BUSINESS_UNIT , %Substring(B.EXTERNAL_ID_1,1,5) , %Substring(B.EXTERNAL_ID_2 ,1,10) , A.STATUS_CODE , C.REALTIMESTATUSRULE , C.STATUS_CODE_HIGH , C.STATUS_CODE_LOW FROM %Table(RO_HEADER) A , %Table(RO_INTEGRATION) B , %Table(RO_TYPE) C WHERE A.CAPTURE_ID=B.CAPTURE_ID AND B.SOURCE_CD='SCM' AND B.CAPTURE_ID=B.UID20F AND B.RECNAME='RO_HEADER' AND C.SETID = ( SELECT S.SETID FROM PS_SET_CNTRL_REC S WHERE S.SETCNTRLVALUE=A.BUSINESS_UNIT AND S.RECNAME='RO_TYPE') AND A.CAPTURE_TYPE_CD=C.CAPTURE_TYPE_CD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CAPTURE_ID Character(20) VARCHAR2(20) NOT NULL Field use to store the capture ID in order capture.
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 BUSINESS_UNIT_OM Character(5) VARCHAR2(5) NOT NULL Order Management Business Unit
4 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
5 STATUS_CODE Number(5,0) INTEGER NOT NULL Status Code
6 REALTIMESTATUSRULE Character(4) VARCHAR2(4) NOT NULL Real-time Status Rule
NONE=Do Not Fire
RQST=Upon Request Only
STAT=Prior To Capture Status Only
STRQ=Capture Status and On Request
7 STATUS_CODE_HIGH Number(5,0) INTEGER NOT NULL Field used as drop down in capture type page
8 STATUS_CODE_LOW Number(5,0) INTEGER NOT NULL Field used as drop-down list in order capture types page.