API UpdateProductReplacements
Z Podpora.nextis.cz
Description
Method allows You to update product replacements in system.
Exact name
API_UpdateProductReplacements
Type
Standard executable stored procedure.
Specification
Parameter | Data type | Value range | Description | Relation |
---|---|---|---|---|
@ID | int | Internal system id | API_GetProductReplacements.ID | |
@GroupID | int | Group ID | API_GetProductGroups.ID | |
@ReplacementID | int | Replacement ID | API_GetProductGroups.ID |
Return
0 : OK 100 : Item could not be updated
Example
DECLARE @return_value int
DECLARE @ID int
DECLARE @GroupID int
DECLARE @ReplacementID int
SELECT @ID = [ID],
@GroupID = [GroupID],
@ReplacementID = 8
FROM [API_GetProductReplacements]
WHERE id = 3
EXECUTE @return_value = [API_UpdateProductReplacements]
@ID,
@GroupID,
@ReplacementID
Notices
None.