Questions tagged [peoplecode]

PeopleCode is the proprietary language used by PeopleSoft applications.

PeopleCode is the PeopleSoft proprietary integrated object-oriented programming language used to express business logic for virtually every aspect of PeopleSoft applications.

PeopleCode and its run-time environment are part of the larger PeopleTools framework.

PeopleCode Documentation:

83 questions
1
vote
1 answer

Generate HTML formatted emails with Peoplesoft data elements

I am trying to generate an App Engine program that will generate emails to employees with an upcoming employment anniversary (i.e. 5 years, 10 years, etc..) and display a sort of Countdown timer in the body of the email that has the Days remaining…
Nick
  • 268
  • 8
  • 33
1
vote
1 answer

PeopleCode error while trying to call function on Page PeopleCode event

I am trying to add the below function (populate_details) to a Page PeopleCode Activate event. The top section of code already exists, I am trying to add the section starting at 6/24/20 comments and getting the error "Syntax error: expecting…
Nick
  • 268
  • 8
  • 33
1
vote
1 answer

Peoplesoft Integration broker Received fatal alert: protocol_version

I am trying to consume third party rest service. When I send Get request the services should return json with link that I would open and transfer the user. The things that I've done so far: created request and response documents created…
Viraldim
  • 23
  • 1
  • 4
1
vote
1 answer

PeopleCode: when to use the Value property on a field?

Some code is written to get data from a field without using the .Value property: PS_BI_HDR.INVOICE And other code uses the .Value property: PS_BI_HDR.INVOICE.Value What is the difference? Are there times when one should be used instead of the…
kh.tab
  • 1,284
  • 3
  • 13
  • 25
1
vote
2 answers

CreateRecord Update Method does not update table

I have modified the below App Engine program to update a field on an existing row, using a File Layout. I have added code to update existing rows for items that have a new Vendor Item ID populated. While the program doesn’t error while running, it…
Nick
  • 268
  • 8
  • 33
1
vote
2 answers

Applying custom css to button in peoplesoft

I'm new to PeopleSoft and Application Designer. I'm working on Peoplesoft 9.0. I want to create a custom button appearance with a custom CSS style. I added a button to a page. I created a Style Sheet with Type (Free Form Style-sheet) with the…
shahad
  • 21
  • 4
1
vote
1 answer

error while building a view on Application designer "invalid number of column names specified "

SELECT EMPLID , LST_ASGN_START_DT FROM PS_JOB A WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_JOB WHERE A.EMPLID = EMPLID AND A.EMPL_RCD = EMPL_RCD AND EFFDT <= SYSDATE ) AND A.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_JOB …
richard
  • 11
  • 2
1
vote
0 answers

Strange search issue occuring after adding field as Alternate search key

I've added an alternate search key to our Vendor pages in FSCM. The search record for the page's component uses a SQL view that I modified, and added in the below custom (PS designated custom field) field (VNDR_FIELD_C30_B) into the view, as well as…
JBinson88
  • 113
  • 1
  • 14
1
vote
1 answer

Create object dynamically from string in Peoplecode

I work on a Peoplesoft project and I am struggling with Peoplecode. I want to create an object with a dynamic classname within Peoplecode. Kind of like in Java. This would look like something like this : &my_object = create My_Application_Package :…
LostReality
  • 657
  • 2
  • 8
  • 33
1
vote
2 answers

How to store multiple SQLExec values in variable(s)

I am wondering whether in an Application Engine PeopleCode I can run a SQLExec command and if multiple rows are returned how they are stored in the variable? For example - I am working on adding the following code: SQLExec("SELECT C.UNIT_OF_MEASURE…
JBinson88
  • 113
  • 1
  • 14
1
vote
1 answer

Excel to CI PeopleCode Usage

I am trying to get a better understanding how how a Excel to Component Interface definition uses Component and/or Record PeopleCode to execute business logic/validations. If I open a Component definition (that my Component Interface (CI) uses) and…
Nick
  • 268
  • 8
  • 33
1
vote
1 answer

Record.Insert() peoplecode not creating an exception on unique constraint error

The peoplecode is straightforward, instantiate the record object, read from an XML file, assign values to the rec.fields, and then perform an insert followed by a commitwork(). The only thing that I can see that would be a reason for the data…
Flynn
  • 29
  • 2
1
vote
0 answers

Unable to View Printable version of Requisition (First operand of . is NULL)

In Peoplesoft FSCM 9.2 in the Worklist (Main Menu --> Worklist --> Worklist) there is a link called "View printable version". when this is clicked on, the below error message is displayed. I am still fairly new to developing in Peoplesoft so I'm not…
Nick
  • 268
  • 8
  • 33
1
vote
1 answer

Peoplesoft Component Interface

Im working on Component Interface in Psoft using AE and Pcode. Upon create() method for keys an error shows ERROR : Invalid value for key with Prompt table in Search Edit. (91,78) Does anyone have a big knowledge in peoplesoft specially in…
1
vote
1 answer

FTP SSL through PeopleCode/Soft

I'm trying to use PeopleCode to get a file from a remote FTP server that uses SSL. The GetAttachment command returns error code 8, which indicates a problem connecting or authenticating with the "destination server" (which I'm assuming means "remote…
Jeremy
  • 33
  • 4