FO_CUST_N_ASN_V(SQL View) |
Index Back |
---|---|
Customer New Assignments |
SELECT C.SETID , B.CUST_ID , MIN(D.START_DT) FROM PS_RS_ASSIGNMENT A , PS_RS_SO_HDR B , PS_SET_CNTRL_REC C , PS_RS_ASSGN_DETAIL D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SO_ID = B.SO_ID AND A.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME = 'CUSTOMER' AND A.ASSIGNMENT_ID = D.ASSIGNMENT_ID AND D.START_DT = ( SELECT MIN(START_DT) FROM PS_RS_ASSGN_DETAIL DS WHERE D.ASSIGNMENT_ID = DS.ASSIGNMENT_ID) GROUP BY C.SETID, B.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 | START_DATE | Date(10) | DATE | Start Date for Gen Standing PO |