This is another quick SQL snippet that I find useful. When would you use it?
Well, you forgot a certain record name, but you know that the record has EMPLID, NAME, EMPL_REC fields on it.
You can query the database to find out what records have the fields you are looking for.
| Title | Under | Posted on |
|---|---|---|
| Inserting records | PeopleSoft Technical | 07/28/2010 - 11:03am |
| WEBLIB_PT_NAV.ISCRIPT1.FieldFormula.IScript_PT_NAV_PAGELET error... | PeopleSoft Technical | 07/27/2010 - 2:02pm |
| Basic language | PeopleSoft Technical | 07/27/2010 - 7:12am |
| Rowlevel security from app designer | PeopleSoft Technical | 07/27/2010 - 5:15am |
Comments
Here is a similar sql but I use it for different puporse. I use this to find out the record mappings of a field while designing the application.
To find the list of records that has specific field in that record. Useful in finding out mappings.
SELECT A.RECNAME, A.FIELDNAME, B.DESCRLONG AS RECORDDESCRIPTION
FROM PSRECFIELD A, PSRECDEFN B
WHERE A.FIELDNAME IN( 'FIELD_NAME' ,'FIELD_NAME' , 'FIELD_NAME' )
AND A.RECNAME = B.RECNAME
AND A.RECNAME NOT LIKE '%WRK%'
AND A.RECNAME LIKE 'TL%'
AND A.RECNAME NOT LIKE '%TAO'
AND A.RECNAME NOT LIKE '%TMP'
AND A.RECNAME NOT LIKE '%SRCH'
AND A.RECNAME NOT LIKE '%SBR'
Post new comment