API UpdateVATRate

Z Podpora.nextis.cz
Přejít na: navigace, hledání

Description

Method allows You to update branch in system.

Exact name

API_UpdateBranch

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@ID int Internal system id
@WorkshopID int Workshops ID

ID of workshops from workshops list (see relation)

@Name nvarchar(50) Name
@Value decimal(18,2) Value
@IsActive int Is active


Example

 DECLARE @ID INT 
 DECLARE @WorkshopID INT 
 
 SELECT @ID = id, 
       @WorkshopID = [workshopid], 
       @Name = 'Name2', 

 FROM   [api_getbranches] 
 WHERE  id = 3
 
 EXECUTE [Api_updatebranch] 
  @ID, 
  @WorkshopID,

Notices

None.