旺店通·企业奇门和金蝶云星辰V1接口打通对接实战

源系统:旺店通·企业奇门
旺店通是北京掌上先机网络科技有限公司旗下品牌,国内的零售云服务提供商,基于云计算SaaS服务模式,以体系化解决方案,助力零售企业数字化智能化管理升级。为零售电商企业的订单管理及仓储管理提供解决方案,致力于帮助企业实现数字化转型,企业规模化发展
接入系统:金蝶云星辰V1
金蝶云星辰是金蝶集团公司为小微型工商贸企业定制的一款集财务、进销存、订货商城和税务管理为一体的SAAS云平台,有标准版和专业版两个版本,标准版适用于小型企业(10-50人)业财一体化管理,专业版面向小型(10-100人)企业管理需求。金蝶云星辰聚焦小型企业在线经营和数字化管理,赋能小型企业拓客开源、智能管理和实时决策。
系统对接接口配置
通过轻易云系统数据集成平台:数据集成方案。选择开始创建数据集成方案菜单。在方案配置表单中选择对应的源业务系统:旺店通·企业奇门,然后选择对应的连接器。选择对应的wdt.stockout.order.query.return作为数据对接来源。然后再写入目标平台配置目标系统为金蝶云星辰V1,并且选择对应连接器(关于金蝶云星辰V1的接口如何连接可以在轻易云数据集成社区论坛bbs.qeasy.cloud中找到相关信息)。选择好对应的jdy/pur/pur_rtn_save接口作为数据写入动作完成第一步的接口配置。



