IN_CUST_USG_VW(SQL View) |
Index Back |
---|---|
Summary of Customer Usage info |
SELECT A.PROCESS_INSTANCE , A.BUSINESS_UNIT , A.INV_ITEM_ID , A.START_DT , A.CUST_ID , A.ADDRESS_SEQ_NUM , A.LOCATION , A.BUSINESS_UNIT_GL , A.DEPTID , SUM(A.SHIP_QTY) , A.END_DT , A.LAST_UPDATE_DTTM FROM PS_IN_ITM_SHIP_DTL A GROUP BY A.PROCESS_INSTANCE , A.BUSINESS_UNIT , A.INV_ITEM_ID , A.START_DT , A.CUST_ID , A.ADDRESS_SEQ_NUM , A.LOCATION , A.BUSINESS_UNIT_GL , A.DEPTID , A.END_DT , A.LAST_UPDATE_DTTM |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
4 | START_DT | Date(10) | DATE | Start Date |
5 | 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. |
6 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
7 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
8 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
9 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
10 | SHIP_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Usage Quantity |
11 | END_DT | Date(10) | DATE | End Date |
12 | LAST_UPDATE_DTTM | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts. |