API CreateUniversalPartsCategoryConnection: Porovnání verzí

Z Podpora.nextis.cz
Přejít na: navigace, hledání
(Založena nová stránka s textem „==== Description ==== Method allows You to create new universal parts category connection in system. ==== Exact name ==== <code>API_CreateUniversalPartsCa…“)
 
 
(Není zobrazena jedna mezilehlá verze od stejného uživatele.)
Řádka 16: Řádka 16:
 
!Relation
 
!Relation
 
|-
 
|-
|@WorkshopID
+
|@GroupID
 
|int
 
|int
 
|
 
|
|ID of workshop from workshop list (see relation)
+
|ID of group from product groups list (see relation)
|API_GetWorkshops.ID
+
|API_GetProductGroups.ID
 +
|-
 +
|@FolderID
 +
|int
 +
|
 +
|ID of folder from universal parts categories list (see relation)
 +
|API_GetUniversalPartsCategories.ID
 
|}
 
|}
 +
 +
==== Return ====
 +
0 : OK
 +
100 : Item could not be created
  
 
==== Example ====
 
==== Example ====
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
EXEC [API_CreateUniversalPartsCategoryConnection] @GroupID= 1 ,@FolderID= 1
+
DECLARE @return_value int
 +
EXEC @return_value = [API_CreateUniversalPartsCategoryConnection] @GroupID= 1 ,@FolderID= 1
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
==== Notices ====
 
==== Notices ====
 
None.
 
None.

Aktuální verze z 22. 9. 2017, 10:17

Description

Method allows You to create new universal parts category connection in system.

Exact name

API_CreateUniversalPartsCategoryConnection

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@GroupID int ID of group from product groups list (see relation) API_GetProductGroups.ID
@FolderID int ID of folder from universal parts categories list (see relation) API_GetUniversalPartsCategories.ID

Return

0 : OK
100 : Item could not be created

Example

 DECLARE @return_value int
 EXEC @return_value = [API_CreateUniversalPartsCategoryConnection] @GroupID= 1 ,@FolderID= 1

Notices

None.