<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vinod Ronold on Medium]]></title>
        <description><![CDATA[Stories by Vinod Ronold on Medium]]></description>
        <link>https://medium.com/@vinodronold?source=rss-a34e1486ef8a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*KjtSfVVyT3k4Otn370Z80Q@2x.jpeg</url>
            <title>Stories by Vinod Ronold on Medium</title>
            <link>https://medium.com/@vinodronold?source=rss-a34e1486ef8a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:50:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vinodronold/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Hashtables Implementation in PeopleCode]]></title>
            <link>https://medium.com/@vinodronold/hash-tables-implementation-in-peoplecode-231bca18442d?source=rss-a34e1486ef8a------2</link>
            <guid isPermaLink="false">https://medium.com/p/231bca18442d</guid>
            <category><![CDATA[peoplesoft]]></category>
            <category><![CDATA[peoplecode]]></category>
            <category><![CDATA[hasttable]]></category>
            <dc:creator><![CDATA[Vinod Ronold]]></dc:creator>
            <pubDate>Fri, 13 Mar 2020 04:32:00 GMT</pubDate>
            <atom:updated>2020-03-13T15:11:51.065Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hashtable Implementation in PeopleCode</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CBG9FKIcWlDkEaEcOXV0Xw.jpeg" /></figure><p><a href="https://en.wikipedia.org/wiki/Hash_table">In computing, a hash table (hash map) is a data structure that implements an associative array abstract data type, a structure that can map keys to values. A hash table uses a hash function to compute an index, also called hash code, into an array of buckets or slots, from which the desired value can be found.</a> This definition is just a copy and paste from Wikipedia 😊, I want to more focus on how it can be implemented in PeopleCode and how useful it is.</p><p>Hashtable is not a primitive data type in PeopleCode, these are implemented as a regular application class. We have a delivered Application Package which already implemented the Hashtable, we can utilize this package to create and manage Hashtables.</p><p>HRTR_UTILITIES:StringHashtable<br>EOEW_ETLAPI:COMMON:HashTable</p><p>Links to actual PeopleCode: <a href="https://gist.github.com/vinodronold/a11f98405b4bb164b358fcdd5b8d9765">StringHashtable</a> and <a href="https://gist.github.com/vinodronold/45b9fe80582321847072e22c3d425fc0">NumberHashtable</a></p><p>Let us see how I utilized these classes.</p><p>Case 1: Manage multiple categories, for example, computing the total hours worked per earnings code</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/364e59cf21720e048d99ad8a75661eda/href">https://medium.com/media/364e59cf21720e048d99ad8a75661eda/href</a></iframe><p>Case 2: File generation</p><p>Generate CSV File Class</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e0ed3a9a7f9c7cb514c5fe811e59867a/href">https://medium.com/media/e0ed3a9a7f9c7cb514c5fe811e59867a/href</a></iframe><p>Using Header class to generate CSV file</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/90e51a88946d43817a8e850e2a84d6c6/href">https://medium.com/media/90e51a88946d43817a8e850e2a84d6c6/href</a></iframe><p>These are a few ways I experimented using Hasttables in PeopleCode, there are a lot of other use cases this data type can be used, refer to <a href="https://it.toolbox.com/blogs/bradleyr/peoplecode-hash-table-application-classes-030819">https://it.toolbox.com/blogs/bradleyr/peoplecode-hash-table-application-classes-030819</a>. These packages definitely helped me write business logic which is manageable and easy to understand and wanted to share my thoughts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=231bca18442d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PeopleCode to Call REST APIs]]></title>
            <link>https://medium.com/@vinodronold/peoplecode-to-call-rest-apis-c8283dd5d68?source=rss-a34e1486ef8a------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8283dd5d68</guid>
            <category><![CDATA[oracles-cloud-integration]]></category>
            <category><![CDATA[peoplesoft]]></category>
            <category><![CDATA[peoplecode]]></category>
            <category><![CDATA[rest]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <dc:creator><![CDATA[Vinod Ronold]]></dc:creator>
            <pubDate>Tue, 23 Jul 2019 16:57:26 GMT</pubDate>
            <atom:updated>2019-07-23T16:57:26.099Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*ZwMZ1HH3Kj13iO9zXVX7Mg.jpeg" /></figure><p>Most popular computer languages like JavaScript, Python, etc have either in-built APIs or third party libraries to easily manage the REST API Requests and Responses. PeopleBooks has a good section on how to use <a href="https://docs.oracle.com/cd/F13640_01/pt857pbr2/eng/pt/tibr/task_UsingPeopleCodetoManageRESTServiceOperations-b48000.html?pli=ul_d129e96_tibr">PeopleCode to Manage REST Service Operations</a>, however there are setups which are required to be completed before we start (more information on <a href="https://docs.oracle.com/cd/F13640_01/pt857pbr2/eng/pt/tibr/concept_UnderstandingManagingRESTServices-f77faf.html?pli=ul_d129e158_tibr">Understanding Managing REST Services</a>)</p><p>I was working on a project, where I had to integrate PeopleSoft with Oracle Cloud and had to leverage Oracle Cloud REST APIs to GET / POST data. There were multiple APIs to manage for this one single requirement.</p><p>For example to add Bank Account to a Supplier, I had to</p><ul><li>Identify the Cloud <a href="https://docs.oracle.com/en/cloud/saas/procurement/19b/fapra/api-suppliers.html">Supplier</a> and <a href="https://docs.oracle.com/en/cloud/saas/financials/19b/farfa/api-external-payees.html">External Payee</a> values</li><li>Identify the Cloud <a href="https://docs.oracle.com/en/cloud/saas/financials/19b/farfa/api-banks.html">Bank</a> and <a href="https://docs.oracle.com/en/cloud/saas/financials/19b/farfa/api-bank-branches.html">Branch</a> values</li><li>Create <a href="https://docs.oracle.com/en/cloud/saas/financials/19b/farfa/api-external-bank-accounts.html">Bank Account</a></li><li>Use <a href="https://docs.oracle.com/en/cloud/saas/financials/19b/farfa/api-instrument-assignments.html">Instrument Assignments</a> to attached the External Bank Account to the Supplier</li></ul><p>It was quite cumbersome to manage service operations, documents, etc for all the REST APIs. There must be a quick way to call REST APIs using PeopleCode. After few hours of research, I could accomplish what I needed, handling REST APIs without creating multiple document definitions, service operations, handlers etc.</p><p>Below is the PeopleCode for calling REST APIs. (PeopleTools 8.56 and above)</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7a3f9075386038db8d9176f7e874a0e8/href">https://medium.com/media/7a3f9075386038db8d9176f7e874a0e8/href</a></iframe><p>Below is the implementation of GET/POST method using PeopleCode.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/089bf13156c232d00aa201f01ad218d2/href">https://medium.com/media/089bf13156c232d00aa201f01ad218d2/href</a></iframe><p><strong>Pros</strong></p><ul><li>Reusable code — can be used to call any APIs</li><li>Easy to add more fields or conditions or query parameters</li><li>Use built-in JsonParser / JsonBuilder</li><li>Not too many objects to manage</li></ul><p><strong>Cons</strong></p><ul><li>Since we are using IB_GENERIC, there will be no logs in Service Operator Monitor</li></ul><p><strong>Reference</strong></p><ul><li><a href="http://psftpp.blogspot.com/2017/01/peoplecode-json.html">http://psftpp.blogspot.com/2017/01/peoplecode-json.html</a></li><li><a href="https://www.peoplesoftmods.com/tips-and-tricks/easy-rest-requests/">https://www.peoplesoftmods.com/tips-and-tricks/easy-rest-requests/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8283dd5d68" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>