RS_XS_CUST_ID(SQL View) |
Index Back |
---|---|
PTSF Staffing CustomersThis view selects customers that have been added or changed since the last time the index was updated. |
SELECT A.SETID , A.CUST_ID , %TrimSubstr(A.SETID, 1, 5) %Concat '' %Concat %TrimSubstr(A.CUST_ID, 1, 15) AS SOID , %Coalesce(%Coalesce(L.DTTM_MODIFIED, A.LASTUPDDTTM), %DATETIMEIN('1900-01-01 00.00.00.000000')) AS LASTUPDDTTM FROM %Table(CUSTOMER) A LEFT OUTER JOIN PS_RS_SRCH_LOG L ON L.DOCUMENT = %TrimSubstr(A.SETID, 1, 5) %Concat '' %Concat %TrimSubstr(A.CUST_ID, 1, 15) |
# | 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 | SOID | Character(29) | VARCHAR2(29) NOT NULL | Service Order Line Key |
4 | LASTUPDDTTM | 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. |