SP_BUCSIT_NONVW(SQL View) |
Index Back |
---|---|
Active BU's for a customer |
SELECT I.CUST_ID, B.BUSINESS_UNIT, B.DESCR, COUNT(*) FROM PS_ITEM I, PS_BUS_UNIT_TBL_FS B WHERE I.BUSINESS_UNIT = B.BUSINESS_UNIT AND I.ITEM_STATUS = 'O' GROUP BY I.CUST_ID, B.BUSINESS_UNIT, B.DESCR |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | 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. |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUARED_NONVW |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | ITEMCOUNT | Number(4,0) | SMALLINT NOT NULL | Item Count |