API UpdateOrdersDetail: 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 update order detail in system. ==== Exact name ==== <code>API_UpdateOrdersDetail</code> ==== Type ==== Standar…“)
 
(Žádný rozdíl)

Aktuální verze z 28. 5. 2021, 11:44

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.