![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Peoplecode
jl19880317
这个作者很懒,什么都没留下…
展开
-
PS变量
PeopleCode变量名都以&开头,缺省的局部变量类型为ANY。当返回数据类型不确定时为ANY,由PeopleTools决定其类型。 Local Any &Example_Any;Local String &Test;Local String &Test2; &Example_any = "TEST";&Example_Any = &Test | ' ' | &Tes转载 2013-04-14 21:15:46 · 852 阅读 · 0 评论 -
PeopleCode启动SQR程序
参考1:&PROCESS_NAME = "SQRNAME"; &PROCESS_TYPE = "SQR Report"; &RUN_CNTL_ID = "YOUR_RUN_ID"; &RUN_CONTROL = ScheduleProcess(&PROCESS_TYPE, &PROCESS_NAME, "2", &RUN_CNTL_ID, &PRCS_INST); REM |+---转载 2012-11-19 10:46:54 · 770 阅读 · 0 评论 -
Understanding Peoplesoft Trace
Here are the steps to generate application and Application Engine traces, to troubleshoot any application issues.Before you start generating traces, you need to make sure that the following paramete转载 2012-11-19 10:52:46 · 1075 阅读 · 1 评论 -
Determine File Output Location
Suppose I want to create a file (printable report, log file, etc), where should I create the file? If you want the file available from theView Log/Trace link, then use the following SQL to determine转载 2012-11-19 10:56:40 · 299 阅读 · 0 评论 -
Difference between FieldEdit and FieldChange events
Field Change PeopleCode is for recalculating field values based on changes made to other fields. For instance, suppose you have 2 fields, rate and quantity and there is another field which shows total转载 2012-11-19 10:54:00 · 302 阅读 · 0 评论 -
计算时间间隔天数
参考1:&NUM_DAYS = Abs(Days(HIRE_Date) - Days(RELEASE_Date)); 参考2:/*计算时间差直接用系统函数AgeInYears*//*来源于修改人员页面的日期计算*/DeclareFunctionAgeInYears PeopleCode FUNCLIB_HR.AGE FieldFormula;DeclareFun原创 2012-11-19 10:51:29 · 569 阅读 · 0 评论 -
禁用Scroll中的添加或删除按钮
&ROWSET_LEVEL2 = GetLevel0()(1).LEVEL1_REC(5).GetRowset(SCROLL.LEVEL2_REC); */ If &ITEM_TYPE.Enabled = True Then &RI_Scroll_2 = GetLevel0()(1).APG_REFUND(1).GetRowset(Scroll.APG_TIV_ELIG_DB);转载 2012-11-19 10:45:17 · 483 阅读 · 0 评论 -
Auto Insert New Hires as PS Users
The following is a piece of App Engine code that will take new hires and auto insert them as a Peoplesoft User Profile with default data and component permission lists so they can use self service aut转载 2012-11-19 10:43:59 · 404 阅读 · 0 评论 -
PeopleCode中使用Map
参考 HRTR_UTILITIES[plain] view plaincopyprint?/** *@author Vinay Vegunta *@date 03/09/2004 * *This class provides a simple Hashtable implementation for storing and looking up obje转载 2012-11-19 10:40:47 · 1032 阅读 · 0 评论 -
Generate Excel Spreadsheet from PeopleCode
Generate Excel Spreadsheet from PeopleCode PeopleBooks documents the built-in function GenerateQueryContentURL. It's a helpful function that lets you create a link to a query.If you转载 2012-11-19 10:36:52 · 521 阅读 · 0 评论 -
peoplecode实现sleep功能
如果想要让程序延迟几秒执行,可以编写如下代码:[plain] view plaincopyprint?Local time &StartTime, &CurrentTime; &StartTime = %Time; &CurrentTime = %Time; While ((&CurrentTime - &StartTime) &Cur转载 2012-11-19 10:35:31 · 604 阅读 · 0 评论 -
PeopleCode Events
PeopleCode EventsOverviewIf you are reading this, you are probably familiar with creating fields, records, pages, components, and menus. With these objects alone, you can create working developm转载 2012-11-19 10:30:51 · 750 阅读 · 0 评论 -
PS日期,天数的处理函数
import PTFP_FEED:UTILITY:Utility;/******计算月数*******/Declare Function AgeInMonth PeopleCode FUNCLIB_HR.AGE FieldFormula;/******计算天数*******/Declare Function AgeInDays PeopleCode FUNCLIB_HR.AGE原创 2013-05-03 15:27:07 · 927 阅读 · 0 评论