库存调整单状态变更
更新时间: 2023-09-14 20:27:29 访问次数:1204
事件名称:EVENT_OMS_INVENTORY_ADJUST_STATUS_CHANGE
事件说明:
- 库存调整单状态变更时,触发事件。调整单状态有:已完成(FSC)、已作废(VO)。
- 支持的调整单类型:箱产品/套装产品转单品(OSF61)、库存组织调整(OSF64)、条码值调整(OSF65)。
- 单一产品转箱产品(OSF62)目前仅支持入库时使用了自动组箱增值服务后,系统自动下单。完成后会推送此类调整单据已完成状态。字段说明请求
| 名称 | 类型 | 必填 | 字段 | 说明 |
|---|---|---|---|---|
| uuid | String(30) | Y | 记录唯一ID | |
| docType | String(20) | Y | 调整单类型 | OSF61:箱产品/套装产品转单 OSF62:单一产品转箱产品 OSF64:库存组织调整 OSF65:条码值调整 |
| winitProductCode | String(30) | Y | Winit产品编码 | 例如:OSF611005741 |
| orderNo | String(128) | Y | 调整单号 | |
| sellerOrderNo | String(128) | N | 客户订单号 | |
| status | String(20) | Y | 调整单状态 | FSC:已完成 VO:已作废 |
| statusTime | DateTime | Y | 状态时间 | 时间戳 |
| adjustResultList | List | O | 调整结果清单 | 当订单状态为已完成(FSC)时,才会返回调整结果清单 |
| -|transferOutInfo | Object | Y | 调出商品 | |
| -|-|merchandiseSerno | String(30) | Y | 商品条码 | WINIT商品唯一标识 |
| -|-|merchandiseCode | String100) | Y | Winit商品编码 | |
| -|-|specification | String100) | N | 规格 | |
| -|-|skuType | String(30) | Y | SKU类型 | BOX:箱商品 SUITE:套装商品 SINGILE:单一商品 |
| -|-|standardPartsQty | Integer | N | 标准件数 | |
| -|-|barcodeValue | String(128) | O | 条码值 | |
| -|-|inventoryOrgCode | String(128) | O | 库存组织编码 | |
| -|-|quantity | Integer | Y | 调出库存单元数量 | |
| -|transferInInfo | Object | Y | 调入商品 | |
| -|-|merchandiseSerno | String(30) | Y | 商品条码 | WINIT商品唯一标识 |
| -|-|merchandiseCode | String100) | Y | Winit商品编码 | |
| -|-|specification | String100) | N | 规格 | |
| -|-|skuType | String(30) | Y | SKU类型 | BOX-箱商品 SUITE-套装商品 SINGILE-单一商品 |
| -|-|standardPartsQty | Integer | N | 标准件数 | |
| -|-|barcodeValue | String(128) | O | 条码值 | |
| -|-|inventoryOrgCode | String(128) | O | 库存组织编码 | |
| -|-|quantity | Integer | Y | 调入库存单元数量 |
返回
注:返回success即可,无需加引号逗号等其他信息
| 名称 | 类型 | 字段 | 说明 |
|---|---|---|---|
| success | String(7) | 接收成功 | 消息接收成功 |
| fail | String(4) | 接收失败 | 消息接收失败 |
示例
解密后报文示例
[{"uuid": "bd5b028b-369d-494f-bf73-58514ca80a08","docType": "OSF61","orderNo": "WT0001","status": "FSC","statusTime": 1660118978433,"adjustResultList": [{"transferOutInfo": {"merchandiseSerno": "M01010001","merchandiseCode": "1000019","specification": "01","skuType": "BOX","standardPartsQty": 10,"barcodeValue": "XT1111","inventoryOrgCode": "NJI","quantity": 1},"transferInInfo": {"merchandiseSerno": "M01010003","merchandiseCode": "1000019","specification": "01","skuType": "SINGLE","standardPartsQty": 1,"barcodeValue": "XT1111","inventoryOrgCode": "NJI","quantity": 10}}]}]
开发者返回的示例
success
