Type: Stored procedure

Return value: int

Returns a negative value on failure.


@Force optional bit
If your procedure uses ADMIN_FORCE, this bit is true after the user has clicked OK.
@Id mandatory int
The search ID.
@MenuItemId mandatory int
@SaveAsNewSearch mandatory bit
If 1 and @Id is not null then the user wants a copy of an existing search.
@SearchGroupId mandatory int
@SearchName mandatory varchar(300)
@UserId mandatory int
The user saving the search.


Resultset: Search ID

Softadmin® needs a search ID so it can save the search's parameters.
Table count:
Row count:
SearchId mandatory int
SearchId of created/updated search.