eScript Calculated Field Example - Siebel-scripting Typing CST Test
Loading…
eScript Calculated Field Example — Siebel-scripting Code
Compute a derived field based on two other fields in a record.
function BusComp_PreWriteRecord () {
var qty = parseInt(this.GetFieldValue("Quantity"));
var price = parseFloat(this.GetFieldValue("UnitPrice"));
this.SetFieldValue("TotalPrice", (qty * price).toString());
return (ContinueOperation);
}Siebel-scripting Language Guide
Siebel Scripting refers to the customization and automation of workflows, business logic, and user interactions within the Siebel CRM platform using proprietary scripting languages like Siebel eScript and Siebel VB.
Primary Use Cases
- ▸Automating field validations and default values
- ▸Performing calculations on forms or business components
- ▸Implementing business rules beyond declarative workflows
- ▸Customizing UI behavior such as dynamic visibility or enablement
- ▸Integrating Siebel with external applications or databases
Notable Features
- ▸Supports Siebel eScript (JavaScript-based) and VB scripting
- ▸Works on server-side and client-side business components
- ▸Event-driven scripting model (Pre/Post business component events)
- ▸Integration with workflows, business services, and applets
- ▸Debugging and logging via Siebel Tools and Administration screens
Origin & Creator
Developed by Siebel Systems (later acquired by Oracle) in the 1990s as part of its enterprise CRM platform to allow flexible application customization.
Industrial Note
Widely used in large enterprise CRM deployments across finance, telecom, healthcare, and retail to tailor the Siebel application to complex business workflows.