API CreateProductReplacements: Porovnání verzí
Z Podpora.nextis.cz
(Založena nová stránka s textem „a“) |
|||
(Není zobrazena jedna mezilehlá verze od stejného uživatele.) | |||
Řádka 1: | Řádka 1: | ||
− | + | ==== Description ==== | |
+ | Method allows You to create new product replacement in system. | ||
+ | |||
+ | ==== Exact name ==== | ||
+ | <code>API_CreateProductReplacements</code> | ||
+ | |||
+ | ==== Type ==== | ||
+ | Standard executable stored procedure. | ||
+ | |||
+ | ==== Specification ==== | ||
+ | {| class="wikitable" | ||
+ | !Parameter | ||
+ | !Data type | ||
+ | !Value range | ||
+ | !Description | ||
+ | !Relation | ||
+ | |- | ||
+ | |@GroupID | ||
+ | |int | ||
+ | | | ||
+ | |Group ID | ||
+ | |API_GetProductGroups.ID | ||
+ | |- | ||
+ | |@ReplacementID | ||
+ | |int | ||
+ | | | ||
+ | |Replacement ID | ||
+ | |API_GetProductGroups.ID | ||
+ | |} | ||
+ | |||
+ | ==== Return ==== | ||
+ | 0 : OK | ||
+ | 100 : Item could not be created | ||
+ | |||
+ | ==== Example ==== | ||
+ | <syntaxhighlight lang="sql"> | ||
+ | DECLARE @return_value int | ||
+ | EXEC @return_value = [API_CreateProductReplacements] @GroupID= 1 ,@ReplacementID= 3 | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | ==== Notices ==== | ||
+ | None. |
Aktuální verze z 29. 9. 2017, 09:05
Description
Method allows You to create new product replacement in system.
Exact name
API_CreateProductReplacements
Type
Standard executable stored procedure.
Specification
Parameter | Data type | Value range | Description | Relation |
---|---|---|---|---|
@GroupID | int | Group ID | API_GetProductGroups.ID | |
@ReplacementID | int | Replacement ID | API_GetProductGroups.ID |
Return
0 : OK 100 : Item could not be created
Example
DECLARE @return_value int
EXEC @return_value = [API_CreateProductReplacements] @GroupID= 1 ,@ReplacementID= 3
Notices
None.