API UpdateUniversalPartsCategoryConnection

Z Podpora.nextis.cz
Přejít na: navigace, hledání

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.