旺店通·企业奇门接口明细
- 调用接口:wdt.stockout.order.query.return
- 接口名称:查询采购退货出库单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | string | {{CURRENT_TIME datetime}} |
warehouse_no | 仓库编号 | string | |
status | 出库单状态 | string | |
page_no | 页号 | string | {{PAGINATION_START_ROW}} |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
src_order_no | 上层单据编号 | string | |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
stockout_id | 出库单主键id | string | |
order_no | 出库单号 | string | |
src_order_no | 源单号 | string | |
warehouse_no | 仓库编号 | string | |
status | 状态 | string | |
consign_time | 出库时间 | string | |
order_type | 源单据类别 | string | |
order_type_name | 源单据类型名称 | string | |
subtype | 出库子类型 | string | |
goods_count | 货品数量 | string | 1 |
goods_total_amount | 货品总售价 | string | |
goods_total_cost | 货品总成本 | string | |
post_fee | 邮费 | string | |
logistics_no | 物流编号 | string | |
package_fee | 包装费 | string | |
receiver_name | 收件人 | string | |
receiver_country | 国家 | string | |
receiver_province | 省份 | string | |
receiver_city | 城市 | string | |
receiver_district | 地区 | string | |
receiver_address | 详细地址 | string | |
receiver_mobile | 收件人移动电话 | string | |
receiver_telno | 收件人固定电话 | string | |
receiver_zip | 邮编 | string | |
weight | 重量 | string | |
remark | 备注 | string | |
stockout_reason | 出库原因 | string | |
outer_no | 外部单号 | string | |
operator_name | 操作人 | string | |
receiver_area | 省市区 | string | |
return_no | 采购退货单号 | string | |
provider_no | 供应商编号 | string | |
provider_name | 供应商名称 | string | |
modified | 出库单更新时间 | string | |
pr_api_outer_no | 采购退货单外部单号 | string | |
last_load_purchase_no | 最后引用采购单号 | string | |
picklist_print_status | 分拣单打印状态 | string | |
logistics_print_status | 物流单打印状态 | string | |
sendbill_print_status | 发货单打印状态 | string | |
stockout_no | 出库单号 | string | |
src_order_type | 源单据类别 | string | |
src_order_id | 源单据id | string | |
wms_status | 处理状态 | string | |
error_info | 错误信息 | string | |
warehouse_type | 仓库类别 | string | |
warehouse_id | 出库的仓库id | string | |
customer_id | 客户id | string | |
freeze_reason | 冻结原因 | string | |
is_allocated | 是否分配 | string | |
consign_status | 出库状态 | string | |
ebill_status | 面单状态 | string | |
operator_id | 制单人 | string | |
goods_type_count | 货品种类数量 | string | |
md5_str | MD5字符串值 | string | |
raw_goods_count | 预留字段 | string | |
custom_type | 出库类别 | string | |
receiver_ring | 接收环 | string | |
to_deliver_time | 配送时间 | string | |
pre_charge_time | 配送中心 | string | |
logistics_id | 物流公司id | string | |
unknown_goods_amount | 未知成本销售总额 | string | |
calc_post_cost | 预估邮费成本 | string | |
post_cost | 邮费成本 | string | |
calc_weight | 预估重量 | string | |
post_weight | 快递给的重量 | string | |
package_id | 包装 | string | |
package_cost | 包装成本 | string | |
has_invoice | 是否包含发票 | string | |
printer_id | 打单员 | string | |
pick_error_count | 拣货出错次数 | string | |
picker_id | 拣货操作员id | string | |
sorter_id | 包裹分拣员id | string | |
examiner_id | 验货操作员id | string | |
consigner_id | 发货人id | string | |
packager_id | 打包员 | string | |
pack_score | 打包积分 | string | |
pick_score | 拣货积分 | string | |
checkouter_id | 签出员工id | string | |
watcher_id | 监视员 | string | |
picklist_no | 分拣单编号 | string | |
picklist_seq | 分拣单中序号 | string | |
invoice_print_status | 发票打印状态 | string | |
flag_id | 颜色标记 | string | |
logistics_template_id | 物流单模板id | string | |
sendbill_template_id | 发货单模板id | string | |
pos_allocate_mode | 货位分配方式 | string | |
note_count | 便签条数 | string | |
reason_id | 出库原因 | string | |
lock_id | 锁定策略id | string | |
reserve | 保留 | string | |
block_reason | 截停原因 | string | |
batch_no | 打印批次 | string | |
stock_check_time | 出库单审核时间 | string | |
detail_list | 货品列表节点 | array | |
detail_list.rec_id | 出库明细主键id | string | |
detail_list.stockout_id | 出库单主键id | string | |
detail_list.spec_no | 商家编码 | string | |
detail_list.goods_count | 货品数量 | string | |
detail_list.sell_price | 销售价 | string | |
detail_list.brand_no | 品牌编号 | string | |
detail_list.brand_name | 品牌名称 | string | |
detail_list.goods_name | 货品名称 | string | |
detail_list.goods_no | 货品编号 | string | |
detail_list.spec_name | 规格名称 | string | |
detail_list.spec_code | 规格编号 | string | |
detail_list.cost_price | 成本价 | string | |
detail_list.total_amount | 总货款 | string | |
detail_list.weight | 重量 | string | |
detail_list.goods_type | 货品类别 | string | |
detail_list.goods_unit | 单位名称 | string | |
detail_list.batch_no | 批次号 | string | |
detail_list.batch_remark | 批次备注 | string | |
detail_list.expire_date | 有效期 | string | |
detail_list.remark | 备注 | string | |
detail_list.goods_id | 货品id | string | |
detail_list.spec_id | 规格id | string | |
detail_list.position_id | 货位 | string | |
detail_list.src_order_type | 源单据类别 | string | |
detail_list.src_order_detail_id | 源单据细节id | string | |
detail_list.base_unit_id | 基本单位 | string | |
detail_list.unit_id | 辅助单位 | string | |
detail_list.unit_ratio | 单位换算 | string | |
detail_list.num2 | 辅助数量 | string | |
detail_list.num | 货品数量 | string | |
detail_list.price | 价格 | string | |
detail_list.batch_id | 出库批次 | string | |
detail_list.is_examined | 是否验货 | string | |
detail_list.is_package | 是否包装 | string | |
detail_list.is_zero_cost | 是否允许0成本 | string | |
detail_list.scan_type | 类型 | string | |
detail_list.modified | 最后修改时间 | string | |
detail_list.created | 创建时间 | string | |
detail_list.position_list | 货位列表节点 | array | |
detail_list.position_list.position_id | 货位ID | string | |
detail_list.position_list.position_no | 货位编号 | string | |
detail_list.position_list.position_goods_count | 货位出库数量 | string | |
金蝶云星辰V1接口明细
- API:jdy/pur/pur_rtn_save
- NAME:采购退货单保存新增
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
billno | 单据编码 | {{order_no}} | 单据编码 |
billdate | 单据日期 | {{consign_time date}} | 单据日期 |
deptid_id | 部门 | | 部门 |
deptid_number | 部门number | | 部门number |
empid_id | 业务员 | | 业务员 |
empid_number | 业务员number | | 业务员number |
supplierid_id | 供应商 | findCollection find id from 9278fe4a-f123-3198-94b2-69703d296326 where number={{provider_no}} | 供应商 |
remark | 备注 | | 备注 |
alldebt | 应付余额 | | 应付余额 |
lastdebt | 上次欠款 | | 上次欠款 |
returnreason | 原因 | | 原因 |
contact_info | 联系信息 | | 联系信息 |
bill_dis_amount | 整单折扣额 | | 整单折扣额 |
bill_dis_rate | 整单折扣率 | | 整单折扣率 |
totalamount | 本次应退账款 | | 本次应退账款 |
totalinsamount | 退款合计 | | 退款合计 |
totalunsettleamount | 本单未退 | | 本单未退 |
material_entity | 商品分录 | details_list | 商品分录 |
material_entity.materialid_id | 商品 | _findCollection find id from b36e2f56-3e1b-3d60-9748-c59ec4c9d95f where number={{detail_list.spec_no}} | 商品 |
material_entity.stockid_id | 仓库 | findCollection find id from dfb624bb-d6b8-33fc-a971-c3df53cf9288 where number={{warehouse_no}} | 仓库 |
material_entity.qty | 数量 | {{detail_list.goods_count}} | 数量 |
material_entity.barcode | 条形码 | | 条形码 |
material_entity.batchno | 批次号 | | 批次号 (批次商品必填) |
material_entity.proplace | 产地 | | 产地 |
material_entity.proregno | 注册证号 | | 注册证号 |
material_entity.prolicense | 生产许可证号 | | 生产许可证号 |
material_entity.snlistid | 序列号流转id | | 序列号流转id;单据新增后会在单据详情中带回这个字段信息,序列号商品修改时必填 |
material_entity.sn_list | 序列号 | | 序列号 格式如:001:备注1;002:备注2 (序列号:序列号备注 多个序列号以英文分号字符;分隔),*序列号商品必填 |
material_entity.price | 单价 | _function CASE when {{detail_list.sell_price}}> 0 then {{detail_list.sell_price}} else 0.01 end | 单价(如果在“系统参数”的“基础资料参数”中勾选了“商品价格为含税单价”,则price指示含税单价) |
material_entity.comment | 行备注 | | 行备注 |
material_entity.srcbillno | 源单编码 | | 源单编码 |
material_entity.srcbilltypeid_id | 源单类型 | | 源单类型 |
material_entity.srcinterid | 源单内码 | | 源单内码 |
material_entity.src_billdate | 源单日期 | | 源单日期 |
material_entity.srcseq | 源单行号 | | 源单行号 |
material_entity.srcentryid | 源单分录内码 | | 源单分录内码 |
系统集成总览
全面支持数据集成操作可视化、拖拽流式开发,无代码完成多套异构系统集成,降低使用门槛,提升交付速度。特别是在面向旺店通·企业奇门、金蝶云星辰V1间API接口集成时,通过对API的设计、创建、测试、部署、集成、管理、运维、下线等全生命周期管理,帮助企业洞察运营状况,进一步优化流程,提高企业商业价值。基于Web图形界面,通过拖拽、连接、配置完成流程设计,数据整合和集成,高效打通业务系统,通过面向运营的统计报表,直观查看API各项指标,实现对全局和项目层级双维度的监控管理。再通过轻易云数据集成中台通过统一门户注册管理,将业务以API的方式对外开放,实现业务创新、能力输出。

