API CreateCurrency: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Bez shrnutí editace |
Bez shrnutí editace |
||
| Řádek 34: | Řádek 34: | ||
| | | | ||
|} | |} | ||
==== Return ==== | |||
0 : OK | |||
100 : Item could not be created | |||
==== Example ==== | ==== Example ==== | ||
<syntaxhighlight lang="sql"> | <syntaxhighlight lang="sql"> | ||
EXEC [API_CreateCurrency] @Name= 'Polish złoty' ,@Code= 'PLN' ,@Symbol= 'zł' | DECLARE @return_value int | ||
EXEC @return_value = [API_CreateCurrency] @Name= 'Polish złoty' ,@Code= 'PLN' ,@Symbol= 'zł' | |||
</syntaxhighlight> | </syntaxhighlight> | ||
==== Notices ==== | ==== Notices ==== | ||
None. | None. | ||
Aktuální verze z 22. 9. 2017, 08:44
Description
Method allows You to create new currency in system.
Exact name
API_CreateCurrency
Type
Standard executable stored procedure.
Specification
| Parameter | Data type | Value range | Description | Relation |
|---|---|---|---|---|
| @Name | nvarchar(50) | Name | ||
| @Code | nvarchar(50) | Code | ||
| @Symbol | nvarchar(50) | Symbol |
Return
0 : OK 100 : Item could not be created
Example
DECLARE @return_value int
EXEC @return_value = [API_CreateCurrency] @Name= 'Polish złoty' ,@Code= 'PLN' ,@Symbol= 'zł'
Notices
None.