RE_TENANT(SQL View) |
Index Back |
---|---|
Tenants |
SELECT DISTINCT CUST.SETID , CUST.CUST_ID , CUST.NAME1 FROM PS_CUSTOMER CUST , PS_CUST_OPTION OPT WHERE %Join(COMMON_KEYS, CUSTOMER CUST, CUST_OPTION OPT) AND CUST.CUST_STATUS = 'A' AND CUST.BILL_TO_FLG = 'Y' AND CUST.CUST_LEVEL <> 'P' AND OPT.INTERUNIT_FLG = 'N' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | PRINCIPAL_ID | Character(15) | VARCHAR2(15) NOT NULL | Lessee ID |
3 | PRINCIPAL_NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Used to hold Tenant/Landlord name when switching between VENDOR and CUSTOMER data |