从旺店通·企业版到金蝶云星空通过接口配置打通数据

数据源平台:旺店通·企业版
慧策最先以旺店通ERP切入商家核心管理痛点——订单管理,之后围绕电商经营管理中的核心管理诉求,先后布局流量获取、会员管理、仓库管理等其他重要经营模块。慧策的产品线从旺店通ERP起步,向前向后延伸,全面布局零售企业经营,整体构建一体化智能零售解决方案,打破数据孤岛,AI植入系统,实现智能决策,助力零售企业智能化转型。当前旗下拥有店+小程序、数智门店POS、旺店通ERP、旺店通WMS、卡米全渠道、客优CRM、云筹大数据等多个PssS、SaaS产品,从前端吸引流量到后端集约化管理,助力企业智慧决策
接通系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
数据接口配置方案
通过轻易云系统数据集成平台新增创建集成方案,通过轻易云的方案市场可以一键复制,并且可以借鉴其他的方案配置完成方案制作,方案制作只需要两步,第一步先确定好对应的数据来源;源系统:旺店通·企业版接口:查询采购退货单通过请求调度者配置对应的请求参数即可获取到对应的数据。目标系统:金蝶云星空接口:采购退货新增,通过写入调度者匹配获取到的数据和写入的映射关系,即可自动生成符合目标系统:金蝶云星空写入的数据自动产生写入队列,通过运行概况,系统会自动帮你诊断方案的运行情况。实时监控到方案的运行情况


旺店通·企业版接口明细
- 调用接口:purchase_return_query
- 接口名称:查询采购退货单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | datetime | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | datetime | {{CURRENT_TIME datetime}} |
status | 状态 | string | |
warehouse_no | 仓库编号 | string | |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | string | {{PAGINATION_START_PAGE}} |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
return_no | 退货单号 | string | |
provider_name | 供应商 | string | |
status | 采购单状态 | string | |
warehouse_no | 仓库编号 | string | |
warehouse_name | 仓库 | string | |
purchaser_id | 采购员id | string | |
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 | |
api_outer_no | 外部接口单号 | string | |
outer_no | 外部单号 | string | |
prop1 | 自定义属性1 | string | |
prop2 | 自定义属性2 | string | |
provider_no | 供应商编号 | string | |
purchase_no | 引用采购单号 | string | |
creator_id | 制单员id | string | |
creator_name | 制单员姓名 | string | |
type | 类型 | string | |
flag_id | 颜色标记 | string | |
warehouse_id | 出库id | string | |
provider_id | 供应商id | string | |
contact | 联系人姓名 | string | |
telno | 联系电话 | string | |
receive_address | 退货地址 | string | |
check_operator_id | 审核人 | string | |
check_time | 审核时间 | string | |
note_count | 便签条数 | string | |
province | 省份 | string | |
city | 城市 | string | |
district | 地区 | string | |
wms_outer_no | 外部仓库的单号 | string | |
wms_status | 处理状态 | string | |
error_info | 错误信息 | string | |
version_id | 版本号 | string | |
last_load_purchase_id | 最后一次引用的采购单id | string | |
detail_list | 采购退货单货品列表节点 | array | |
detail_list.return_id | 采购退货单id | string | |
detail_list.remark | 备注 | string | |
detail_list.created | 创建时间 | string | |
detail_list.modified | 最后修改时间 | string | |
detail_list.provider_goods_no | 供应商货品编号 | string | |
detail_list.spec_no | 商家编码 | string | |
detail_list.goods_no | 货品编码 | string | |
detail_list.goods_name | 货品名称 | string | |
detail_list.spec_name | 规格名称 | string | |
detail_list.spec_code | 规格码 | string | |
detail_list.num | 退货数量 | string | |
detail_list.num2 | 辅助退货量 | string | |
detail_list.unit_id | 出库单位 | string | |
detail_list.unit_ratio | 单位变换率 | string | |
detail_list.base_unit_id | 基本单位 | string | |
detail_list.price | 单价 | string | |
detail_list.discount | 折扣 | string | |
detail_list.amount | 税前金额 | string | |
detail_list.unit_name | 出库单位名称 | string | |
detail_list.base_unit_name | 基本单位名称 | 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 | |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:采购退货新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillNo | 单据编号 | string | {{return_no}}YY |
FDate | 退料日期 | string | {{check_time datetime 2020-02-01}} |
FSupplierID | 供应商 | string | 0003 |
FStockOrgId | 退料组织 | string | 100 |
FMRREASON | 退料原因 | string | 旺店通退料 |
FRequireOrgId | 需求组织 | string | 100 |
FDESCRIPTION | 备注 | string | {{warehouse_no}}{{logistics_type}} |
FSettleOrgId | 结算组织 | string | 100 |
FPayOrgId | 付款组织 | string | 100 |
FPURMRBENTRY | 明细信息 | array | detail_list |
FPURMRBENTRY.FMATERIALID | 物料编码 | string | A01 |
FPURMRBENTRY.FBarcode | 零售条形码 | string | |
FPURMRBENTRY.FRMREALQTY | 实退数量 | string | {{detail_list.num}} |
FPURMRBENTRY.FPrice | 单价 | string | {{detail_list.price}} |
FPURMRBENTRY.FTAXPRICE | 含税单价 | string | {{detail_list.price}} |
FPURMRBENTRY.FEntryTaxRate | 税率 | string | |
FPURMRBENTRY.FSTOCKID | 仓库 | string | CK001 |
FPURMRBENTRY.FNOTE | 备注 | string | WDT{{detail_list.goods_no}} |
FPURMRBENTRY.FPURMRBENTRY_Link | 关联关系表 | array | |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FRuleId | 转换规则 | string | PUR_MRAPP-PUR_MRB |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSTableName | 源单表 | string | T_PUR_MRAPPENTRY |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSBillId | 源单内码 | string | 5555 |
FPURMRBENTRY.FPURMRBENTRY_Link.FPURMRBENTRY_Link_FSId | 源单分录内码 | string | 5555 |
FPURMRBENTRY.FormId | 业务对象表单Id | string | PUR_MRB |
FPURMRBENTRY.Operation | 执行的操作 | string | batchSave |
FPURMRBENTRY.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FPURMRBENTRY.IsVerifyBaseDataField | 验证基础资料 | bool | false |
系统对接概况
通过数据集成平台可视化的快速配置调用接口打通旺店通·企业版与金蝶云星空之间的数据接口,使得两个系统之间的对接更加快捷、稳定。轻易云数据集成平台打破信息孤岛、适配多种场景、降低运营成本、缩短开发周期、灵活调度配置是这种多系统数据打通时的特性优势。采用元数据模型驱动的低代码集成工具,基于系统预置的数据模型、映射、编排、日志、脚本等集成核心引擎,通过可视化配置,快速实现客户灵活多变的动态集成需求,让集成开发简单、执行过程可靠、问题风险可控。
