You are here:

Peoplesoft/Component Interface

Advertisement


Question
When we doing inbound through CI, after 600 rows there was mismatching data (or error)in the flat file, How to achieve this requirement? Please let me logic of this requirement?

Answer
it depends on the requirement & important to understand the business logic in the underlying component.
The basic steps in working with CIs
1) Set the get or create keys (set key values)
2) Execute get() or create()
  If get() or create() returns False
   do some error handling and take appropriate action such as not trying to continue processing that record. If you're going to continue processing, you'll need to call PSMessages collection's DeleteAll method to reset the ErrorPending flag to False.
  Else
    Continue on to #3
3) set the properties
4) Execute save
5) Execute cancel - This releases this instance or record that you were working with) so that you can set the get or create keys for the next record/CI instance. This step is not necessary if your code goes out of scope.
Please refer to the Component Interface PeopleTools PeopleBooks for additional information.
You can also refer Peoplesoft delivered CI's in AE PeopleCode  

Peoplesoft

All Answers


Answers by Expert:


Ask Experts

Volunteer


kumar

Expertise

PeopleSoft Technical/SQR/PeopleCode/AE/CI/Webservices/Upgrade/Data Conversion related questions

Experience

9+ Years experience. 2 implementations & 2 upgrades Data Conversion Enhancements & Production Support projects

Education/Credentials
PeopleSoft Certified Professional

©2016 About.com. All rights reserved.