USF_CST_CNTL_VW(SQL View) |
Index Back |
---|---|
USF Cust Master Info |
SELECT X.CUSTOMER_SETID , X.CUST_ID , X.USF_UEID , X.USF_EFT_IND , X.DUNS_NUMBER , X.USF_DODAAC ,X.USF_DUNS_PLUS4 FROM PS_USF_VNDR_HDR H , PS_USF_CUST_XREF X WHERE %Join(COMMON_KEYS, USF_VNDR_HDR H, USF_CUST_XREF X) AND H.USF_AGENCY_BUS_PUR IN ('1','3') AND H.OM_COMPLETE = 'N' AND X.CUST_OBJ_TYPE = 'CUST' AND X.STATUS = 'A' UNION SELECT X.CUSTOMER_SETID , X.CUST_ID , X.USF_UEID , X.USF_EFT_IND , X.DUNS_NUMBER , X.USF_DODAAC ,X.USF_DUNS_PLUS4 FROM PS_USF_VNDR_HDR H , PS_USF_CUST_XREF X WHERE %Join(COMMON_KEYS, USF_VNDR_HDR H, USF_CUST_XREF X) AND H.USF_AGENCY_BUS_PUR IN ('1','3') AND H.OM_COMPLETE = 'Y' AND X.CUST_OBJ_TYPE = 'CUST' AND X.STATUS = 'A' AND EXISTS ( SELECT 'X' FROM PS_INSTALLATION_AR WHERE AR_IPAC = 'Y') AND EXISTS ( SELECT 'X' FROM PS_CUSTOMER C WHERE C.SETID = X.CUSTOMER_SETID AND C.CUST_ID = X.CUST_ID AND C.IPAC_INTERFACE <> 'Y' ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | SetID | |
2 | 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 | Character(12) | VARCHAR2(12) NOT NULL | Unique Entity Identifier | |
4 | Character(4) | VARCHAR2(4) NOT NULL | Entity EFT Indicator | |
5 | DUNS_NUMBER | Character(9) | VARCHAR2(9) NOT NULL | DUNS Number |
6 | USF_DODAAC | Character(9) | VARCHAR2(9) NOT NULL | Department of Defense Activity Address Code |
7 | USF_DUNS_PLUS4 | Character(4) | VARCHAR2(4) NOT NULL | DUNS Suffix |