BC_SHIPTO_PROXY

(SQL View)
Index Back

BC Shipt to Proxy

BC Ship to Proxy

SELECT A.BO_ID_1 , A.BO_ID_2 , A.BO_REL_ID , B.SETID , B.CUST_ID , C.BO_NAME , CASE WHEN D.REL_TYPE_ID = 49 OR D.REL_TYPE_ID = 50 OR D.REL_TYPE_ID = 61 OR D.REL_TYPE_ID = 63 THEN 'Y' ELSE 'N' END FROM PS_BO_REL A , PS_BC B , PS_BO C , PS_BO_REL_CAT_ITEM D WHERE A.BO_ID_2 = B.BO_ID AND A.BO_ID_2 = C.BO_ID AND A.START_DT <= %CurrentDateIn AND A.END_DT > %CurrentDateIn AND A.REL_TYPE_ID = D.REL_TYPE_ID AND D.BO_REL_CATEGORY_ID = 6

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID_SOLD Number(31,0) DECIMAL(31) NOT NULL Sole To Business Object ID
2 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
3 BO_REL_ID Signed Number(32,0) DECIMAL(31) NOT NULL Relationship ID of a Business Object
4 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
5 CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer ID

Prompt Table: BC_CUST_SHIP_VW

6 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
7 PRIMARY_IND Character(1) VARCHAR2(1) NOT NULL Flag that indicates whether or not it is Primary
N=No
Y=Yes