API CreateProductReplacements: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Založena nová stránka s textem „a“ |
Bez shrnutí editace |
||
| Řádek 1: | Řádek 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, 08: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.