OMBCK_CSTBLL_VW

(SQL View)
Index Back

OM Customer Bill-To VW

OM Customer Bill-To VW

select b1.setid, b1.cust_id, b1.bill_to_cust_id from PS_CUST_BILLTO b1 where b1.sldto_priority_nbr = (select min(b2.sldto_priority_nbr) from PS_CUST_BILLTO b2 where b2.setid = b1.setid and b2.cust_id = b1.cust_id and b2.sldto_priority_nbr > 0)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
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 BILL_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer