VMI_CUSTSLD2LVW

(SQL View)
Index Back

SELECT O.BUSINESS_UNIT AS VMI_OM_BU , C.CUST_ID , A.LANGUAGE_CD , A.NAME1 FROM PS_CUSTOMER C , 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 SOLD_TO_FLG = 'Y' AND C.CUST_STATUS = 'A' AND C.SETID = A.SETID

  • Related Language Record for VMI_CUSTSLD2_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