pixiUpdateSOrderline

This API call updates an supplier orderline, by the given supplier orderline ID. The orderline ID can be received by the API call pixiGetSOrderlines.

Since pixi version: LOU Official (6.3.0.4452) Additional notes: General info

    The API call is simulating the updating of supplier orderlines like in pixi* web buying.  
    
    There are certain limitations when updating the lines depending on the status of the supplier order.
    
    When order is in status **NEW** or **BES** it is possible to update:
    
     - **OrderQty**
     - **SupplPrice**
     
    In status **CON** the QtyNotDelivered can be set.
    
    **EstimatedDelivery** and **Note** parameters have no status restrictions.
    
    
    ----------
    
    
    
    **Important**
    
    The parameter **QtyReceived** is no longer in use. The only way to set the received quantity is using the corresponding delivery for the supplier order.
    
    When setting up a new  OrderQty or SupplPrice the discounts set on the lines will be automatically applied when calculating the orderline total.
    Note that modifying OrderQty or SupplPrice is not possible when order is has status confirmed or closed (CON, CLS).
    Based on the line totals also the header values will get refreshed. 
    
    
    ----------
    
    
    Currently the automatic calculation of block prices and bonuses set per supplier are not considered when using the API call and need to be manually checked in pixi* web buying.

Request

POST https://apigateway.descartes.com/tms/pixi/pixiUpdateSOrderline

Request body

Name Type Required Description
Note string false

Adds a note to the given supplier orderline

Type: varchar(1024)

Default value:

Example: abcdefg

Available from: LOU Official (6.3.0.4452)

OrderQty integer false

Changes the ordered quantity (Only if supplier order is on statuses (NEW, BES)

Type: int

Default value: 0

Example: 123

Available from: LOU Official (6.3.0.4452)

UserName string true

Username which will be displayed in the update history

Type: varchar(50)

Default value:

Example: abcdefg

Available from: LOU Official (6.3.0.4452)

SupplPrice number false

Updates the supplier price for this item in this supplier orderline. The item supplier price itself is not changed for the item, only in this supplier order document. (Only if supplier order is on statuses (NEW, BES)

Type: decimal

Default value: NULL

Example: 9.99

Available from: LOU Official - Update 46 (6.9.46.27927)

QtyReceived integer false

Obsolete - received quantity can only be set with delivery document

Type: int

Default value: 0

Example: 123

Available from: LOU Official (6.3.0.4452)

SorderlineKey integer true

Supplier orderline ID

Type: int

Default value:

Example: 123

Available from: LOU Official (6.3.0.4452)

QtyNotDelivered integer false

Writes the quantity which was not delivered to the supplier orderline (Only updated when supplier order is on status CON, @SupplierPrice is NULL and @OrderQty IS NULL or 0)

Type: int

Default value: 0

Example: 123

Available from: LOU Official (6.3.0.4452)

EstimatedDelivery string false

Sets the estimated delivery date for this supplier orderline

Type: datetime

Default value: NULL

Example: YYYY-MM-DD hh:mm:ss

Available from: LOU Official (6.3.0.4452)


Response

1. Status output

Name Type Description
Message string

Description of the status

Type: varchar (200)

Available from: 25.06 (25.6.0.58802)

ReturnCode string

Execution status (OK/ERROR)

Type: varchar (20)

Available from: 25.06 (25.6.0.58802)