/jdy/v2/scm/sal_out_bound{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | bill_source | 单据来源,固定传入ISV | string | ISV | Optional | 单据来源,固定传入APP |
| 2 | bill_date | 出库日期,格式:2019-01-01 | datetime | {{consign_time}} | Required | 出库日期,格式:2019-01-01 |
| 3 | bill_no | 单据编号 | string | {{stockout_no}} | Optional | 单据编号 |
| 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}}"}} | Optional | 客户信息 |
| 5 | material_entity | 商品分录 | array | details_list | Optional | 商品分录 |
| 5.1 | material_number | 商品 | string | {{details_list.spec_no}} | Optional | 商品 |
| 5.2 | stock_number | 仓库 | string | {{warehouse_no}} | Optional | 仓库 |
| 5.3 | qty | 数量 | string | {{details_list.goods_count}} | Optional | 数量 |
| 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}}"}} | Optional | 单价(如果在“系统参数”的“基础资料参数”中勾选了“商品价格为含税单价”,则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}}"}} | Optional | 是否赠品;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}}"}} | Optional | 单位(只能填商品关联的单位,来源于商品单位查询接口或商品详情中的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}}"}} | Optional | 基本单位编码 |
| 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}}"}} | Optional | 基本单位名称 |
| 5.9 | kf_date | 生产日期 | string | 2023-05-01 | Optional | 生产日期 |
| 5.10 | kf_period | 保质期天数 | string | 365 | Optional | 保质期天数 |
| 5.11 | kf_type | 保质期类型 | string | 1 | Optional | 保质期类型 |
| 5.12 | valid_date | 有效日期 | string | 2024-04-30 | Optional | 有效日期 |
| 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}}"}} | Optional | 库位_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}}"}} | Optional | 库位名称 |
| 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}}"}} | Optional | 库位编码 |
| 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}}"}} | Optional | 源单id |
| 5.17 | src_bill_type_id | 源单类型 | string | sal_bill_order | Optional | 源单类型 |
| 5.18 | src_entry_id | 源单分录内码 | string | {{details_list.src_oid}} | Optional | 源单分录内码 |
| 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}}"}} | Optional | 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}}"}} | Optional | stock_id |
No parameter reference available
The 销售出库单对接V3.0-资产建模 API (/jdy/v2/scm/sal_out_bound) of 金蝶云星辰V2 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 金蝶云星辰V2 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.