API RemoveBranch: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Bez shrnutí editace |
Bez shrnutí editace |
||
| Řádek 1: | Řádek 1: | ||
=== Description === | |||
Method allows You to remove branch in system. | |||
==== Exact name ==== | |||
<code>API_RemoveBranch</code> | |||
==== Type ==== | |||
Standard executable stored procedure. | |||
==== Specification ==== | |||
{| class="wikitable" | |||
!Parameter | |||
!Data type | |||
!Value range | |||
!Description | |||
!Relation | |||
|- | |||
|@ID | |||
|int | |||
| | |||
|Branches ID | |||
(could be equal to ID in Your internal system) | |||
|API_GetBranches.ID | |||
|} | |||
=== Return === | |||
0 : OK | 0 : OK | ||
100 : Item does not exist | 100 : Item does not exist | ||
| Řádek 9: | Řádek 32: | ||
==== Example ==== | |||
<syntaxhighlight lang="sql"> | |||
DECLARE @return_value int | DECLARE @return_value int | ||
EXEC @return_value = [API_RemoveBranch] | EXEC @return_value = [API_RemoveBranch] | ||
@ID = 3 | @ID = 3 | ||
</syntaxhighlight> | |||
==== Notices ==== | |||
None. | |||
Verze z 25. 7. 2017, 06:43
Description
Method allows You to remove branch in system.
Exact name
API_RemoveBranch
Type
Standard executable stored procedure.
Specification
| Parameter | Data type | Value range | Description | Relation |
|---|---|---|---|---|
| @ID | int | Branches ID
(could be equal to ID in Your internal system) |
API_GetBranches.ID |
Return
0 : OK 100 : Item does not exist 200 : There is connection to Customer
Example
DECLARE @return_value int
EXEC @return_value = [API_RemoveBranch]
@ID = 3
Notices
None.