We had a requirement that we wanted to save data through a component interface via PeopleCode in a record that has a related language record also and we wanted to save data in both English and an other language.
Following is how your code will look like:
rem ***** Get current PeopleSoft Session *****;
&oSession = %Session;
®_LNG = &oSession.RegionalSettings.LanguageCd;
&oSession.RegionalSettings.LanguageCd = "Your related language";
rem do your processing of saving data through ci via peoplecode
&oSession.RegionalSettings.LanguageCd = ®_LNG;
No comments:
Post a Comment