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

CSSBCFINOppty Methods


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

CanUpdate

The CanUpdate method evaluates the sales stage of the current record and returns a Boolean value indicating whether or not the record can be updated. If the sales stage is Delivered or Won, the CanUpdate method returns FALSE.

Argument
Description
fieldName
The name of the field that contains the sales stage status.
Origin
Overridden from CSSBCOppty.
Invocable
You can invoke CanUpdate from server script, browser script, and business services.
However, you cannot invoke this method through custom buttons and commands.

CreateSalesStep

The CreateSalesStep method populates the Contact Opportunity Sales Step view with the sales steps defined for the organization and creates an opportunity in the Sales Step Administration screen.

Origin
Implemented in CSSBCFINOppty.
Invocable
You can invoke CreateSalesStep from server script, browser script, and business services.
You can also invoke this method through custom buttons and commands.

HasFieldChanged

The HasFieldChanged method returns a Boolean value indicating whether or not the specified field has changed.

Argument
Description
BusComp
The name of the business component that contains the field.
fieldName
The name of the field.
newValue
The new value to put in the field.
oldValue
The previous value of the field.
Origin
Implemented in CSSBCFINOppty.
Invocable
You can invoke HasFieldChanged from server script, browser script, and business services.
However, you cannot invoke this method through custom buttons and commands.

IsAutoCreateSalesStepEnabled

The IsAutoCreateSalesStepEnabled method returns a Boolean value indicating whether or not the eAuto Enable Create Sales Step user property is enabled.

Origin
Implemented in CSSBCFINOppty.
Invocable
You can invoke IsAutoCreateSalesStepEnabled from server script, browser script, and business services.
You can also invoke this method through custom buttons and commands.

NewCorrespondence

The NewCorrespondence method opens a new correspondence. It is used for enabling Send Letter (CTRL-L) directly from the business component.

Origin
Implemented in CSSBCFINOppty.
Invocable
You can invoke NewCorrespondence from browser script, server script, and business services.
You can also invoke this method through custom buttons and commands.

OnWriteRecord

The OnWriteRecord method is overridden to update the WorkPlan's ActualNum of Primary Employee of the Opportunity according to Sales Stage, and Type; and to update StoreBudget's ActualNum according to Organization.

Origin
Overridden from CSSBCOppty.
Invocable
You can invoke OnWriteRecord from server script, browser script, and business services.
However, you cannot invoke this method through custom buttons and commands.

SetSecureAdminView

When invoked on the business component, the SetSecureAdminView method places the business component into the Secured Admin view mode if the current business component is in the admin mode. This, in turn, clears the search specification of the business component.

Origin
Implemented in CSSBCFINOppty.
Invocable
You can invoke SetSecureAdminView from browser script, server script, and business services.
You can also invoke this method through custom buttons and commands.

 Siebel Developer's Reference 
 Published: 23 October 2003