Table 15. SWE Methods
|
|
Required Args (with Description) |
Optional Args (with Description) |
|
Used in a tree control to collapse an expanded item on the tree. |
SWETreeItem: Specify the path of the item relative to root. The path is a string of the form n.n.n.n...where n is an index of an item within its level. The index starts from 1. Example: 1.1.2. SWEView: Name of the view . SWEApplet: Name of the applet. |
|
|
Performs initialization, then calls CopyRecord on the business component. |
|
|
|
Performs initialization, then calls NewRecord on the business component. |
|
|
|
|
SweNamedQueries: Specify the name of the named query to be deleted. |
|
|
|
|
|
|
Drills down on the field as specified in the argument SWEField. |
SWEField: Specify the name of the applet field that you want to drilldown on. The drilldown information is specified in the repository. |
|
|
|
SWESeq: Specify the sequence number of the Edit template. You can have many Edit templates for an applet in Siebel Tools, each identified by the sequence number. |
List of arguments with name and value, where the name specifies the field name and the value specifies the field query specification. Will set field query specification before executing the query. |
|
Executes a query. The query specification of the fields is specified in the list of arguments. |
|
|
|
Executes a predefined query (PDQ). |
SWEView - name of the view. SWEQueryName - name of the PDQ. |
|
|
Used in a tree control to expand an item on the tree. |
SWETreeItem: Specify the path of the item relative to root. The path is a string of the form n.n.n.n...where n is an index of an item within its level. The index starts from 1. Example: 1.1.2. SWEView: Name of the view . SWEApplet: Name of the applet. |
|
|
Goes to the first set of records. The number of rows in a set is specified in the repository. |
|
|
|
Goes to the last set of records. |
|
|
|
Goes to the next set of records. |
|
|
|
Goes to the previous set of records. |
|
|
|
If the SWEPostnApplet and SWEPostnRowId arguments are specified, will execute a search for the specified rowId in the specified applet. If SWEQMApplet and SWEQMMethod arguments are specified, will invoke the method after going to the view. |
SWETargetView - name of the view. |
SWEKeepContext - if TRUE, keeps the current business object if going to a view that uses the same business object. SWEPostnApplet - name of the applet that the search should be executed on. SWEPostnRowId - rowId to search for. SWEQMApplet - name of the QueueMethod applet. This is the applet where the method (as specified in SWEQMMethod) should be invoked after going to the view. SWEQMMethod - name of the QueueMethod method. The method to be invoked. You can invoke only one method. SWEQMArgs - arguments of the QueueMethod method. |
|
For a hierarchical applet, moves the current record down the hierarchy by one level. |
|
|
|
For a hierarchical applet, moves the current record down the hierarchy within the same level. |
|
|
|
For a hierarchical applet, moves the current record up the hierarchy within the same level. |
|
|
|
|
|
|
|
If the applet has an association applet, shows the association popup applet. Otherwise, creates a new record. |
|
|
|
Used in a tree control to scroll the tree to the next set of record. |
SWETreeItem: Specifies the path of the item relative to root. The path is a string of the form n.n.n.n...where n is an index of an item within its level. The index starts from 1. Example: 1.1.2. SWEView: Name of the view . SWEApplet: Name of the applet. |
|
|
For a hierarchical applet, moves the current record down the hierarchy by one level. |
|
|
|
Makes sure the parent applet field has nothing picked from the pick applet. |
|
|
|
Picks the current row in a pick applet. |
|
|
|
Positions the record as specified in the arguments SWERowIds and SWERowId. If no arguments, does nothing. |
|
SWERowIds: a string specifying the row Id of the parent buscomps. SWERowId: the row Id of the record to position to. |
|
Sets the field values as specified in the list of arguments to the record being created or edited. |
|
List of arguments with name and value where the name specifies the field name and the value specifies the field value. Will set these field values before committing the record. |
|
Used in a tree control to scroll the tree to the previous set of records. |
SWETreeItem: Specify the path of the item relative to root. The path is a string of the form n.n.n.n...where n is an index of an item within its level. The index starts from 1. Example: 1.1.2. SWEView: Name of the view . SWEApplet: Name of the applet. |
|
|
Keeps the current field query specification and queries again. |
|
|
|
Saves the current query as a named query. The name is specified in the argument _SweNamedQueries. |
SweNamedQueries: Specify the name to save the query as. |
|
|
Used in a tree control to select an item of the tree. |
SWETreeItem: Specifies the path of the item relative to root. The path is a string of the form n.n.n.n...where n is an index of an item within its level. The index starts from 1. Example: 1.1.2. SWEView: Name of the view . SWEApplet: Name of the applet. |
|
|
Sorts the field as specified in the argument SWEField in ascending order. |
SWEField: Specifies the name of the applet field that you want to sort in ascending order. |
|
|
Sorts the field as specified in the argument SWEField in descending order. |
SWEField: Specifies the name of the applet field that you want to sort in descending order. |
|
|
Toggles to a different toggle applet. |
SWESeq: Sequence number of the togglet applet to toggle to. |
|
|
Undoes a record that is being created or edited. |
|
|
|
Commits a record that is being created or edited. |
SWERowId: Is the Row ID of the record to be saved. SWEReqRowId: Indicates that the Row ID is required in the operation. |
|