API CreateUnit: 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 unit in system. ==== Exact name ==== <code>API_CreateUnit</code> ==== Type ==== Standard executable…“)
 
Řádka 16: Řádka 16:
 
!Relation
 
!Relation
 
|-
 
|-
|@Title
+
|@Name
 
|nvarchar(50)
 
|nvarchar(50)
 
|
 
|
|Title
+
|Name
 +
|
 +
|-
 +
|@ShortName
 +
|nvarchar(50)
 +
|
 +
|Short name
 
|
 
|
 
|}
 
|}
Řádka 25: Řádka 31:
 
==== Example ====
 
==== Example ====
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
EXEC [API_CreateUnit] @Name= 'Title' ,@ShortName= 'ss'
+
EXEC [API_CreateUnit] @Name= 'Yard' ,@ShortName= 'yd'
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
==== Notices ====
 
==== Notices ====
 
None.
 
None.

Verze z 1. 8. 2017, 10:44

Description

Method allows You to create new unit in system.

Exact name

API_CreateUnit

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@Name nvarchar(50) Name
@ShortName nvarchar(50) Short name

Example

EXEC [API_CreateUnit] @Name= 'Yard' ,@ShortName= 'yd'

Notices

None.