Component Interface PeopleCode

Forum » Forum / Help » Component Interface PeopleCode
Started by: David Vandiver (guest)
On: 1255543244|%e %b %Y, %H:%M %Z|agohover
Number of posts: 3
rss icon RSS: New posts
Summary:
Desire to edit data in Component Interface, not the Component.
Component Interface PeopleCode
David Vandiver (guest) 1255543244|%e %b %Y, %H:%M %Z|agohover

I am looking for a way to "pre-edit" and possibly cross reference data in the component interface. Here's an example:

I have inbound conversion data using a business unit from legacy. I need to change this field to be the new PeopleSoft business unit. I have a PeopleSoft record where I can access this cross reference, and would like to write the code in the Component Interface. My goal is to not touch delivered components/pages/record peoplecode, but to somehow use the component interface's peoplecode. Is this possible?

Reply  |  Options
Unfold Component Interface PeopleCode by David Vandiver (guest), 1255543244|%e %b %Y, %H:%M %Z|agohover
Re: Component Interface PeopleCode
PrajPraj 1255573409|%e %b %Y, %H:%M %Z|agohover

Hi,

This might be possible using Component Interface PeopleCode.

I believe you would need to:

  1. Create the appropriate method in your CI method PeopleCode
  2. Call the method as part of the code you use to access the CI

Some delivered examples are the USER_PROFILE component interface which includes additional methods (functions) like ResetPassword and SetPassword. Another example is the PROCESSREQUEST component interface.

Step 2 is really the trick. If you are using a CI for the inbound data conversion then it should simply be a matter of calling the "pre-edit" method before you insert/update/delete and save data using the CI. However, I'm not sure if that's what you are actually doing?

Reply  |  Options
Unfold Re: Component Interface PeopleCode by PrajPraj, 1255573409|%e %b %Y, %H:%M %Z|agohover
Re: Component Interface PeopleCode
rao (guest) 1261183313|%e %b %Y, %H:%M %Z|agohover

Hi,

I need some help in writing the peoplecode in the CI. Below is the issue.

We have a page setup and it has fields from 2 staging tables - A_1 and B_1 (these staging tables are based on three base tables - A, B and C)
When we enter the data into the page the click on the submit button, the CI should fire and it should insert the base tables A, B and C if its new row or should update the existing data for the changes done.

I have created a ci for the component and need some help in writng the peoplecode for insert and update statements.

Thanks for the help.

Thanks,
Rao

Reply  |  Options
Unfold Re: Component Interface PeopleCode by rao (guest), 1261183313|%e %b %Y, %H:%M %Z|agohover
New Post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License