Bookshelf Home | Contents | Index | PDF |
Siebel Field Service Guide > Business Service Methods in Siebel Field Service > Methods for Schedules > About Calling the ABS and Optimizer MethodsA script can call the Appointment Booking System and Optimizer (or Optimization Engine) by calling the predefined Server Requests business service and specifying the Appointment Booking Engine or Optimizer component. The methods must be loaded and exist on the server before they can be called. Only the Server Request Broker can determine the correct component to call for a service region. For more information about using the Server Requests business service, see Siebel Business Process Framework: Workflow Guide. The following script is an example of how to call the ABS component with the GetAppointment method. var SRMSvc, BSWrite, BSRead; SRMSvc = TheApplication().GetService("Server Requests"); srmInputs.SetProperty("Mode", "Sync"); apptBookInputs.SetProperty("ActId", "1-93J9"); srmInputs.AddChild(apptBookInputs); // write out the outputs for debugging childPropSet = srmOutputs.GetChild(0); if (errCode == "0") |
Siebel Field Service Guide | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |