Bookshelf Home | Contents | Index | PDF |
Siebel Developer's Reference > Business Component Classes > CSSBCActivity Class > CSSBCActivity MethodsThis topic describes the methods that are implemented in the CSSBCActivity Class. ClearGridBeginEndDate MethodThe ClearGridBeginEndDate method returns the business component to regular mode after it has been set to calendar mode with the SetGridBeginEndDate method. See also SetGridBeginEndDate Method. CompleteActivity MethodThe CompleteActivity method commits the activity record and calculates the costs associated with an activity. It then updates the parts, time, and expense records of the activity with the costs of each item based on the price list, rate list, and cost list. In the preconfigured application, the CompleteActivity method is invoked by the Complete Activity business service. The Complete Activity business service is called when an activity record is saved. This method is typically used with the Action business component, but may be used with other business components in the CSSBCActivity class. This method cannot be called when the applet is in query mode. IsPrimaryInMVG MethodThe IsPrimaryInMVG method returns Y or N to indicate whether the logged-in user is the primary in the multi-value group of a specified field. This method can be used to determine whether the logged-in user is allowed to perform operations that are limited to the primary in the multi-value group. For example, only the primary may be allowed to change the primary. Table 7 describes the method argument for IsPrimaryInMvg. SetEmployeeId MethodThe SetEmployeeId method sets the criteria of the next SQL query on the current activity business component to the row Id and login provided as input arguments, to enable visibility of that employee's calendar records. Table 8 describes the method arguments for SetEmployeeId.
SetGridBeginEndDate MethodThe SetGridBeginEndDate method sets the business component to Calendar mode and sets the beginning and ending dates for the grid. This method is required in script that manipulates the business component in Calendar mode, such as manipulating the instances of a recurring activity. CAUTION: To avoid performance impact, set the date interval so that a large number of records, for example, more than 1000, are not returned. Typically, set the interval to a month or a week. In the preconfigured application, this method is typically invoked with intervals of a calendar month or a calendar week. The business component is returned from Calendar mode to its regular mode by the ClearGridBeginEndDate Method method. Table 9 describes the method arguments for SetGridBeginEndDate. |
Siebel Developer's Reference | Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |