API CreateUniversalPartsCategory: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Založena nová stránka s textem „==== Description ==== Method allows You to create new universal parts category in system. ==== Exact name ==== <code>API_CreateUniversalPartsCategory</cod…“ |
Bez shrnutí editace |
||
| Řádek 16: | Řádek 16: | ||
!Relation | !Relation | ||
|- | |- | ||
|@ | |@ParentID | ||
|int | |int | ||
| | | | ||
|ID | |Parent category ID | ||
| | | | ||
|- | |||
|@Name | |||
|nvarchar(250) | |||
| | |||
|Name | |||
| | |||
|- | |||
|@Description | |||
|nvarchar(800) | |||
| | |||
|Description | |||
| | |||
|- | |||
|@SortIndex | |||
|int | |||
| | |||
|Sort index | |||
| | |||
|- | |||
|@IsRoot | |||
|bit | |||
| | |||
|Is root | |||
| | |||
|- | |||
|@IsTop | |||
|bit | |||
| | |||
|Is top | |||
| | |||
|} | |} | ||
==== Example ==== | ==== Example ==== | ||
<syntaxhighlight lang="sql"> | <syntaxhighlight lang="sql"> | ||
EXEC [API_CreateUniversalPartsCategory] @ | EXEC [API_CreateUniversalPartsCategory] @ParentID= 1 ,@Name = 'Name' ,@Description= 'Description' ,@SortIndex= 0 ,@IsRoot= 0 ,@IsTop= 0 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==== Notices ==== | ==== Notices ==== | ||
None. | None. | ||
Verze z 31. 7. 2017, 12:59
Description
Method allows You to create new universal parts category in system.
Exact name
API_CreateUniversalPartsCategory
Type
Standard executable stored procedure.
Specification
| Parameter | Data type | Value range | Description | Relation |
|---|---|---|---|---|
| @ParentID | int | Parent category ID | ||
| @Name | nvarchar(250) | Name | ||
| @Description | nvarchar(800) | Description | ||
| @SortIndex | int | Sort index | ||
| @IsRoot | bit | Is root | ||
| @IsTop | bit | Is top |
Example
EXEC [API_CreateUniversalPartsCategory] @ParentID= 1 ,@Name = 'Name' ,@Description= 'Description' ,@SortIndex= 0 ,@IsRoot= 0 ,@IsTop= 0
Notices
None.