pixiUpdateDelivery

API call updates the delivery header values

Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes: Closing a delivery:

    With this API call it is possible to change the status of the delivery. It is important to know that when we close the delivery the items will **not automatically** be **added to stock**. Regardless of the setting BatchBinItemsOnDelivery value. 
    To put items to stock we suggest to use API call **pixiSetStockMultiple**.
    
    A delivery can be **locked** by a **mobile user**. Indicating that a person is currently processing the delivery.

Request

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

Request body

Name Type Required Description
Note string false

Delivery note

Type: ntext

Default value: NULL

Example:

Available from: LOU Official - Update 46 (6.9.46.27927)

Status string false

Delivery status

Type: varchar(3)

Default value: NULL

Example: abcdefg

Available from: LOU Official - Update 46 (6.9.46.27927)

SupplNr string false

(obsolete) Supplier number can not be changed on the delivery anymore

Type: varchar(4)

Default value: NULL

Example: abcdefg

Available from: LOU Official - Update 46 (6.9.46.27927)

SDelHkey integer false

Filter: Delivery ID

Type: int

Default value: NULL

Example: 123

Available from: LOU Official - Update 46 (6.9.46.27927)

UserName string false

Update user name (use when updating from web aplication)

Type: varchar(50)

Default value: API

Example: abcdefg

Available from: LOU Official - Update 46 (6.9.46.27927)

PiccoUser string false

Mobile user name (use when executing from a mobile device)

Type: varchar(59)

Default value: NULL

Example: abcdefg

Available from: LOU Official - Update 46 (6.9.46.27927)

extOrderNr string false

Matching supplier order numbers for delivery are automatically populated, when updating the values get overwritten.

Type: varchar(8000)

Default value: NULL

Example: abcdefg

Available from: LOU Official - Update 46 (6.9.46.27927)

LockDelivery boolean false

Lock the delivery while working on it

Type: bit

Default value: 0

Example: 0 or 1

Available from: LOU Official - Update 46 (6.9.46.27927)

extInvoiceNr string false

External invoice number for delivery (used for matching with external system)

Type: varchar(25)

Default value: NULL

Example: abcdefg

Available from: LOU Official - Update 46 (6.9.46.27927)

DeliveryNumber integer false

Filter: Delivery number

Type: int

Default value: NULL

Example: 123

Available from: LOU Official - Update 46 (6.9.46.27927)


Response

1. Call status

Name Type Description
ReturnMSG string

Return message description

Type: VARCHAR

Available from: 25.06 (25.6.0.58802)