Quantcast
Channel: CompShack.com
Browsing latest articles
Browse All 10 View Live
↧

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 Article


Code 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 Article


Code 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 Article

Code 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 Article

Code 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 Article


Code 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 Article

Message 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 Article

How 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 Article


Integration Broker

PeopleSoft Integration Broker related articles, setups, tips and tricks.

View Article


Contribute!

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
Browsing latest articles
Browse All 10 View Live