API CreateProductReplacements: Porovnání verzí
Z Podpora.nextis.cz
(Založena nová stránka s textem „a“) |
|||
| Řádka 1: | Řádka 1: | ||
| − | + | ==== Description ==== | |
| + | Method allows You to create new product replacements 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. | ||
Verze z 29. 9. 2017, 09:05
Description
Method allows You to create new product replacements 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.