API UpdateUniversalPartsCategoryConnection: Porovnání verzí

Z Podpora.nextis.cz
Přejít na: navigace, hledání
 
Řádka 35: Řádka 35:
 
|}
 
|}
  
 +
==== Return ====
 +
0 : OK
 +
100 : Item could not be updated
  
 
==== Example ====
 
==== Example ====
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
 +
DECLARE @return_value int
 
  DECLARE @ID INT  
 
  DECLARE @ID INT  
 
  DECLARE @GroupID INT  
 
  DECLARE @GroupID INT  
Řádka 48: Řádka 52:
 
  WHERE  id = 3
 
  WHERE  id = 3
 
   
 
   
  EXECUTE [API_UpdateUniversalPartsCategoryConnection]  
+
  EXECUTE @return_value = [API_UpdateUniversalPartsCategoryConnection]  
 
   @ID,  
 
   @ID,  
 
   @GroupID,  
 
   @GroupID,  

Aktuální verze z 22. 9. 2017, 09:18

Description

Method allows You to update universal parts category connection in system.

Exact name

API_UpdateUniversalPartsCategoryConnection

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@ID int Internal system id
@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 updated

Example

 DECLARE @return_value int
 DECLARE @ID INT 
 DECLARE @GroupID INT 
 DECLARE @FolderID INT 
 
 SELECT @ID = [ID], 
       @GroupID= [GroupID], 
       @FolderID = 2
 FROM   [API_GetUniversalPartsCategoryConnection] 
 WHERE  id = 3
 
 EXECUTE @return_value = [API_UpdateUniversalPartsCategoryConnection] 
  @ID, 
  @GroupID, 
  @FolderID

Notices

None.