VMI_CUSTSHP2LVW

(SQL View)
Index Back

SELECT O.BUSINESS_UNIT , C.CUST_ID , A.LANGUAGE_CD , A.NAME1 FROM PS_CUSTOMER C , PS_CUST_SHIPTO_OPT S , PS_OM_BU_NONVW O , PS_SET_CNTRL_REC CN , PS_CUSTOMER_LANG A WHERE CN.SETCNTRLVALUE = O.BUSINESS_UNIT AND CN.RECNAME = 'CUSTOMER' AND CN.SETID = C.SETID AND C.SETID = S.SETID AND C.SETID = A.SETID AND C.CUST_ID = S.CUST_ID AND C.CUST_ID = A.CUST_ID AND C.CUST_STATUS = 'A' AND S.EFFDT = ( SELECT MAX(S_EFF.EFFDT) FROM PS_CUST_SHIPTO_OPT S_EFF WHERE S_EFF.SETID = S.SETID AND S_EFF.CUST_ID = S.CUST_ID AND S_EFF.EFFDT <= %CurrentDateIn) AND S.EFF_STATUS = 'A' AND S.VMI_CUST_FLG = 'Y'

  • Related Language Record for VMI_CUSTSHP2_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 VMI_OM_BU Character(5) VARCHAR2(5) NOT NULL OM Business Unit Related to VMI
    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 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1