wdt.wms.stockout.purchasereturn.querywithdetail{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | params | 查询参数 | object | — | 可选 | 查询参数 |
| 1.1 | status | 出库单状态 | string | — | 可选 | 由逗号分隔的整数数组 出库单状态: 5已取消 48 未确认 50 待审核 77 拣货中,PDA拣货后 110已完成 |
| 1.2 | stockout_no | 出库单号 | string | — | 可选 | 出库单号 |
| 1.3 | create_start_time | 开始时间 | datetime | {{LAST_SYNC_TIME}} | 可选 | 起始时间(出库单创建时间),若无出库单号或采购退货单号,则为必填。 |
| 1.4 | warehouse_no | 仓库编号 | string | — | 可选 | 仓库编号 |
| 1.5 | src_order_no | 采购退货单号 | string | — | 可选 | 采购退货单号 |
| 1.6 | create_end_time | 结束时间 | datetime | {{CURRENT_TIME}} | 可选 | 结束时间(出库单创建时间),上同开始时间 |
| 1.7 | position | 是否按货位分组 | int | — | 可选 | 等于0为否,不等于0为是,不填为否 |
| 2 | pager | 分页 | object | — | 可选 | 分页 |
| 2.1 | page_size | 分页大小 | int | — | 可选 | 分页大小 |
| 2.2 | page_no | 页号 | int | — | 可选 | 从0开始 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | stockout_id | 出库单ida | int | — | 可选 | 出库单id |
| 2 | order_no | 出库单号 | string | — | 可选 | 出库单号 |
| 3 | src_order_no | 采购退货单号 | string | — | 可选 | 采购退货单号 |
| 4 | warehouse_no | 仓库编号 | string | — | 可选 | 仓库编号 |
| 5 | consign_time | 发货时间 | datetime | — | 可选 | 发货时间 |
| 6 | status | 出库单状态 | string | — | 可选 | 出库单状态 5: 已取消 48: 未确认 50: 待审核 65: 待处理 77: 拣货中 110: 已完成 |
| 7 | goods_count | 货品数量 | float | — | 可选 | 货品数量 |
| 8 | logistics_no | 物流编号 | string | — | 可选 | 物流编号 |
| 9 | post_fee | 邮费 | float | — | 可选 | 邮费 |
| 10 | package_fee | 包装费 | float | — | 可选 | 包装费 |
| 11 | receiver_name | 收件人姓名 | string | — | 可选 | 收件人姓名 |
| 12 | receiver_province | 省份id | string | — | 可选 | 省份id |
| 13 | receiver_city | 城市id | string | — | 可选 | 城市id |
| 14 | receiver_district | 地区id | string | — | 可选 | 地区id |
| 15 | receiver_address | 收件人地址 | string | — | 可选 | 收件人地址 |
| 16 | receiver_telno | 固话 | string | — | 可选 | 固话 |
| 17 | remark | 备注 | string | — | 可选 | 备注 |
| 18 | weight | 重量 | float | — | 可选 | 重量 |
| 19 | provider_no | 供应商编号 | string | — | 可选 | 供应商编号 |
| 20 | provider_name | 供应商名称 | string | — | 可选 | 供应商名称 |
| 21 | last_load_purchase_no | 最后一次引用的采购单号 | string | — | 可选 | 最后一次引用的采购单号 |
| 22 | goods_total_cost | 总成本价 | float | — | 可选 | 总成本价 |
| 23 | goods_total_amount | 总货款 | float | — | 可选 | 总货款 |
| 24 | details_list | 出库单明细 | array | — | 可选 | 出库单明细 |
| 24.1 | rec_id | 出库单明细id | int | — | 可选 | 出库单明细id |
| 24.2 | stockout_id | 出库单id | int | — | 可选 | 出库单id |
| 24.3 | spec_no | 商家编码 | string | — | 可选 | 商家编码 |
| 24.4 | goods_count | 货品数量 | float | — | 可选 | 货品数量 |
| 24.5 | total_amount | 货品总额 | float | — | 可选 | 货品总额 |
| 24.6 | sell_price | 折后价 | float | — | 可选 | 折后价 |
| 24.7 | remark | 备注 | string | — | 可选 | 备注 |
| 24.8 | brand_no | 品牌编号 | string | — | 可选 | 品牌编号 |
| 24.9 | brand_name | 品牌名称 | string | — | 可选 | 品牌名称 |
| 24.10 | goods_name | 货品名称 | string | — | 可选 | 货品名称 |
| 24.11 | goods_no | 货品编号 | string | — | 可选 | 货品编号 |
| 24.12 | spec_name | 规格名 | string | — | 可选 | 规格名 |
| 24.13 | spec_code | 规格码 | string | — | 可选 | 规格码 |
| 24.14 | cost_price | 成本价 | float | — | 可选 | 成本价 |
| 24.15 | weight | 重量 | float | — | 可选 | 重量 |
| 24.16 | goods_type | 货品类型 | int | — | 可选 | 货品类型 |
| 24.17 | goods_unit | 单位 | string | — | 可选 | 单位 |
| 24.18 | batch_no | 批次号 | string | — | 可选 | 批次号 |
| 24.19 | expire_date | 有效期 | string | — | 可选 | 有效期 |
| 24.20 | defect | 是否残次品 | bool | — | 可选 | true:残次品 false:正品 |
| 24.21 | position_no | 货位编号 | string | — | 可选 | 货位编号 |
| 24.22 | position_goods_count | 默认货位货品数 | float | — | 可选 | 默认货位货品数,传入参数(position)不为0时返回 |
旺店通·旗舰奇门的接口:采购退货出库单查询(wdt.wms.stockout.purchasereturn.querywithdetail),由轻易云数据集成平台 API 资产管理模块整理收纳,并随旺店通·旗舰奇门版本更新同步更新。