VMI_CUSTSLD2_VW

(SQL View)
Index Back

Valid values for Sold To Ids


SELECT O.BUSINESS_UNIT AS VMI_OM_BU , C.CUST_ID , C.NAME1 FROM PS_CUSTOMER C , PS_OM_BU_NONVW O , PS_SET_CNTRL_REC CN 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'

  • Related Language Record: VMI_CUSTSLD2LVW
  • # 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

    Prompt Table: OM_BU_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 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1