Zum einfachen Erstellen eines Code-Gerüstes für eine virtuelle Business Component in Siebel eScript kann folgendes Template verwendet werden:

    
    function Service_PreInvokeMethod (MethodName, Inputs, Outputs) {
    	if (MethodName == "Init") {
    		return(Init(Inputs, Outputs));
    	}
    	else if (MethodName == "Query") {
    		return(Query(Inputs, Outputs));
    	}
    	else if (MethodName == "PreInsert") {
    		return(PreInsert(Inputs, Outputs));
    	}
    	else if (MethodName == "Insert") {
    		return(Insert(Inputs, Outputs));
    	}
    	else if (MethodName == "Update") {
    		return(Update(Inputs, Outputs));
    	}
    	else if (MethodName == "Delete") {
    		return(Delete(Inputs, Outputs));
    	}
    	else {
    		return (ContinueOperation);
    	}
    }
    function Delete (Inputs, Outputs) {
       return (CancelOperation);
    }
    function Init (Inputs, Outputs) {
       return (CancelOperation);
    }
    function Insert (Inputs, Outputs) {
    	return (CancelOperation);
    }
    function PreInsert (Inputs, Outputs) {
       return (CancelOperation);
    }
    function Query(Inputs, Outputs) {
       return (CancelOperation);
    }
    function Update (Inputs, Outputs) {
    	return (CancelOperation);
    }