金蝶云星辰V2销售出库单对接V3.0-资产建模API接口文档

所属平台: 金蝶云星辰V2
类型: EXECUTE
作用: EXECUTE
接口版本: 1.0
适配器: \Adapter\Kingdee\YxcV2ExecuteAdapter
帮助链接: 1
描述:
更新日期: 2023-05-10 15:00:27
销售出库单对接V3.0-资产建模

接口地址:/jdy/v2/scm/sal_out_bound

请求方法: POST

加工厂: {"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版本更新同步实时更新。API资产管理平台提供了丰富的API开发和测试工具,支持API的快速迭代和创新,加速产品的上市速度,提升企业的市场竞争力。
联系轻易云集成专家
联系系统对接开发人员胡秀丛

胡秀丛 加微信

项目总监 她以卓越的数据集成专长,精通ERP、MES系统,以及数据中台的构建与优化。通过创新的一站式解决方案,她助力企业实现数据的无缝对接,提升业务流程效率,确保信息流通无障碍,为企业的数字化转型提供强有力的支持。