金蝶云星辰V1对接外部旺店通·企业奇门系统

数据源系统:旺店通·企业奇门
慧策最先以旺店通ERP切入商家核心管理痛点——订单管理,之后围绕电商经营管理中的核心管理诉求,先后布局流量获取、会员管理、仓库管理等其他重要经营模块。慧策的产品线从旺店通ERP起步,向前向后延伸,全面布局零售企业经营,整体构建一体化智能零售解决方案,打破数据孤岛,AI植入系统,实现智能决策,助力零售企业智能化转型。当前旗下拥有店+小程序、数智门店POS、旺店通ERP、旺店通WMS、卡米全渠道、客优CRM、云筹大数据等多个PssS、SaaS产品,从前端吸引流量到后端集约化管理,助力企业智慧决策
对接目标平台:金蝶云星辰V1
金蝶云星辰是金蝶集团公司为小微型工商贸企业定制的一款集财务、进销存、订货商城和税务管理为一体的SAAS云平台,有标准版和专业版两个版本,标准版适用于小型企业(10-50人)业财一体化管理,专业版面向小型(10-100人)企业管理需求。金蝶云星辰聚焦小型企业在线经营和数字化管理,赋能小型企业拓客开源、智能管理和实时决策。
配置集成方案
异构系统具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。那么对接就需要根据接口配置对应的规则,例如取数就要根据查询接口获取旺店通·企业奇门的数据,并且根据对应的条件进行取数,目标系统就必须根据目标系统的格式,以及获取的数据进行加工处理后进行写入到金蝶云星辰V1中。轻易云集成平台的可视化配置轻松实现。

