Code to know whether the Scheduled App Engine ran to success or not
If &MYRQST.Status = 0 Then /* if Schedule status is success */&LOOP = 0; While &LOOP = 0 SQLExec("SELECT A.DISTSTATUS, A.RUNSTATUSDESCR FROM PS_PMN_PRCSLIST A WHERE A.PRCSNAME = :1 AND...
View ArticleCode to hide translate values dynamically
Write the code in RowInit: Local Rowset &Xlat;&FLD = GetRecord(Record.PY_IC_WRK1).GetField(Field.ACCOUNT_TYPE_DD);&FLD.ClearDropDownList();&Xlat =...
View ArticleCode useful to open a file
Write the code in PeopleCode Action:&FileName = ;&ret = GetAttachment("RECORD://CSGC_CSHT_ATACH", &FileName, "/" | &FileName, "PS_SERVDIR", True);&PS_SERVDIR =...
View ArticleCode useful to view a file
SQLExec(SQL.CSGC_DB_NAME, &NAME); SQLExec("SELECT URL FROM %Table(:2) WHERE DISTNODENAME=:1", &NAME, Record.CDM_DIST_NODE, &URL);&PRCSOUTPUTDIR = &URL | "/CSGC_CSHEET1.pdf";...
View ArticleCode would useful to create a .txt file thru App Engine
Write the code in PeopleCode Action: Local File &MYFILE;&PS_SERVDIR = (GetEnv("PS_SERVDIR")) | "/";&FPath = &PS_SERVDIR | "file.txt";&MYFILE = GetFile(&FPath, "W",...
View ArticleCode to get the record and count from the data base
Step:1 PeopleCode: Local File &MYFILE; Local string &str_cnt; Local string &FPath;&str_cnt = "Record Name" | Char(9) | "Count";&FPath =...
View ArticleMessage cannot be changed. Message referenced in runtime tables (Doc ID...
Applies to PeopleSoft Enterprise PT PeopleTools - Version 8.4 and later Information in this document applies to any platform. SPECIFIC TO:Enterprise, Peopletools, PT8.48+This document was previously...
View ArticleHow to resubmit on Integration Broker message with DONE status
Go To subscription node in PeopleTools >> Integration Broker >> Monitor Integrations >> Sub Contracts and get teh the PUBID of the message in DONE statusFor PT 8.47 and lower run the...
View ArticleIntegration Broker
PeopleSoft Integration Broker related articles, setups, tips and tricks.
View ArticleContribute!
Do you find yourself with few minutes to spare, and a desire to help other CompShackers?Submit a tip, code or an SQL snippet. Start an article about topics you are familier with, or edit a Wiki page....
View Article