Siebel Developer's Reference > Business Component Classes > CSSBCBase Class >

CSSBCBase Methods


This topic describes the methods that are implemented in the CSSBCBase Class.

EvalBoolExpr Method

The EvalBoolExpr method evaluates a conditional Siebel expression against the current row and returns Y if the expression is true, or N in the result parameter. Table 4 describes the method argument for EvalBoolExpr.

Table 4. EvalBoolExpr Method Argument
Argument
Description

expr_string

The conditional expression to be evaluated.

Origin

Implemented in CSSBCBase.

Callable

From InvokeMethod using:

  • Server scripts
  • Browser scripts
  • External Interfaces

EvalExpr Method

The EvalExpr method evaluates a Siebel expression against the current row and returns the value in the result parameter.

Origin

Implemented in CSSBCBase.

Callable

From InvokeMethod using:

  • Server scripts
  • Browser scripts
  • External Interfaces

IsActive Method

The IsActive method determines whether the row is active by reading the Active field value and returns Y or N.

Origin

Implemented in CSSBCBase.

Callable

From InvokeMethod using:

  • Server scripts
  • Browser scripts
  • Custom buttons
  • External Interfaces

RefreshBusComp Method

This method re-executes the current query for the business component and places the focus back onto the record that was previously highlighted. The user sees that the data is refreshed but the same record is still highlighted in the same position in the list applet as before the RefreshBusComp method was invoked. For more information on this method, see the topic on InvokeMethod methods for the Business Component object in Siebel Object Interfaces Reference.

Origin

Implemented in CSSBCBase.

Callable

From InvokeMethod using:

  • Server scripts
  • Browser scripts
  • Custom buttons
  • External Interfaces

RefreshRecord Method

This method refreshes the currently highlighted record, which triggers an update of the business component fields in the client display and positions the cursor on the context record. For more information on this method, see the topic on InvokeMethod methods for the Business Component object in Siebel Object Interfaces Reference.

Origin

Implemented in CSSBCBase.

Callable

From InvokeMethod using:

  • Server scripts
  • Browser scripts
  • Custom buttons
  • External Interfaces

Revise Method

The Revise method creates a new revision of the current record. It is commonly used to create revisions of quote, order, and agreement records.

This method is similar to BusComp_CopyRecord, except:

  • Revise marks the current record as inactive if the Active Field user property is defined.
  • Revise locks the current record if the Locked Field and Locked By Field user properties are defined.
  • Revise increments the revision number of the new record. The field for the revision number is specified by the Revision Field user property.
  • Revise copies values in particular fields of the existing record to the new record, as specified by the Revision Copy Field user property.

For information about the BusComp_CopyRecord event, see Siebel Object Interfaces Reference.

Origin

Implemented in CSSBCBase.

Callable

From InvokeMethod using:

  • Server scripts
  • Browser scripts
  • Custom buttons
  • External Interfaces

Example Command

 

Navigate to the Agreements screen, then the Agreements List view. The My Agreements list appears. In the Agreement List Applet No Parent applet that underlies this list, the Revise method underlies the Revise command in the drop-down menu. By selecting a record and then choosing Revise, a new record is created that duplicates the selected record, but with the Revision field incremented by 1.

Related Topics

Revision Field

Revision Copy Field n

Sequence Method

The Sequence method regenerates the sequence numbers for all the records in the current business component for which sequencing has been set. The starting value of the sequence numbers is determined in one of the following ways:

  • For a business component that has a sequenced field, there is a corresponding sequence business component that has a Sequence field. The Predefault Value property of that Sequence field is the first option for defining the starting value for the sequence.

    For example, the FS Agreement Item business component has the sequenced field Line Number, as specified by the Sequence Field user property. In the corresponding FS Agreement Item.Line Number (Sequence) business component, the Sequence field's Predefault Value property can define the starting sequence value, usually other than 1.

  • If a predefault value is not set for the sequence, the sequence defaults to a starting value of 1.

NOTE:  Configuring a sequence field on a business component requires several tasks to be completed. For detailed information on creating sequence fields, see Configuring Siebel Business Applications.

Origin

Implemented in CSSBCBase

Callable

From InvokeMethod using:

  • Server scripts
  • Browser scripts
  • Custom buttons
  • Commands
  • External Interfaces
Related Topics

Sequence Field

Sequence Use Max

SetAspect Method

The SetAspect method sets and overrides the default aspect of the current business component.

This method is typically called by applet code or script to override the aspect of the business component with the applet's aspect. Table 5 describes the method arguments for SetAspect.

Table 5. SetAspect Method Arguments
Argument
Type
Description

aspect

string

The name of the aspect to set as current.

reset_bool

string

Optional. The value of the parameter is Y or N. If the value is Y, the aspect of the business component is reset to its default aspect, if it has one. If the value is N or the parameter is not included, the aspect specified in the first parameter is used.

Origin

Implemented in CSSBCBase

Callable

From InvokeMethod using:

  • Server scripts
  • Browser scripts
Related Topics

Aspect User Properties

Siebel Developer's Reference Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.