Skip to main content

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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).
  6. 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:

ParameterParameter NameParameter TypeParameter DescriptionRequirement
Transfer Order IDtransferintegerDynamic for each orderMandatory
Command Transition IDtransitionintegerPrepared and reported during OMS installationOptional if slug is given
SlugslugslugUnique slug for stste transitionOptional 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