Bookshelf Home | Contents | Index | PDF |
Siebel Employee Relationship Management Administration Guide > Employee Self-Service Reference > Example eScript for Summary FormThe following script is used by summary forms. // Get the handles to the page and the questions PageFirstPage = GetPage ("PAF Summary"); QuestLastName = PageFirstPage.GetQuestion ("PAF Summary Employee Last Name"); // Set all the questions read-only QuestLastName.SetQuestionEnable (false); // Get the script session run id szScriptSessionId = GetParameter ("Session.ScriptSessionId"); // Get the "Call Scripts" busobj and "Call Script Run Answers" buscomp boCallScripts = TheApplication().GetBusObject ("Call Scripts"); bcCSRunAnswer = boCallScripts.GetBusComp("Call Script Run Answers"); // Query for the employee's last name ActivateField ("Question Name" ); ActivateField ("Answer Text" ); SetSearchSpec ("Run Id", szScriptSessionId); SetSearchSpec ("Page Name", "PAF Which Change"); SetSearchSpec ("Question Name", "Display Employee Last Name"); szLastName = GetFieldValue ("Answer Text"); // Set the values of each question by the scripting |
Siebel Employee Relationship Management Administration Guide | Copyright © 2009, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |