Qeasy Cloud
Get Started

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

Type
EXECUTE
Effect
EXECUTE
API Version
1.0
Adapter
\Adapter\Kingdee\YxcV2ExecuteAdapter
Auth Mode
OTHER
Help Link
1
Updated At
2023-05-10

销售出库单对接V3.0-资产建模

POST/jdy/v2/scm/sal_out_bound
Factory
{
  "operation": {
    "method": "none"
  }
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1bill_source单据来源,固定传入ISVstringISVOptional单据来源,固定传入APP
2bill_date出库日期,格式:2019-01-01datetime{{consign_time}}Required出库日期,格式:2019-01-01
3bill_no单据编号string{{stockout_no}}Optional单据编号
4customer_id客户idstring_mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.customer_id where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}}Optional客户信息
5material_entity商品分录arraydetails_listOptional商品分录
5.1material_number商品string{{details_list.spec_no}}Optional商品
5.2stock_number仓库string{{warehouse_no}}Optional仓库
5.3qty数量string{{details_list.goods_count}}Optional数量
5.4tax_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.5is_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.6unit_id单位idstring_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.7base_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.8base_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.9kf_date生产日期string2023-05-01Optional生产日期
5.10kf_period保质期天数string365Optional保质期天数
5.11kf_type保质期类型string1Optional保质期类型
5.12valid_date有效日期string2024-04-30Optional有效日期
5.13sp_id库位_idstring_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.14sp_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.15sp_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.16src_inter_id源单idstring_mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.id where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}}Optional源单id
5.17src_bill_type_id源单类型stringsal_bill_orderOptional源单类型
5.18src_entry_id源单分录内码string{{details_list.src_oid}}Optional源单分录内码
5.19material_idmaterial_idstring_mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_material_id where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}}Optionalmaterial_id
5.20stock_idstock_idstring_mongoQuery 3f70ff93-c459-3ff6-851b-0495a910764e findField=content.material_entity_stock_id where={"content.material_entity_id":{"$eq":"{{details_list.src_oid}}"}}Optionalstock_id

Response Parameters

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.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.