API UpdateTECDOC Brands: Porovnání verzí
Z Podpora.nextis.cz
Řá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 @TecDocID INT | DECLARE @TecDocID INT | ||
Řádka 48: | Řádka 52: | ||
WHERE ID = 3 | WHERE ID = 3 | ||
− | EXECUTE [API_UpdateTECDOC_Brands] | + | EXECUTE @return_value = [API_UpdateTECDOC_Brands] |
@ID, | @ID, | ||
@TecDocID, | @TecDocID, |
Aktuální verze z 22. 9. 2017, 09:41
Description
Method allows You to update TecDoc brands in system.
Exact name
API_UpdateTECDOC_Brands
Type
Standard executable stored procedure.
Specification
Parameter | Data type | Value range | Description | Relation |
---|---|---|---|---|
@ID | int | Internal system id | ||
@TecDocID | int | TecDoc ID | ||
@Name | nvarchar(80) | Name |
Return
0 : OK 100 : Item could not be updated
Example
DECLARE @return_value int
DECLARE @ID INT
DECLARE @TecDocID INT
DECLARE @Name nvarchar(255)
SELECT @ID = [ID],
@TecDocID = 300,
@Name = [Name]
FROM [API_GetTecDocBrands]
WHERE ID = 3
EXECUTE @return_value = [API_UpdateTECDOC_Brands]
@ID,
@TecDocID,
@Name
Notices
None.