wdt.stockout.order.query{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | start_time | 开始时间 | datetime | — | 必填 | 按最后修改时间增量获取数据,start_time作为开始时间,格式:yyyy-MM-dd HH:mm:ss |
| 2 | end_time | 结束时间 | datetime | — | 必填 | 按最后修改时间增量获取数据,end_time作为结束时间,格式:yyyy-MM-dd HH:mm:ss |
| 3 | order_type | 出库单类型 | string | — | 可选 | 2调拨出库,3采购退货出库,4盘亏出库,5生产出库,7其他出库,8多发出库,9纠错出库,10保修配件出库,11初始化出库,12jit拣货出库,13委外出库 |
| 4 | status | 出库单状态 | string | — | 可选 | 出库单状态5:已取消,50:待审核,55:已审核,95:已发货,110:已完成(默认查已发货已完成单据),113:异常发货 |
| 5 | warehouse_no | 仓库编号 | string | — | 可选 | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置)(不支持一次推送多个仓库编号) |
| 6 | stockout_no | 出库单号 | string | — | 可选 | 出库单号,传该字段可以不传时间 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | order_no | 出库单号 | string | — | 可选 | 出库单号 |
| 2 | stockout_no | 出库单号 | string | — | 可选 | 出库单号 |
| 3 | src_order_no | 源单号 | string | — | 可选 | 源单号,上层单据的业务单号 |
| 4 | warehouse_no | 仓库编号 | string | — | 可选 | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置),用于获取指定仓库数据信息 |
| 5 | status | 状态 | string | — | 可选 | 出库单状态,5:已取消,50:待审核,55:已审核,95:已发货,110:已完成(默认查已发货已完成单据),113:异常发货 |
| 6 | consign_time | 出库时间 | datetime | — | 可选 | 出库时间,格式:yyyy-MM-dd HH:mm:ss |
| 7 | order_type | 出库单类型 | string | — | 可选 | 出库单类型,2调拨出库,3采购退货出库,4盘亏出库,5生产出库,7其他出库,8多发出库,9纠错出库,10保修配件出库,11初始化出库,12jit拣货出库,13委外出库 |
| 8 | order_type_name | 出库单类型名称 | string | — | 可选 | 出库单类型名称 |
| 9 | subtype | 出库单子类型 | string | — | 可选 | 出库单子类型 |
| 10 | stockout_reason | 出库原因 | string | — | 可选 | 出库原因 |
| 11 | goods_count | 数量 | string | — | 可选 | 货品数量 |
| 12 | goods_total_amount | 货品总销售金额 | string | — | 可选 | 货品总销售金额 |
| 13 | goods_total_cost | 货品总成本金额 | string | — | 可选 | 货品总成本金额 |
| 14 | post_fee | 邮费 | string | — | 可选 | 邮费 |
| 15 | logistics_no | 物流单号 | string | — | 可选 | 物流单号 |
| 16 | package_fee | 包装费 | string | — | 可选 | 包装费 |
| 17 | receiver_name | 收件人 | string | — | 可选 | 收件人 |
| 18 | receiver_country | 国家 | string | — | 可选 | 国家 |
| 19 | receiver_province | 省份 | string | — | 可选 | 省份 |
| 20 | receiver_city | 城市 | string | — | 可选 | 城市 |
| 21 | receiver_district | 地区 | string | — | 可选 | 地区 |
| 22 | receiver_address | 详细地址 | string | — | 可选 | 该字段已废弃 |
| 23 | receiver_mobile | 收件人移动电话 | string | — | 可选 | 该字段已废弃 |
| 24 | receiver_telno | 收件人固定电话 | string | — | 可选 | 该字段已废弃 |
| 25 | receiver_zip | 邮编 | string | — | 可选 | 邮编 |
| 26 | weight | 重量 | string | — | 可选 | 重量 |
| 27 | remark | 备注 | string | — | 可选 | 备注 |
| 28 | outer_no | 外部单号 | string | — | 可选 | 外部单号 |
| 29 | operator_name | 操作员姓名 | string | — | 可选 | 操作员姓名 |
| 30 | logistics_type | 物流方式 | string | — | 可选 | 响应值为代表物流方式的数字,数字对应的物流方式名称 |
| 31 | logistics_code | 物流编号 | string | — | 可选 | 代表物流所有属性的唯一编码,用于物流区分,ERP内支持自定义(ERP物流界面设置) |
| 32 | logistics_name | 物流公司名称 | string | — | 可选 | 物流公司名称 |
| 33 | modified | 最后修改时间 | datetime | — | 可选 | 单据最后修改时间,格式:yyyy-MM-dd HH:mm:ss |
| 34 | stock_check_time | 创建时间 | datetime | — | 可选 | 单据创建时间,格式:yyyy-MM-dd HH:mm:ss |
| 35 | details_list | Sku详情节点 | array | — | 可选 | 响应参数的2级数据节点,包含当出库单货品属性信息的数据节点,节点下数据字段详见下述" details_list" |
| 35.1 | stockout_id | 出库单主键id | string | — | 可选 | 出库单主键id |
| 35.2 | goods_count | 货品数量 | string | — | 可选 | 货品数量 |
| 35.3 | weight | 重量 | string | — | 可选 | 重量 |
| 35.4 | remark | 备注 | string | — | 可选 | 备注 |
| 35.5 | spec_no | 商家编码 | string | — | 可选 | 商家编码 |
| 35.6 | sell_price | 销售价 | string | — | 可选 | 销售价 |
| 35.7 | brand_no | 品牌编号 | string | — | 可选 | 品牌编号 |
| 35.8 | brand_name | 品牌名称 | string | — | 可选 | 品牌名称 |
| 35.9 | goods_name | 货品名称 | string | — | 可选 | 货品名称 |
| 35.10 | goods_no | 货品编号 | string | — | 可选 | 货品编号 |
| 35.11 | spec_name | 规格名称 | string | — | 可选 | 规格名称 |
| 35.12 | spec_code | 规格编号 | string | — | 可选 | 规格编号 |
| 35.13 | total_amount | 总销售金额 | string | — | 可选 | 总销售金额 |
| 35.14 | goods_unit | 单位 | string | — | 可选 | 单位 |
| 35.15 | batch_remark | 批次备注 | string | — | 可选 | 批次备注 |
| 35.16 | position_list | 货位列表节点 | array | — | 可选 | 货位列表节点 |
| 35.16.1 | rec_id | 货位主键id | string | — | 可选 | 货位主键id |
| 35.16.2 | cost_price | 成本价 | string | — | 可选 | 成本价 |
| 35.16.3 | batch_no | 批次号 | string | — | 可选 | 批次号 |
| 35.16.4 | expire_date | 有效期 | datetime | — | 可选 | 有效期,格式:yyyy-MM-dd HH:mm:ss |
| 35.16.5 | position_id | 货位ID | string | — | 可选 | 货位ID |
| 35.16.6 | position_no | 货位编号 | string | — | 可选 | 货位编号 |
| 35.16.7 | position_goods_count | 货位出库数量 | string | — | 可选 | 货位出库数量 |
| 35.16.8 | stockout_order_detail_id | 出库单明细id | string | — | 可选 | 出库单明细id |
| 35.16.9 | stock_spec_detail_id | 入库单号明细id | string | — | 可选 | 入库单号明细id |
| 35.16.10 | stockin_detail_id | 入库单明细id | string | — | 可选 | 入库单明细id |
| 35.16.11 | batch_id | 批次id | string | — | 可选 | 批次id |
| 35.16.12 | modified | 最后更新时间 | datetime | — | 可选 | 最后修改时间,格式:yyyy-MM-dd HH:mm:ss |
| 35.16.13 | v_stock_spec_detail_id | 先进先出计价用 | string | — | 可选 | 先进先出计价用 |
| 35.16.14 | created | 创建时间 | datetime | — | 可选 | 创建时间,格式:yyyy-MM-dd HH:mm:ss |
旺店通·企业奇门的接口:查询出库单管理(wdt.stockout.order.query),由轻易云数据集成平台 API 资产管理模块整理收纳,并随旺店通·企业奇门版本更新同步更新。