SP_BUOMIN_CLSVW(SQL View) |
Index Back |
---|---|
PS/OM/IN Business UnitsView of OM and IN BUs for RMAs |
SELECT B.OPRCLASS , A.BUSINESS_UNIT , A.DESCR FROM PS_BUS_UNIT_TBL_FS A , PS_SEC_BU_CLS B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND(EXISTS ( SELECT 'X' FROM PS_BUS_UNIT_TBL_OM O WHERE O.BUSINESS_UNIT = A.BUSINESS_UNIT AND O.BU_STATUS_OM = 'A' AND O.RMA_ADJ_BI_SRC <> 'N') OR EXISTS ( SELECT 'X' FROM PS_BUS_UNIT_TBL_IN I WHERE I.BUSINESS_UNIT = A.BUSINESS_UNIT AND I.BU_STATUS = '1') ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRCLASS | Character(30) | VARCHAR2(30) NOT NULL | Operator Class |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |