The adapter requires an event project in PeopleSoft in order to
perform asynchronous inbound event processing. Use PeopleTools to create the
custom event project.
If your environment requires inbound event support, you must use
a custom event project in PeopleSoft. A sample event project, IBM_EVENT_V600,
is provided with the adapter. You can modify and use and the sample project,
or you can create your own project using PeopleTools. If you create your own
project, make sure that you complete the steps below.
- Use PeopleTools Application Designer to create and name a new project.
- Create the fields for the new project as described in the following
table:
Field name |
Field description |
IBM_EVENT_ID |
Numeric value that will be retrieved from IBM_FETCH_ID record. This
will be a unique ID for the event. |
IBM_OBJECT_NAME |
Name of the corresponding business graph. |
IBM_OBJECT_KEYS |
The get key property names in the Component Interface followed by
the key values in name-value pairs. This will be used for the component’s
retrieval from the EIS. |
IBM_EVENT_STATUS |
Will be set to 0 or to 99. If the event is ready to be polled, status
will be set to 0 and the IBMPublishEvent function will be called. If the event
is to be polled at a future date, status will be set to 99 and the IBMPublishFutureDatedEvent
function will be called. |
IBM_OBJECT_VERB |
Verb that will be set on the business object graph containing the
retrieved business object. |
IBM_EVENT_DTTM |
Date on which the event is created. For a future dated event, this
is the effective date. |
IBM_NEXT_EVENT_ID |
Field that will have the latest event ID under the record IBM_FETCH_
ID. It will be incremented for each event added to the IBM_EVENT_TBL, and
it will populate the IBM_EVENT_ID field within that table. |
IBM_XID |
The transaction ID needed to provide assured event delivery. |
- Create a record named IBM_EVENT_TBL and add to it all the fields
you have just created.
- Create a record named IBM_FETCH_ID and add to it only the IBM_NEXT_EVENT_ID
field.
- Open the IBM_FETCH_ID record, select the IBM_NEXT_EVENT_ID field,
view the PeopleCode, and select fieldformula.
- Copy the PeopleCode for custom event project, found under the Reference
section of this documentation, to the project you are creating.
- Create a page under your project that contains the fields of the
IBM_EVENT_TBL record at level 0. The page can have any name.
- Create a component under your project that contains the page you
just created. The component can have any name.
- Create a Component Interface against this component and give it
any name. Confirm that you want to default the properties based on the underlying
component definition.
- Build the entire project, selecting all create options.
- Test and confirm that the Component Interface works, using the
Component Interface tester.
- Generate the Java™ APIs for the Component Interface, and
then add the generated classes to the adapter classpath. For complete
information about building a PeopleTools project and testing the PeopleSoft
Component Interface, refer to PeopleSoft documentation.