tag:blogger.com,1999:blog-34020393.post2742272876908672983..comments2024-03-27T10:59:38.307-07:00Comments on Jim's PeopleSoft Journal: FUNCLIB's and Event Scoped VariablesJim Marionhttp://www.blogger.com/profile/12995110203807924786noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-34020393.post-50516558990078894332016-11-18T15:39:52.526-08:002016-11-18T15:39:52.526-08:00@life... Are you trying to perform a database comm...@life... Are you trying to perform a database commit? SQLExec("COMMIT") should work as well. This thread is helpful: http://peoplesoft.ittoolbox.com/groups/technical-functional/peopletools-l/commitwork-and-sqlexeccommit-1414252. iScripts don't have session state or a component buffer, so they behave a little differently.<br /><br />If you don't have data to commit, then you can ignore the commit.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-64878641865298874352016-11-17T03:55:07.444-08:002016-11-17T03:55:07.444-08:00Jim, is it possible to call CommitWork() in an iSc...Jim, is it possible to call CommitWork() in an iScript function. If not do I have any alternatives. I my iscript code I process a report to a pdf format using the ProcessReport() function. When i call CommitWork() after the processreport peoplesoft gives me error "Error committing work. The host environment could not complete the CommitWork() function"<br /><br />Please I need to find a solution :(lifeandshithttps://www.blogger.com/profile/06859618330463971291noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-64318845869661473162013-08-05T12:04:03.036-07:002013-08-05T12:04:03.036-07:00@Karthik, PeopleTools 8.53 makes it a lot easier b...@Karthik, PeopleTools 8.53 makes it a lot easier because the Documents module can render a JSON result. What you do is create the service operation and use a document based message as the request. Then you write PeopleCode to populate the Document. If that doesn't work for you, you can always revert to the old way of stringing JSON together. <a href="http://jjmpsj.blogspot.com/2010/04/json-encoding-in-peoplecode.html" rel="nofollow">This post</a> contains a JSON encoder in PeopleCode that will ensure strings are safe for JSON.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-86208211326326295752013-08-05T11:29:17.451-07:002013-08-05T11:29:17.451-07:00Hi Jim,
We are trying to POST data using integrat...Hi Jim,<br /><br />We are trying to POST data using integration broker from PeopleSoft Campus sol to 3rd party health care provider. We need to post or send the data in the JSON format to them. <br /><br />I have looked at the posts and not sure I follow what needs to be done. Could you please let me know as high-level steps in order to acheive the desired results.<br /><br />We are on Tools 8.53 <br /><br />Thanks<br />KarthikAnonymoushttps://www.blogger.com/profile/01189464690919916048noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-57993224534676248662010-05-13T11:00:29.578-07:002010-05-13T11:00:29.578-07:00m,
Thanks a lot for your response!!
Regards,
Pra...m,<br /><br />Thanks a lot for your response!!<br /><br />Regards,<br />PrashantCiphersbakhttps://www.blogger.com/profile/01586158446874473262noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-89072024147962315862010-05-10T14:51:59.097-07:002010-05-10T14:51:59.097-07:00@Ciphersbak, I use the jEdit syntax files you can ...@Ciphersbak, I use the <a href="http://www.jedit.org/" rel="nofollow">jEdit</a> syntax files you can get from <a href="http://jjmpsj.blogspot.com/2009/08/using-jedit-to-edit-peoplesoft-files.html" rel="nofollow">here</a> and the <a href="http://plugins.jedit.org/plugins/?Code2HTML" rel="nofollow">Code2HTML</a> jEdit plugin. What I do is copy my code from App Designer into jEdit, select the custom PeopleCode edit mode, and then use the Code2HTML plugin to convert the code to HTML. For final cleanup, I run the result through <a href="http://infohound.net/tidy/" rel="nofollow">HTML tidy online</a>.<br /><br />I copy/paste the "pre" section from the HTML tidy output into my blogger editor (source view).<br /><br />The top of the HTML Tidy output has CSS style definitions for the colors. I put those in my blogger template.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-55172826226609349032010-05-02T05:48:58.565-07:002010-05-02T05:48:58.565-07:00Hi Jim,
I've a question here, It may sound rid...Hi Jim,<br />I've a question here, It may sound ridiculous, but I wanted to know, how do you color your code on your posts!!!<br /><br />Thank You!Ciphersbakhttps://www.blogger.com/profile/01586158446874473262noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-84845382216900219192010-04-26T05:49:25.593-07:002010-04-26T05:49:25.593-07:00Thanks Jim! I didn't realize it was documented...Thanks Jim! I didn't realize it was documented in PeopleBooks as well :)Chili Joehttps://www.blogger.com/profile/06860069249183717066noreply@blogger.com