PeopleSoft技术培训-ApplicationDesigner

上传人:xiao****017 文档编号:22131949 上传时间:2021-05-20 格式:PPT 页数:66 大小:9.54MB
返回 下载 相关 举报
PeopleSoft技术培训-ApplicationDesigner_第1页
第1页 / 共66页
PeopleSoft技术培训-ApplicationDesigner_第2页
第2页 / 共66页
PeopleSoft技术培训-ApplicationDesigner_第3页
第3页 / 共66页
点击查看更多>>
资源描述
PeopleSoft技术培训- Application Designer初级 2 培训安排1. Application Designer概述2. Application Designer基本定义3. Application Designer其他定义4. Application Designer管理功能5. Application Designer开发过程 1. Application Desinger概述 4 Application Desinger的初级功能Field Record Page Component MenuSQL片断HTML片断开发PeopleSoft的基本定义管理PeopleSoft应用程序的开发过程维护peoplesoft应用程序 5 Application Desinger的中级功能开发Peoplesoft工作流程序Component Interface File Layout定义 开发简单的Peoplesoft报表程序WorkflowQuery开发Peoplesoft与其他应用系统的接口(非实时)People Code Program为简单的Component嵌入反映业务逻辑的代码 6 Application Desinger的高级功能开发Peoplesoft与其他应用系统的接口(实时)Application Message Business Interlink Application Engine Program开发进行大量复杂SQL操作的后台批处理程序 7 Application Desinger界面 8 2. Application Disigner基本定义 9 PIA 页面的导航结构:Menu Portal导航 - FolderMenu Grouop Menu Menu Bar Menu Item Component Portal导航 - Component Folder Sub Folder 8.8版本及以后8.8版本以前 10 PIA 页面的核心:Component Component 各Page/Tab Component 工具栏 Component Action Mode 11 基本定义概述 字段(FIELD)Individual pieces of datasuch as an employee IDthat can be entered by the user and stored in the database, in a column on a table, or in a view. 记录(RECORD)All of the data that resides in PeopleSoft applications is stored in tables, or records, as part of a relational database system. Each record definition describes the properties of an underlying SQL table.页面(PAGE)Pages provide a way to enter, view, and edit data online. The system validates user input, writes it to the database, and retrieves and displays it upon request. 组件(COMPONENT)Represents a logical business transaction or a set of logically related pages that are processed together. 菜单(MENU)Enables access to the components that you build and the pages contained in the components. 12 FIELD介绍-类型Character (Char) Alphanumeric field of fixed length.Long Character (Long) Alphanumeric field of variable length used for textual entries, such as comments or descriptions.Number (Nbr) Positive numeric field of fixed length for which decimals are allowed. Signed Number (Sign) Positive or negative numeric field of fixed length for which decimals are allowed. Date (Date) Date field of constant length. The system edits dates and prohibits incorrect ones, such as day 42 or month 20. Date fields always store a four-digit year.Time (Time) Time field of a constant length. Built-in edits prohibit impossible times, such as hour 26, minute 70, or second 94.DateTime (DtTm) Date and time field of constant length. Built-in edits prohibit impossible dates and times, as defined in the individual Date and Time fields. DateTime fields always store a four-digit year.Image (Img) Image field to store images in a user-defined format, such as JPEG or GIF.ImageReference (Iref) Use this to change an image dynamically at runtime using PeopleCode. 13 FIELD介绍-属性 说明本Definition所属的的功能模块字段类型本类型字段特有的一些格式 14 FIELD介绍-Multi Label同一个FIELD可以在数据库中多次复用,因此有多个Label,用以反映其不同用途 Label用于在RECORD和PAGE中显示FIELD的名称有且仅有一个默认Label 15 FIELD介绍-Translate Value条件 Field类型:Char Field长度:14字符 Field values consist of a relatively small, static set of values that are not maintained by the user. 注意 Y/N型数据不需要Translate 焕表格 16 FIELD介绍-Translate Value(续)在页面上的应用作为Prompt Table一般作为Drop Down List控件不允许修改或输入新值 17 练习新建若干个Field,分属不同的类型 18 RECORD介绍-概述 RECORD相当于数据库中的“表” RECORD由FIELD组成,FIELD相当于表中的“列” 19 RECORD介绍-类型 SQL Table:数据库中真实存在的表 SQL View:数据库中真实存在的视图 Dynamic View:动态定义的视图 Derived/Work:临时表,运行时动态生成,不在数据库中存储数据 SubRecord:/ Query View:基于Query定义的视图 Temporary Table:数据库中真实存在的临时表 20 RECORD介绍-命名规范 _TBL Identifies an edit or prompt table that contains data that is used for validation, as opposed to data that is maintained by the application. Such as LOCATION_TBL, COUNTRY_TBL. _VW Physically implemented by defining a SQL view. _DVW Identifies a dynamic view _WRK Derived work records _SBR Subrecord _QVW Query view _WL Identifies the record as a worklist record definition 21 RECORD介绍-属性高级属性,用于控制本Record的共享特性,见后续教程 父表语言表对数据库中的关键表进行修改审计,需要指定记录修改信息的表 22 RECORD介绍-RecordField的属性1Use属性指出本FIELD在RECORD中是如何发挥作用的 Key:数据库表的主键(只有是Key才能是Descending Key和Search Key) Search Key:在搜索时用到的Key(出现在Basic Search里) List Box Item :会出现在搜索结果中的字段 Alternate Search key:在搜索时用到的Key(出现在Basic Search里) Default Value :该字段的默认值 23 RECORD介绍-RecordField的属性2Edit属性指出用户如何编辑本FIELD的数据 Prompt Table Edit Prompt Table with no Edit Yes/No Edit必填字段 24 RECORD介绍-四种Display(1)Field Display:指出Field的基本属性,如类型、长度等改小图 25 RECORD介绍-四种Display(2)Use Display指出Field的使用属性(是否是主键、是否用于搜索等)与Record Field的Use属性相对应加小图 26 RECORD介绍-四种Display(3)Edits Display:指出Field如何被编辑与Record Field的Edit属性相对应 27 RECORD介绍-四种Display(4)PeopleCode Display:指出哪些Field的哪些事件有PeopleCode 28 RECORD介绍-Build Record过程 要Build的表 在Application Designer里设计Record后,还需要在数据库中创建该Record以容纳数据每次修改了Record的结构(增建字段、修改字段类型、长度等)后,也需要Build该Record 29 Build的概念PeopleSoft系统的Record名字DB2中的Table名字Personal_dataEmplIDAddress_sbr sex Ps_Personal_dataEmplidCountryAddress1sex 30 RECORD介绍-Build Option有丢失数据危险! 31 练习新建一个RECORD 32 PAGE介绍-前台页面的例子 33 PAGE介绍-在AppDesigner中编辑的页面Page设计的工具栏 34 PAGE介绍-属性指定页面控件改变后与应用服务器的数据 传输方式不立即触发设置页面大小等属性 35 PAGE介绍-Page Field的Record属性指定该控件所对应的数据库中的数据 36 PAGE介绍-Page Field的Label属性 RFT:Record Field Table指定是否使用Field的Label 37 PAGE介绍-Page Field的Use属性仅仅显示,用户不能修改此控件的数据高级用法,见后文 38 PAGE介绍-Page Order 显示各页面控件的层级关系Page Field所在的Level Page Field的各种属性 39 PAGE介绍-各种Page Control Aesthetic Controls Chart Frame Group box Horizontal rule Image Static image Static text Data Entry Controls Check box Drop-down list box Edit box Function and Data Processing Controls Grid Scroll area . 40 Image,需要指定其图象源有Prompt Table的Edit Box一般对应于有Translate Value的字段需要放在一个Group Box中,并在Page Order上紧跟于Group Box之后 Sub Page 横线特殊功能:将其后的Contorl都设置回Level 1 Tree控件 PAGE介绍-各种Page Control实例 41 练习1.在页面上添加各种控件2.了解各种控件的属性 42 COMPONENT介绍-概述 一个COMPONENT完成一项相对独立的功能,由若干个页面组成一个COMPONENT 反映一个数据库Transaction大部分COMPONENT有Search record可以控制用户访问COMPONENT的权限 43 COMPONENT介绍-Component由页面组成每个Component都用于完成一项特定的功能,需要显示一定数量的数据,如果不能放在一个Page中,则可以分别放到多个Page里一个Component可以由1个或多个Page组成各个Page中的数据不是独立的,而是全部存放在Component的Data Buffer中在点击保存按钮时,一个Component里所有Page的数据都将保存到PeopleSoft数据库中 44 COMPONENT介绍-大部分Component都有Search Record每个Component都用于完成一项特定的功能,对应于一个主记录Personal_Data Component主要用于查看员工的个人信息,对应的主记录就是员工个人信息表Employees进入Component之前,需要指定本次操作针对主记录中的哪一行数据要修改哪位员工的个人信息因此,为Component设置Search Record,以便在进入之前使用Search Record来搜索并确定主记录中的某行根据员工ID或员工的First Name来确定要修改的员工 45 COMPONENT介绍-Component有不同的操作模式 Add Update/Display Update/Display All Correction添加新记录显示当前记录显示所有记录(包括历史记录)修改历史记录 可以指定每个Component允许用户执行哪些功能 46 COMPONENT介绍-属性用于搜索该Component的Level 0数据的 Record用户访问该Component时可以执行的操作 47 COMPONENT介绍-Structure 48 MENU介绍-概述MENU:用来组织COMPONENT的工具,反映应用程序的功能块划分主要概念: MENU GROUP MENU MENU BAR MENU ITEM 49 MENU介绍-属性主要概念: Menu Label Menu Group Menu Order Menu Group Order 50 3. Application Disigner其他定义 51 其他高级定义Business Process工作流设计Activty用于工作流设计,用于显示工作流中的Step、Event和RoutingApproval Rule Set用于工作流设计,图形化地设计审批规则 工作流设计程序接口设计Component Interface 对Component的一种封装,用于第三方软件或Application Message向PeopleSoft传递数据 File Layout 对要导入到PeopleSoft系统的外部数据文件的格式描述 Message 定义在运行时插入Application Message的数据,类似于COMPONENT的多层次结构 Message Channel 多个有共性的Message构成的一个组,用于各Message在逻辑上的组织和使用 Business Interlink不同应用系统间传递数据 52 其他高级定义Application Engine PeopleSoft特定的系统程序,是Cobol和SQR程序的替代工具由SQL语句和PeopleCode组成,在批处理模式下运行Application Package PeopleCode的支持面向对象开发的编程工具,用于定义Application Class,以扩展PeopleTool提供的类的功能,或是创建用户自定义类 HTML HTML代码段,用于向page插入HTML Image 储存在PeopleSoft系统中的图象,如员工照片、产品照片、公司LOGO等 Mobile Page 用于在不在线的移动设备(如笔记本电脑、PDA等)上显示的PIA页面,基于可同步的Component Interface SQL 完整的SQL程序或SQL语句片断 Style Sheet 用于PIA PAGE的格式定义例:PSSTYLEDEF 其他 53 4. Application Disigner管理功能 54 包含内容 Project管理 Change Control Upgrade Application Desinger设置 55 Project的概念 Project是组织PeopleSoft应用程序开发过程中各种定义的工具,也是管理个人和团队的开发过程的工具开发PeopleSoft应用程序不强制一定要使用Project,但使用Project可以提供很多便利 Project的设置可以由多种方式:根据用户需求(编号),根据开发者等。开发团队需要事先规划好Project的开发策略 56 Project管理-常见功能复制Project:将Project另起一个名字以便进行学习和/或修改组织Project中的各种Definition:新建Definition并插入当前Project将已有Definition插入当前Project将已有Definition的副本插入当前Project从Project中移去某个DefinitionProject的导入导出(见后) 多个Project的合并(见后)重命名Definition(见后)删除Definition(见后) 57 Project管理- Project的导入导出导出:Copy Project to File导入:Copy Project from File 58 Project管理-多个Project的合并用途:合并多个Project中的Definition操作: File-Merge Projects注意:是将搜索到的Project中定义插入到当前打开的Project 59 Project管理-重命名Definition和删除Definition操作: File-Delete File-Rename注意:与被重命名的Definition相关的所有Definition都会被更新删除Definition时不会检查其被引用情况! 危险操作! 60 Change Control-用途和操作用途: Lock和Unlock在编辑的Defnition,防止其他人修改操作: Tools-Change Control注意:新的设置必须重新登录AppDesigner才能生效 61 Upgrade-用途和操作用途:在不同环境间转移应用程序(将应用程序从开发/测试环境转移到生产环境)操作: Tools菜单-Upgrade注意:需要重新登录到目标应用程序环境 重要功能 62 Upgrade-注意Upgrade View Action:Copy或者Delete Upgrade:若不选就不会被Upgrade到目标数据库中 Done:若已Upgrade完成,则会被选中(用户不能更改)(在升级时可以选择Reset Done Flag来清除此选择) Upgrade View里包含的Definition比Development View多在升级时要注意“不要多”,也“不要少”要注意多人开发时,在从开发环境到生产环境Upgrade时的协调,防止冲突 63 Application Desinger设置Project页:设置Insert Object into Project属性设置Reload last project at startup 64 Application Designer常用快捷键 Ctrl+N:新建 Ctrl+O:打开 Alt+1 :关闭Output Window Alt+0 :关闭Project Workspace F7 :将当前Definiton插入Project Ctrl+F7 :选择Definition插入Project Alt+Enter:查看Definition属性 Ctrl+F4:关闭当前窗口 65 5. Application Desinger开发过程 66 开发过程概览Field设计Record设计Page设计Component设计 Menu设计用户需求定义设计阶段开发阶段Security设计由Application Designer开发的部分
展开阅读全文
相关资源
相关搜索

最新文档


当前位置:首页 > 图纸专区 > 课件教案


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!