Product for Transfer Not Found & Wrong Product Command
Actors
- Akinon Order Management System (OMS)
- Integrated Application (ERP)
Domain Objects
- Packaging Order
- Transfer Order
- OMS Command (Packaging Order Command)
- Packaging Rule
- Transfer Scenario
Process
- The OMS application copies orders from the Akinon Omnitron Application to itself to prepare delivery/distribution plans, generate packaging orders and transfer them to operation points.
- If the products in the order have the Transferable feature enabled in any of the Packaging Rules in the distribution scenario, Transfer Orders are generated to send the missing products from different operation points to the package dispatch location by running the Transfer Scenario.
- Transfer order(s) are associated with Packaging Orders and with the order indirectly by marking the destination point as the customer’s shipping location, and the starting point as the stock location.
- When the product in the Transfer Order assigned to the Store/Warehouse is not available (insufficient stock) or the product is not suitable for shipping, the store employee informs the OMS using the Instore screens. If there is no Instore application, the command is run with OMS command services via the integrated software.
- The Transfer Order marked as “not found” is rescheduled by running the Transfer Scenario rules within the same transaction, and a different Transfer Order is created. This Transfer Order is learned by listening to the events of the OMS Transfers (OMS Webhooks).
- This command can only be run when the relevant Transfer Order is in the Waiting status. Running it in any of the In Transit, Ready for Shipment and Transferred statuses will trigger an error.
Command Parameters and Prerequisites
For each Transfer Order:
Parameter | Parameter Name | Parameter Type | Parameter Description | Requirement |
---|---|---|---|---|
Transfer Order ID | transfer | integer | Dynamic for each order | Mandatory |
Command Transition ID | transition | integer | Prepared and reported during OMS installation | Optional if slug is given |
Slug | slug | slug | Unique slug for stste transition | Optional if Command Transition ID is given |
POST
Product for Transfer Not Found & Wrong Product
Path: https://{customer_api_url}-oms.akinon.net/api/v1/oms/transfer_orders/<transferOrder_id>/command/
Request Body
{
"transition": <XXX>,
"slug": SSS,
"transfer_order": <TRANSFER_ORDER>
}
Successful Response
Status Code: 204 No Content