旺店通·企业奇门接口明细
- 接口:wdt.purchase.return.query
- 接口名称:查询采购退货单
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
page_size | 分页大小 | string |
status | 状态 | string |
warehouse_no | 仓库编号 | string |
end_time | 结束时间 | datetime |
start_time | 开始时间 | datetime |
page_no | 页号 | string |
响应参数
字段 | 名称 | 类型 | 描述 |
return_id | 采购退货单id | string | 采购退货单主键id |
return_no | 退货单号 | string | 退货单号 |
provider_name | 供应商 | string | 供应商 |
status | 采购单状态 | string | 采购退货单状态:10,已取消,20,编辑中,30,待审核,40,已审核,42,待推送,44,推送失败,46,委外待出库,50,部分出库,60,已完成 |
warehouse_no | 仓库编号 | string | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置) |
warehouse_name | 仓库 | string | 系统仓库名称 |
purchaser_id | 采购员id | string | 采购员id |
purchaser_name | 采购员名称 | string | 采购员名称 |
logistics_type | 物流类型 | string | 物流方式,详情介绍,单击这里 |
other_fee | 其它费用 | string | 其它费用 |
post_fee | 邮费 | string | 邮费 |
goods_fee | 总货款 | string | 总货款 |
goods_count | 退货开单量 | string | 退货开单量 |
goods_type_count | 货品种类数 | string | 货品种类数 |
goods_out_count | 退货出库量 | string | 退货出库量 |
remark | 备注 | string | 采购退货单备注 |
created | 建单时间 | string | 格式:yyyy-MM-dd HH:mm:ss |
modified | 最后修改时间 | string | 格式:yyyy-MM-dd HH:mm:ss |
api_outer_no | 外部接口单号 | string | 外部接口单号 |
outer_no | 外部单号 | string | 外部单号 |
prop1 | 自定义属性1 | string | 自定义属性1 |
prop2 | 自定义属性2 | string | 自定义属性2 |
provider_no | 供应商编号 | string | 供应商编号 |
purchase_no | 引用采购单号 | string | 引用采购单号 |
creator_id | 制单员id | string | 制单员id |
creator_name | 制单员姓名 | string | 制单员姓名 |
type | 类型 | string | 默认为'1',1退货 |
flag_id | 颜色标记 | string | 默认为'0',颜色标记 |
warehouse_id | 出库id | string | 出库id |
provider_id | 供应商id | string | 默认为'0',供应商id |
contact | 联系人姓名 | string | 供商商联系人姓名 |
telno | 联系电话 | string | 供应商联系电话 |
receive_address | 退货地址 | string | 退货地址 |
check_operator_id | 审核人 | string | 默认为'0',审核人 |
check_time | 审核时间 | string | 默认'0000-00-00 00:00:00',审核时间 |
note_count | 便签条数 | string | 默认为'0',便签条数 |
province | 省份 | string | 默认为'',省份 |
city | 城市 | string | 默认为'',城市 |
district | 地区 | string | 默认为'',地区 |
wms_outer_no | 外部仓库的单号 | string | 默认为'',对应外部仓库的单号 |
wms_status | 处理状态 | string | 默认为'0',处理状态 |
error_info | 错误信息 | string | 默认为'',接口调用错误信息 |
version_id | 版本号 | string | 默认为'0',版本号 |
last_load_purchase_id | 最后一次引用的采购单id | string | 默认为'0',最后一次引用的采购单id |
detail_list | 采购退货单货品列表节点 | array | 响应参数的2级数据节点,包含采购退货单货货品明细所有属性信息,节点下数据字段详见下述“detail_list” |
detail_list.return_id | 采购退货单id | string | 默认为'0',标记 |
detail_list.provider_goods_no | 供应商货品编号 | string | 最后修改时间 |
detail_list.spec_no | 商家编码 | string | 响应参数的2级数据节点,包含采购入库货品明细属性信息,节点下数据字段详见下述“details_list” |
detail_list.goods_no | 货品编码 | string | 入库单主键id |
detail_list.goods_name | 货品名称 | string | 入库明细主键 |
detail_list.spec_name | 规格名称 | string | 上层单据明细主键 |
detail_list.spec_code | 规格码 | string | 代表单品(sku)所有属性的编码,SKU概念介绍,单击这里 |
detail_list.num | 退货数量 | string | 货品数量 |
detail_list.num2 | 辅助退货量 | string | 优惠金额 |
detail_list.unit_id | 出库单位 | string | 单价 |
detail_list.unit_ratio | 单位变换率 | string | 生产日期,格式:yyyy-MM-dd HH:mm:ss |
detail_list.base_unit_id | 基本单位 | string | 有效期天数 |
detail_list.price | 单价 | string | 有效期,格式:yyyy-MM-dd HH:mm:ss |
detail_list.discount | 折扣 | string | 原价 |
detail_list.amount | 税前金额 | string | 税后价 |
detail_list.unit_name | 出库单位名称 | string | 税后金额 |
detail_list.base_unit_name | 基本单位名称 | string | 税率 |
detail_list.remark | 备注 | string | 总成本 |
detail_list.tax | 税率 | string | 备注 |
detail_list.tax_amount | 税后金额 | string | 调整量,正数或者负数 |
detail_list.rec_id | 明细id | string | 纠错金额 |
detail_list.spec_id | 规格id | string | 调整后数量 |
detail_list.out_num | 退货出库数量 | string | 调整后单价 |
detail_list.out_amount | 退货出库金额 | string | 调整后总金额 |
detail_list.tax_price | 税后单价 | string | 品牌编号 |
detail_list.modified | 最后修改时间 | string | 品牌名称 |
detail_list.created | 创建时间 | string | 货品名称 |
金蝶云星辰V1接口明细
- 调用接口:jdy/pur/pur_rtn_save
- 接口名称:采购退货单保存新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
billno | 单据编码 | string | {{return_no}} |
billdate | 单据日期 | string | {{created date}} |
deptid_id | 部门 | string | |
deptid_number | 部门number | string | |
empid_id | 业务员 | string | |
empid_number | 业务员number | string | |
supplierid_id | 供应商 | string | findCollection find id from 9278fe4a-f123-3198-94b2-69703d296326 where name={{provider_name}} |
remark | 备注 | string | |
alldebt | 应付余额 | string | |
lastdebt | 上次欠款 | string | |
returnreason | 原因 | string | |
contact_info | 联系信息 | string | |
bill_dis_amount | 整单折扣额 | string | |
bill_dis_rate | 整单折扣率 | string | |
totalamount | 本次应退账款 | string | |
totalinsamount | 退款合计 | string | |
totalunsettleamount | 本单未退 | string | |
material_entity | 商品分录 | array | detail_list |
material_entity.materialid_id | 商品 | string | _findCollection find id from b36e2f56-3e1b-3d60-9748-c59ec4c9d95f where number={{details_list.spec_no}} |
material_entity.stockid_id | 仓库 | string | findCollection find id from dfb624bb-d6b8-33fc-a971-c3df53cf9288 where name={{warehouse_name}} |
material_entity.qty | 数量 | string | {{detail_list.out_num}} |
material_entity.barcode | 条形码 | string | |
material_entity.batchno | 批次号 | string | |
material_entity.proplace | 产地 | string | |
material_entity.proregno | 注册证号 | string | |
material_entity.prolicense | 生产许可证号 | string | |
material_entity.snlistid | 序列号流转id | string | |
material_entity.sn_list | 序列号 | string | |
material_entity.price | 单价 | string | _function CASE when {{detail_list.tax_price}} >0 then {{detail_list.tax_price}} else 0.01 end |
material_entity.comment | 行备注 | string | |
material_entity.srcbillno | 源单编码 | string | |
material_entity.srcbilltypeid_id | 源单类型 | string | |
material_entity.srcinterid | 源单内码 | string | |
material_entity.src_billdate | 源单日期 | string | |
material_entity.srcseq | 源单行号 | string | |
material_entity.srcentryid | 源单分录内码 | string | |
系统数据对接
随着企业数字化业务的深入发展,对于企业的 IT 或者 CIO 来讲,正在面临一个愈发重要的问题——系统的结构太复杂了,尤其是头部企业,至少有十多套系统,这些系统之间的蛛网状的接口如果经常出问题。企业内部以及企业内部与外部建立起越来越多的业务应用系统,如何整合企业的现有IT资源,使企业中计算机孤岛式的应用向集体协作的方向发展,发挥资源效益的最大化,降低企业成本,正在逐渐成为企业关注的重要问题。用户希望企业内所有系统集成在一个平台上,操作统一,以节省培训时间。使用在轻易云应用集成平台 + MDM基础数据平台的解决方案中,轻易云应用集成平台负责实现异构、分布式系统之间互联互通,实现服务API治理以及数据传输交换。通过轻易云预置的各种适配器组件,连接现有各孤立应用系统,以图形化、拖拽方式构建集成流程和服务,提高应用系统集成工作效率,降低异构系统集成风险。针对未来可能出现的业务需求变更,在应用集成平台上进行动态调整,实现各应用系统之间的集成策略平滑升级。


