PeopleSoft API's. Are you are referring to peoplecode.jar? Peoplecode.jar provides JNI for Java running in the app server and only Java in the app server. For example, it allows you to call Func.SQLExec from Java that is running in an AppEngine. There is no documentation for the JNI classes included in peoplecode.jar.
' Hi All, I am using USERPROFILE CI on a custom page (field event: SavePostChange) I was able to create users using the USER PROFILE CI. But for some reason I can not update these new users using the same CI. I have full access to the component and was able to update via test component in the application designer. Tools 8.46 HR 8.9 Thank you in advance, Here is my code.
It needs to be If Not &oUserProfile.Get Then If Not &oUserProfile.Create Then; rem. Unable to Create Component Interface for the Add keys provided.; errorHandler; throw CreateException(0, 0, 'Create failed'); End-If; End-If; rem. Execute Create.; I have just shuffled your code to create only if not Get (found) -Original Message- Hi All, I am using USERPROFILE CI on a custom page (field event: SavePostChange) I was able to create users using the USER PROFILE CI. But for some reason I can not update these new users using the same CI. I have full access to the component and was able to update via test component in the application designer. Tools 8.46 HR 8.9 Thank you in advance, Here is my code.
![]()
If you are only going to insert new entries, check again if you need to have GetHistoryItems & EditHistoryItems set to True. PYCFVERTGRDWK must be a derived work record going by the naming convention.
Is there PeopleCode that copies the derived record field values into the actual physical table? Why are you testing the label value? Is this required? If &oPycfVertgrdWk.PYCFlabel = 'Account:' ThenIf &oPycfVertgrdWk.PYCFlabel = 'Department:' Then 4. The above statements will always be false because Label will not have a ':'. The colon is appended to the label ONLY during runtime when HTML data is sent to the browser.
One other thing- For debugging a CI never use think-time functions such as Winmessage. Use MessageBox instead. Refer PeopleBooks - Home PeopleBooks Enterprise PeopleTools 8.4x PeopleBook: PeopleSoft Component Interfaces Programming Component Interfaces in PeopleCode Understanding PeopleCode Behavior and Limitations Look into these aspects and correct them. Let me know if you still have issues. Regards, Rao.Original Message- I'm trying to add entirely new entry using 'create'.
I can do it from online page, also from test component. I call this function from another component. After create, I can edit level 1, but not level 2. There is code to set level 2 readonly when%mode 'A'.
Thank you for quick response. I have answer below - From: blrvenkat via peoplesoft-hr-l mailto:[email protected] Sent: Friday, July 11, 2008 10:33 AM To: Li Guan Subject: RE:peoplesoft-hr-l How to update existing rows using Component Interface liguan, 1.
If you are only going to insert new entries, check again if you need to have GetHistoryItems & EditHistoryItems set to True. I'll check if this makes difference. PYCFVERTGRDWK must be a derived work record going by the naming convention.
Is there PeopleCode that copies the derived record field values into the actual physical table? Why are you testing the label value?
Is this required? Chartfields are displayed as vertical (label and value). I only need to change two of them. If &oPycfVertgrdWk.PYCFlabel = 'Account:' ThenIf &oPycfVertgrdWk.PYCFlabel = 'Department:' Then 4. The above statements will always be false because Label will not have a ':'.
The colon is appended to the label ONLY during runtime when HTML data is sent to the browser. The label is correct - I got it using winmessage. PeopleSoft has code to add ':'. Also the winmessage showed up for that statement. One other thing- For debugging a CI never use think-time functions such as Winmessage. Use MessageBox instead.
I'll change to messageBox. Refer PeopleBooks - Home PeopleBooks Enterprise PeopleTools 8.4x PeopleBook: PeopleSoft Component Interfaces Programming Component Interfaces in PeopleCode Understanding PeopleCode Behavior and Limitations Look into these aspects and correct them.
Let me know if you still have issues. Regards, Rao.Original Message- I'm trying to add entirely new entry using 'create'. I can do it from online page, also from test component. I call this function from another component.
After create, I can edit level 1, but not level 2. There is code to set level 2 readonly when%mode 'A'. Liguan, Are you trying to add a new row at Level1 for an existing entry or creating entirely new entry in which case the mode should have been 'A'? If you can do it from an online page, then it should be possible from your CI code. Can you post your code? Regards, Rao.Original Message- Can some one help me on this?
I can create. But after that I can not setup level 1 value because it is in 'U' mode, and there is code to setup field readonly for 'U' mode. I can do it in test component. I'm trying to add entirely new entry using 'create'. I can do it from online page, also from test component.
I call this function from another component. After create, I can edit level 1, but not level 2. There is code to set level 2 readonly when%mode 'A'.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |