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

CSSBCBase Methods


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

EvalBoolExpr

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.

Argument
Description

expr_string

The conditional expression to be evaluated.

Origin

Implemented in CSSBCBase.

Invocable

This method can be invoked through InvokeMethod only.

Can be invoked by:
Server Script
Browser Script
Custom Button
Command
External Interfaces
Comment

Yes

Yes

No

No

Yes

 

EvalExpr

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

Origin

Implemented in CSSBCBase.

Invocable

This method can be invoked through InvokeMethod only.

Can be invoked by:
Server Script
Browser Script
Custom Button
Command
External Interfaces
Comment

Yes

Yes

No

No

Yes

 

IsActive

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

Origin

Implemented in CSSBCBase.

Invocable

This method can be invoked through InvokeMethod only.

Can be invoked by:
Server Script
Browser Script
Custom Button
Command
External Interfaces
Comment

Yes

Yes

Yes

No

Yes

 

Revise

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.

See also

Active Field

Revision Field

Revision Copy Field n

Origin

Implemented in CSSBCBase.

Invocable

This method can be invoked through InvokeMethod only.

Can be invoked by:
Server Script
Browser Script
Custom Button
Command
External Interfaces
Comment

Yes

Yes

Yes

No

Yes

 

Example: Command

From the Siebel Call Center Site Map, choose Agreements > List. In the Agreement List Applet No Parent in the resulting My Agreement List View, the Revise method underlies the Revise command in the main menu. By choosing Revise, the new record's Revision field is incremented.

Sequence

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, as described above, 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 eBusiness Applications.

See also

Sequence Field

Sequence Use Max

Origin

Implemented in CSSBCBase

Invocable

This method can be invoked through InvokeMethod only.

Can be invoked by:
Server Script
Browser Script
Custom Button
Command
External Interfaces
Comment

Yes

Yes

Yes

Yes

Yes

 

SetAspect

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.

See also

Aspect User Properties

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

Invocable

This method can be invoked through InvokeMethod only.

Can be invoked by:
Server Script
Browser Script
Custom Button
Command
External Interfaces
Comment

Yes

Yes

No

No

No

 

Siebel Developer's Reference