Lock Inward Order API (Beta)

Inbound |PUT|/orders/inward/{orderCode}/{locationCode}

Summary

This API can be used to block any Inward order created in Increff system for any futher updation.

Once the Inward Order is marked as LOCKED, the External System will not be able to update the Inward Order through the Update Inward Order API

Once the Inward Order is marked as Locked , the user is allowed to only start the GRN process.

Description

External systems can use the Update Inward Order API to make updates in an existing Inward order but to block any Inward order for further amendments there is a new state introduced as LOCKED

In Increff System, for every Channel there will be a initial configuration to be enabled on request of Client which will allow the external system to update any Inward Order.

  1. For an Inward PO the PO Amendment configuration Enabled,

    1. If ASN are being sent by ERP, then Inward PO gets LOCKED on approval of first ASN.

    2. If ERP does not have ASN workflow, then ERP has to explicitly use the Lock API to make the Inward order as LOCKED for further amendment.

  2. For Inward PO with the PO Amendment configuration Disabled

    1. Inward PO gets LOCked post validation automatically.

 

Request

Path Parameters

Parameter Name

Data Type

Description

Mandatory

orderCode

String

orderCode of the order in consideration

yes

locationCode

String

locationCode of the warehouse where the order is created

yes

Response

 

Empty Body

HttpStatus: 200