INVOICE_DT_VW(SQL View) |
Index Back |
---|---|
Customer Invoice Date View |
SELECT C.SETID ,I.CUST_ID ,MIN(I.ASOF_DT) FROM PS_ITEM I ,PS_CUSTOMER C WHERE C.CUST_ID=I.CUST_ID AND C.SETID=( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = I.BUSINESS_UNIT AND RECNAME = 'CUSTOMER') AND C.CUST_STATUS='A' AND I.ENTRY_USE_ID='IT-01' GROUP BY C.SETID,I.CUST_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | 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. |
3 | ASOF_DT | Date(10) | DATE | As of Date |