IN_CUST_SHPD_VW

(SQL View)
Index Back

Ship To Customer View


SELECT A.SETID ,A.CUST_ID ,A.SHIP_TO_CUST_ID ,A.SLDTO_PRIORITY_NBR ,B.NAME1 ,B.NAME2 ,B.ADDRESS_SEQ_SHIP ,B.CNTCT_SEQ_SHIP ,C.COUNTRY FROM PS_CUST_SHIPTO A , PS_CUSTOMER B , PS_CUST_ADDRESS C WHERE %Join(COMMON_KEYS, CUST_SHIPTO A, CUSTOMER B) AND %Join(COMMON_KEYS, CUSTOMER B, CUST_ADDRESS C) AND B.CUST_STATUS = 'A' AND C.ADDRESS_SEQ_NUM=B.ADDRESS_SEQ_SHIP AND %EffdtCheck(CUST_ADDRESS C2,C,%CurrentDateIn) AND C.EFF_STATUS='A'

  • Related Language Record: IN_CUST_S_LG_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 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.
    3 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
    4 SLDTO_PRIORITY_NBR Number(4,0) SMALLINT NOT NULL Sold To Priority
    5 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    6 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2
    7 ADDRESS_SEQ_SHIP Number(5,0) INTEGER NOT NULL Primary Address - Ship To
    8 CNTCT_SEQ_SHIP Number(5,0) INTEGER NOT NULL Primary Contact - Ship To
    9 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country