; PSPad clip definition file for eScript ; author: Neelmani Gautam ; last revision 04. May 2006 ; [TheApplication |B TheApplication Statement] TheApplication().| [RaiseErrorText |B RaiseErroText] RaiseErrorText("|"); [GetBusObject |B GetBusObject Function] GetBusObject("|"); [GetBusComp |B GetBusComp Function] GetBusComp("|"); [for |G for statement] for( |; ; ) { } [if |G if statement] if( |) { } [while |G While statement] while (|) { } [do |G do Statement] do (|) { } while [function |B Function Statement] function |(){ } [with |G With Statement] with |(){ } [NewPropertySet |B NewPropertySet] NewPropertySet(); [substring |R Substring Function] substring(|,); [Invoke |B Invoke Method] InvokeMethod(|,,); ;BusComp Methods [ActivateField |B Allows query to reterive data of specified field] ActivateField("|"); [ActivateMultipleFields |B Activates Multiple fields specified in PropertySet] ActivateMultipleFields("|"); [Associate |B Creates Many to Many Relationship] Associate("|"); [BusObject |B Retruns the BusinessObject] BusObject(); [ClearToQuery |B Clears Current Query] ClearToQuery(); [CountRecords |B Return number of Records of BusComp] CountRecords(); [DeactivateFields |B Deactivate all the fields of BusComp] DeactivateFields(); [DeactivateFields |B Deactivate the field Specified] DeactivateFields("|"); [DeleteRecord |B Removes the Current Record of BusComp] DeleteRecord(); [ExecuteQuery |B Returns a set of BusComp Records] ExecuteQuery(); [ExecuteQuery |B With ForwardBackward Cursor] ExecuteQuery(ForwardBackward); [ExecuteQuery |B With ForwardOnly Cursor] ExecuteQuery(ForwardOnly); [ExecuteQuery2 |B With cursor mode and ignoremaxcursor] ExecuteQuery2(|,); [FirstRecord |B Returns the first record of BusComp] FirstRecord(); [FirstSelected |B Moves Focus to first record of Multiple Selection] FirstSelected(); [GetAssocBusComp | Returns Association BusComp] GetAssocBusComp(); [GetNamedSearch |B Returns Named Search Specification] GetNamedSearch("|"); [GetFieldValue |B Get the field value of specified field] GetFieldValue("|"); [GetFormattedFieldValue |B Get field value in formatted way] GetFormattedFieldValue("|"); [GetLastErrCode |B Returns the latest error code encountered] GetLastErrCode(); [GetMVGBusComp |B Returns MVG Business Component] GetMVGBusComp("|"); [GetLastErrText |B Returns error text of last error] GetLastErrText(); [GetMultipleFieldValues |B Returns Values of Multiple fields as PropertySet] GetMultipleFieldValues("|SiebelPropertySet.FieldNames","SiebelPropertySet.fieldValues); [GetPicklistBusComp |B Returns Picklist BusComp Associated] GetPicklistBusComp("|"); [GetSearchExpr |B Retruns the current search experssion] GetSearchExpr(); [GetSearchSpec |B Returns the Search Sepcification specified by Field] GetSearchSpec("|"); [GetUserProperty |B Returns the value of the property specified] GetUserProperty("|"); [GetViewMode |B Returns the current visiblity mode for BusComp] GetViewMode(); [InvokeMethod(CreateFile) |B To Create a file in Siebel File System] InvokeMethod("CreateFile",|,,); [InvokeMethod(Generate Proposal) |B To Create a new Proposal Record] InvokeMethod("GenerateProposal",|,,); [InvokeMethod(GetFile) |B To get a file from siebel file system] InvokeMethod("GetFile",|); [InvokeMethod(PutFile) |B Update a file in Siebel File System with newer file] InvokeMethod("PutFile",|,); [InvokeMethod(RefreshRecord) |B Refreshes the business component] InvokeMethod("PutFile",|,); [InvokeMethod(SetAdminMode) |B Sets the Admin Mode] InvokeMethod("SetAdminMode", |) [LastRecord |B moves to the last record in the BusComp] LastRecord(); [Name |B Returns Name] Name(); [NewRecord |B Creates a New Record in BusComp] NewRecord(); [NextRecord |B Moves Cursor to the Next Record] NextRecord(); [NextSelected |B Moves cursor to next record in Multiple Selection] NextSelected(); [ParentBusComp |B Returns the parent BusComp] ParentBusComp(); [Pick |B Places currently selected record in picklist of BusComp] Pick(); [PreviousRecord |B Moves to the previous record in BusComp] PreviousRecord(); [RefineQuery |B Refines a query after the query has been executed] RefineQuery(); [Release |B Enables Release of BusComp and its resources] Release(); [SearchExpr |B Sets and Gets the search specification] SearchExpr("|"); [SetFieldValue |B Sets the value of the field specified] SetFieldValue("|",""); [SetFormattedFieldValue | Sets the formatted value of the field specified] SetFormattedFieldValue("|",""); [SetMultipleFieldValues |B Assigns new values to the fields specified] SetMultipleFieldValues("|"); [SetNamedSearch |B Sets the named Search Specification of BusComp] SetNamedSearch("|",""); [SetSearchExpr |B Sets an entire search expression] SetSearchExpr("|"); [SetSearchSpec |B sets search Specification on specified field] SetSearchSpec("|",""); [SetSortSpec |B Sets the Sorting specification] SetSortSpec("|"); [SetUserProperty |B Set the value of the specified user property] SetUserProperty("|", ""); [SetViewMode |B Sets the specified view mode] SetViewMode(|); [UndoRecord |B Reverses any uncommited changes made to record] UndoRecord(); [WriteRecord |B Commits to database any changes made to current record] WriteRecord(); ;Added by Sachin Gupta "Applet Methods" [ActiveMode |P Returns the name of the current WebTemplate mode.] ActiveMode(); [BusComp |P Returns the BusComp that is associated with the applet.] BusComp(); [BusObject |P Returns the BusObj for the BusComp of the applet.] BusObject(); [FindActiveXControl |P Returns a reference to a DOM element based on the name specified] FindActiveXControl("|"); [FindControl |P returns the control whose name is specified in the argument.] FindControl("|"); [InvokeMethod |P invokes the specialized or custom method specified by its argument.] InvokeMethod("|",); ;PropertySet Methods [GetFirstProperty |M Returns the first property name of Business Service] GetFirstProperty(); [GetNextProperty |M Returns the next property name of Business Service] GetNextProperty(); [GetProperty |M Returns value of the property specified] GetProperty("|"); [PropertyExists |M Returns a boolean indicating existense of Property] PropertyExists(); [RemoveProperty |M Removes a property from business Service] RemoveProperty("|"); [SetProperty |M Assigns a value to the property specified] SetProperty("|",""); [GetChild |M Retruns the child at the index specified] GetChild(|); [RemoveChild |M Removes the child at the index specified] RemoveChild(|); [GetChildCount |M Retruns the child count] GetChildCount(); [SetType |M Sets the Type] SetType("|"); [GetType |M Gets the Type] GetType(); [AddChild |M Adds a child to PropertySet] AddChild("|"); [Copy |M Returns the Copy of the PropertySet] Copy(); [GetPropertyCount |M Returns the PropertyCount for PropertySet] GetPropertyCount(); [GetValue |M Reterives the data value stored in attribute of PropertySet] GetValue(); [InsertChildAt |M Inserts the specified at the given index] InsertChildAt("|",); [RemoveProperty |M Removes the given PropertySet] RemoveProperty("|"); [Reset |M Removes every properties and child property from given PropertySet] Reset(); [SetValue |M Assigns DataValue to attribute of PropertySet] SetValue("|"); [Applet |N Returns the Name of the Applet of control] Applet(); [BusComp |N Returns the of BusComp of Control] BusComp(); [SetLabelProperty |N Sets the visual properties of the label] SetLabelProperty("|","");