API RemoveProductOEM: 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 remove product replacement in system. ==== Exact name ==== <code>API_RemoveProductReplacements</code> ==== Typ…“)
 
Řádka 1: Řádka 1:
 
==== Description ====
 
==== Description ====
Method allows You to remove product replacement in system.
+
Method allows You to remove product original equipment manufacturer in system.
  
 
==== Exact name ====
 
==== Exact name ====
<code>API_RemoveProductReplacements</code>
+
<code>API_RemoveProductOEM</code>
  
 
==== Type ====
 
==== Type ====
Řádka 16: Řádka 16:
 
!Relation
 
!Relation
 
|-
 
|-
|@ID
+
|@GroupID
 
|int
 
|int
 
|
 
|
|Internal system id
+
|GroupID
|API_GetProductReplacements.ID
+
|API_GetProductGroups.ID
 +
|-
 +
|@OEM
 +
|nvarchar(40)
 +
|
 +
|Original Equipment Manufacturer
 +
|
 
|}
 
|}
  
Řádka 30: Řádka 36:
 
<syntaxhighlight lang="sql">
 
<syntaxhighlight lang="sql">
 
  DECLARE @return_value int
 
  DECLARE @return_value int
  EXEC @return_value = [API_RemoveProductReplacements]
+
  EXEC @return_value = [API_RemoveProductOEM]
  @ID = 3
+
  @GroupID = 3,
 +
@OEM = 'OE123'
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
==== Notices ====
 
==== Notices ====
 
None.
 
None.

Verze z 12. 11. 2018, 15:54

Description

Method allows You to remove product original equipment manufacturer in system.

Exact name

API_RemoveProductOEM

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@GroupID int GroupID API_GetProductGroups.ID
@OEM nvarchar(40) Original Equipment Manufacturer

Return

0 : OK
100 : Item does not exist

Example

 DECLARE @return_value int
 EXEC @return_value = [API_RemoveProductOEM]
 @GroupID = 3,
 @OEM = 'OE123'

Notices

None.