/jdy/v2/scm/sal_out_bound{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | bill_source | 单据来源,固定传入ISV | string | ISV | 可选 | 单据来源,固定传入APP |
| 2 | bill_date | 出库日期,格式:2019-01-01 | datetime | {{consign_time}} | 必填 | 出库日期,格式:2019-01-01 |
| 3 | bill_no | 单据编号 | string | {{stockout_no}} | 可选 | 单据编号 |
| 4 | customer_id | 客户id | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.customer_id where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | 客户信息 |
| 5 | material_entity | 商品分录 | array | details_list | 可选 | 商品分录 |
| 5.1 | material_number | 商品 | string | {{details_list.spec_no}} | 可选 | 商品 |
| 5.2 | stock_number | 仓库 | string | {{warehouse_no}} | 可选 | 仓库 |
| 5.3 | qty | 数量 | string | {{details_list.goods_count}} | 可选 | 数量 |
| 5.4 | tax_price | 含税单价 | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_tax_price where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | 单价(如果在“系统参数”的“基础资料参数”中勾选了“商品价格为含税单价”,则price指示含税单价) |
| 5.5 | is_free | 是否赠品 | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_is_free where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | 是否赠品;true-是,false-否(默认) |
| 5.6 | unit_id | 单位id | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_unit_id where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | 单位(只能填商品关联的单位,来源于商品单位查询接口或商品详情中的baseunitid_id、fixunit1_id等) |
| 5.7 | base_unit_number | 基本单位编码 | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_base_unit_number where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | 基本单位编码 |
| 5.8 | base_unit_name | 基本单位名称 | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_unit_name where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | 基本单位名称 |
| 5.9 | kf_date | 生产日期 | string | 2023-05-01 | 可选 | 生产日期 |
| 5.10 | kf_period | 保质期天数 | string | 365 | 可选 | 保质期天数 |
| 5.11 | kf_type | 保质期类型 | string | 1 | 可选 | 保质期类型 |
| 5.12 | valid_date | 有效日期 | string | 2024-04-30 | 可选 | 有效日期 |
| 5.13 | sp_id | 库位_id | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_sp_id where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | 库位_id |
| 5.14 | sp_name | 库位名称 | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_sp_name where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | 库位名称 |
| 5.15 | sp_number | 库位编码 | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_sp_number where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | 库位编码 |
| 5.16 | src_inter_id | 源单id | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.id where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | 源单id |
| 5.17 | src_bill_type_id | 源单类型 | string | sal_bill_order | 可选 | 源单类型 |
| 5.18 | src_entry_id | 源单分录内码 | string | {{details_list.src_oid}} | 可选 | 源单分录内码 |
| 5.19 | material_id | material_id | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_material_id where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | material_id |
| 5.20 | stock_id | stock_id | string | _mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_stock_id where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}} | 可选 | stock_id |
暂无参数说明
金蝶云星辰V2的接口:销售出库单对接V3.0-资产建模(/jdy/v2/scm/sal_out_bound),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星辰V2版本更新同步更新。