API CreateVATRate: Porovnání verzí

Z Podpora.nextis.cz
Přejít na: navigace, hledání
(Založena nová stránka s textem „==== Description ==== Method allows You to create new VAT rate in system. ==== Exact name ==== <code>API_CreateVATRate</code> ==== Type ==== Standard exe…“)
 
 
(Není zobrazena jedna mezilehlá verze od stejného uživatele.)
Řádka 22: Řádka 22:
 
|
 
|
 
|-
 
|-
|@ShortName
+
|@Value
|nvarchar(50)
+
|decimal(18,2)
 
|
 
|
|Short name
+
|Value
 +
|
 +
|-
 +
|@IsActive
 +
|int
 +
|
 +
|Is active
 
|
 
|
 
|}
 
|}
 +
 +
==== Return ====
 +
0 : OK
 +
100 : Item could not be created
  
 
==== Example ====
 
==== Example ====
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
EXEC [API_CreateVATRate] @Name= 'VAT 7' ,@Value= 7 ,@IsActive = 1
+
DECLARE @return_value int
 +
EXEC @return_value = [API_CreateVATRate] @Name= 'VAT 7' ,@Value= 7 ,@IsActive = 1
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
==== Notices ====
 
==== Notices ====
 
None.
 
None.

Aktuální verze z 22. 9. 2017, 09:45

Description

Method allows You to create new VAT rate in system.

Exact name

API_CreateVATRate

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@Name nvarchar(50) Name
@Value decimal(18,2) Value
@IsActive int Is active

Return

0 : OK
100 : Item could not be created

Example

 DECLARE @return_value int
 EXEC @return_value = [API_CreateVATRate] @Name= 'VAT 7' ,@Value= 7 ,@IsActive = 1

Notices

None.