DataFactory Update: Randomize inventory status

Tuesday, Mar 12, 2019

Randomize inventory status for RMA and InboundShipment receiving via DataFactory

DataFactory has been updated to allow for simulating RMA and InboundShipment receiving into various inventory statuses. This is useful for testing the various receiving scenarios and how they impact inventory counts.

At the time of writing this, the statuses which inventory can be received into are the following:

- damaged
- quality-control
- refurbishing
- under-investigation
- available

RMA Event

randomize_inventory_statuses is now an acceptable field in the JSON request.

{
  "customer_identifier": "rma2345234",
  "event": "receiveFull",
  "randomize_inventory_statuses": true
}

This will trigger a simulation receipt of the return, receiving the items into the outlined random statuses.

See the full DataFactory RMA Event spec here.

InboundShipment Event

randomize_inventory_statuses is now an acceptable field in the JSON request.

{
  "customer_identifier": "shipment2345234",
  "event": "receivingCompleted",
  "randomize_receipt_qty": true,
  "randomize_inventory_statuses": true
}

This will trigger a simulation receipt of the return, receiving the items into the outlined random statuses.

Note: ‘randomize_inventory_statuses’ can only be specified when event is ‘receivingCompleted’. Otherwise it is ignored.

See the full DataFactory InboundShipment Event spec here.

Don’t hesitate to reach out to Chris, Andy, or Christopher with any questions.