Bookshelf Home | Contents | Index | PDF |
Siebel Developer's Reference > Business Component Classes > CSSBCForecast Class > Methods That the CSSBCForecastClass Can ReferenceThis topic describes the methods that the CSSBCForecast class can reference. It includes the following topics: You can specify each method in the Method property of a class method. This class method is a child of the CSSBCForecast class. Forecast Generate MethodThe ForecastGenerate method does the following:
Siebel CRM calls the ForecastGenerate method when it saves a new forecast. You can configure Siebel CRM to call this method from any item described in Calling a Method. Configuring Siebel CRM to Create Forecasts ImmediatelySiebel CRM can create detail and summary records in one of the following ways when it initially saves a new forecast:
If the WriteRecord method saves a new forecast header record, then Siebel CRM calls the ForecastGenerate method to create the detail and summary records. To configure Siebel CRM to create only the header record, you must write script outside of the WriteRecord method. This script must use an InvokeMethod that calls the SetWriteRecordsWithGenerate method, and it must use an input argument of N. If you use this configuration, then Siebel CRM does the following:
If your script uses an input argument of Y when it calls the SetWriteRecordsWithGenerate method, then Siebel CRM calls the ForecastGenerate method when it saves any subsequent new forecast. Not calling the ForecastGenerate method when Siebel CRM saves a forecast is different from allowing the ForecastGenerate method to run in the background. If you are not required to enable or disable ForecastGenerate for different forecast scenarios, then it is possible that you will not write script that calls the SetWriteRecordsWithGenerate method. Arguments That You Can Use with the Forecast Generate MethodTable 13 describes the arguments that you can use with the ForecastGenerate method. Rollup Forecast MethodThe RollupForecast method creates the summary records for a forecast according to the detail records. Siebel CRM uses it to create the initial summary records when it creates a forecast. The Rollup button or a menu item on a forecast applet references the RollupForecast method or the RollupParentForecast method. Siebel CRM does not automatically update summary records. To update summary records after Siebel CRM modifies detail records, it must call the RollupForecast method through a control or programmatically. A current, active row must exist for the RollupForecast method. This row must exist in the forecast business component that resides at the top level. You can configure Siebel CRM to call this method from any item described in Calling a Method. |
Siebel Developer's Reference | Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |