First Open up your Component Interface in PeopleTools and double click on the METHODS in the Component Interface Properties pane.
This will open a window where you can define your Custom Method.
Now you will need to add Security to you Custom Method.
Now you can access your Method in your CI Code
&JobDataCI.RESET_UMB_DATA();
Or if you are using my Excel to CI, you can use the Method Option.
Other Uses.
- Updating Sequence number like the Effective Date Sequence on Job or the Sequence number for the Paysheet upload.
- Creating a Custom Get Method for Components that like Job Code Table or Department Table that use description as a list item, to select one item from the collection. (Since they all take you to the same place.)
- Conditionally updating data based in the component buffer based. This last one might seem curious, but if you utilize a utility like my Excel to CI tool, then it makes perfect sense.
We used these CI Methods in automation processes to press buttons using a CI. The key is that the functionality of a FieldChange button event must be wrapped in a function or method call to work.
ReplyDelete