API UpdateOrdersDetail
Z Podpora.nextis.cz
								
												
				Description
Method allows You to update order detail in system.
Exact name
API_UpdateOrdersDetail
Type
Standard executable stored procedure.
Specification
| Parameter | Data type | Value range | Description | Relation | 
|---|---|---|---|---|
| @ID | int | Internal system id | API_GetOrderDetail.ID | |
| @DeliveredQuantity | decimal(18,4) | Delivered quantity | ||
| @CanceledQuantity | decimal(18,4) | Canceled quantity | 
Return
0 : OK 100 : Item could not be updated
Example
 DECLARE @return_value int
 DECLARE @ID int
 DECLARE @DeliveredQuantity decimal(18,4)
 DECLARE @CanceledQuantity decimal(18,4)
 
 set @ID = 15 
 set @DeliveredQuantity = 0
 set @CanceledQuantity = 3
 
 EXECUTE @return_value = [API_UpdateOrdersDetail] 
   @ID
  ,@DeliveredQuantity 
  ,@CanceledQuantity
Notices
None.
