Creating the Virtual Business Component
You start by creating the virtual business component.
To create the virtual business component
In the Object Explorer, click Business Component.
- In the Business Components list, create a new business component
using values from the following table.
Property Value Hierarchy Parent Field
Id
In Business Components list, right-click the record you created in Step 2, and then click Edit Server Scripts.
In the Scripting Language dialog box, choose eScript, and then click OK.
In the BusComp Script window, expand the BusComp tree, and then click BusComp_PreInvokeMethod.
In the script editing window, remove the existing script, and then enter the following script:
function BusComp_PreInvokeMethod (MethodName) { TheApplication().Trace(this.Name() + ".PreInvoke." + MethodName + "()"); return (ContinueOperation); }
In the BusComp tree, click BusComp_InvokeMethod, remove the existing script, and then enter the following script:
function BusComp_InvokeMethod (MethodName) { TheApplication().Trace(this.Name() + ".Invoke." + MethodName + "()"); }
In the Object Explorer, expand the Business Components tree, and then click Field.
In the Fields list, add fields to your virtual business component using values from the following table.
Name Type Has Children
DTYPE_BOOL
Is Expanded
DTYPE_BOOL
Last Child Info
DTYPE_TEXT
Outline Number
DTYPE_TEXT