从旺店通·企业奇门到金蝶云星辰V1通过接口集成数据

接入系统:旺店通·企业奇门
慧策最先以旺店通ERP切入商家核心管理痛点——订单管理,之后围绕电商经营管理中的核心管理诉求,先后布局流量获取、会员管理、仓库管理等其他重要经营模块。慧策的产品线从旺店通ERP起步,向前向后延伸,全面布局零售企业经营,整体构建一体化智能零售解决方案,打破数据孤岛,AI植入系统,实现智能决策,助力零售企业智能化转型。当前旗下拥有店+小程序、数智门店POS、旺店通ERP、旺店通WMS、卡米全渠道、客优CRM、云筹大数据等多个PssS、SaaS产品,从前端吸引流量到后端集约化管理,助力企业智慧决策
对接目标平台:金蝶云星辰V1
金蝶云·星辰基于金蝶云·苍穹云原生PaaS平台构建,聚焦小型企业在线经营和数字化管理,提供财务云、税务云、进销存云、零售云、订货商城等SaaS服务,支持企业拓客开源、智能管理、实时决策;金蝶云·星辰还提供轻量级PaaS平台和全面的API接口,广泛连接生态伙伴,为小微企业提供一站式服务,助力企业快速成长
接口方案配置
集成方案是整个轻易云集成平台的核心,每一个集成方案代表一种业务的对接策略(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息),用户可以根据业务的不同新建多个不同规则的集成方案。比如:采购订单同步,线上销售出库同步,线下销售出库同步。一个集成方案必须要配置源系统:旺店通·企业奇门,源系统 API:查询采购入库单,目标系统:金蝶云星辰V1,目标系统 API采购入库单保存新增。在新增集成方案之前需要确定两个系统的连接器都已经配置完成。

旺店通·企业奇门接口明细
- 调用接口:wdt.stockin.order.query.purchase
- 接口名称:查询采购入库单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | datetime | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | datetime | {{CURRENT_TIME datetime}} |
status | 状态 | string | |
src_order_no | 上层单据编号 | string | |
warehouse_no | 仓库编号 | string | 17 |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | string | {{PAGINATION_START_PAGE}} |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
stockin_id | 入库单主键id | string | |
order_no | 入库单号 | string | |
status | 状态 | string | |
warehouse_no | 仓库编号 | string | |
warehouse_name | 仓库 | string | |
stockin_time | 修改时间 | string | |
check_time | 审核时间 | string | |
created_time | 创建时间 | string | |
src_order_no | 采购单号 | string | |
remark | 备注 | string | |
stockin_reason | 入库原因 | string | |
order_type | 入库类型 | string | |
order_type_name | 入库类型名称 | string | |
goods_amount | 货款总额 | string | |
total_price | 总成本 | string | |
discount | 优惠 | string | |
tax_amount | 税后金额 | string | |
post_fee | 邮费 | string | |
other_fee | 其他费用 | string | |
logistics_type | 物流类型 | string | |
logistics_code | 物流公司编号 | string | |
logistics_name | 物流公司名称 | string | |
logistics_no | 物流单号 | string | |
purchase_no | 采购单编号 | string | |
provider_no | 供应商编号 | string | |
provider_name | 供应商名称 | string | |
outer_no | 外部单号 | string | |
goods_count | 货品总数量 | string | |
adjust_num | 纠错数量 | string | |
adjust_price | 纠错金额 | string | |
right_nums | 调整后数量 | string | |
right_price | 调整后总金额 | string | |
stockin_no | 入库单号 | string | |
wms_outer_no | 仓储外部编号 | string | |
wms_status | 外部状态 | string | |
wms_result | 外部结果 | string | |
warehouse_id | 仓库id | string | |
src_order_type | 源单据类型 | string | |
src_order_id | 源单据id | string | |
reason_id | 原因 | string | |
fa_status | 财务同步状态 | string | |
logistics_id | 物流公司 | string | |
post_share_type | 邮费分摊类型 | string | |
operator_id | 操作员id | string | |
check_operator_id | 审核人id | string | |
goods_type_count | 货品种类数 | string | |
note_count | 便签数量 | string | |
flag_id | 标记 | string | |
modified | 最后修改时间 | string | |
details_list | 明细节点 | array | |
details_list.stockin_id | 入库单主键id | string | |
details_list.rec_id | 入库明细主键 | string | |
details_list.src_order_detail_id | 上层单据明细主键 | string | |
details_list.spec_no | 商家编码 | string | |
details_list.goods_count | 货品数量 | string | |
details_list.discount | 优惠金额 | string | |
details_list.cost_price | 单价 | string | |
details_list.production_date | 生产日期 | string | |
details_list.validity_days | 有效期天数 | string | |
details_list.expire_date | 有效期 | string | |
details_list.src_price | 原价 | string | |
details_list.tax_price | 税后价 | string | |
details_list.tax_amount | 税后金额 | string | |
details_list.tax | 税率 | string | |
details_list.total_cost | 总成本 | string | |
details_list.remark | 备注 | string | |
details_list.adjust_num | 纠错数量 | string | |
details_list.adjust_price | 纠错金额 | string | |
details_list.right_num | 调整后数量 | string | |
details_list.right_price | 调整后单价 | string | |
details_list.right_cost | 调整后总金额 | string | |
details_list.brand_no | 品牌编号 | string | |
details_list.brand_name | 品牌名称 | string | |
details_list.goods_name | 货品名称 | string | |
details_list.goods_no | 货品编号 | string | |
details_list.spec_name | 规格名称 | string | |
details_list.spec_code | 规格码 | string | |
details_list.prop2 | 自定义属性 | string | |
details_list.goods_unit | 单位名称 | string | |
details_list.batch_no | 批次号 | string | |
details_list.batch_remark | 批次备注 | string | |
details_list.position_no | 货位编号 | string | |
details_list.src_order_type | 源单据类型 | string | |
details_list.org_stockin_detail_id | 原始入库单明细 | string | |
details_list.spec_id | 规格id | string | |
details_list.batch_id | 批次 | string | |
details_list.position_id | 货位id | string | |
details_list.num | 数量 | string | |
details_list.num2 | 数量2 | string | |
details_list.unit_id | 辅助单位 | string | |
details_list.base_unit_id | 基本单位 | string | |
details_list.unit_ratio | 单位换算关系 | string | |
details_list.expect_num | 预期入库数量 | string | |
details_list.cost_price2 | 辅助成本价 | string | |
details_list.share_post_cost | 邮资分摊成本 | string | |
details_list.share_post_total | 邮资分摊总成本 | string | |
details_list.modified | 最后修改时间 | string | |
details_list.created | 创建时间 | string | |
金蝶云星辰V1接口明细
- 调用接口:jdy/pur/pur_inbound_save
- 接口名称:采购入库单保存新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
billno | 单据编码 | string | {{order_no}} |
billdate | 单据日期 | string | {{stockin_time date}} |
transtype | 业务类型,1:限购,2:赊购,3:直运采购,4:受托入库 | string | 2 |
remark | 备注 | string | {{remark}} |
supplierid_id | 供应商 | string | 1533212695317212160 |
material_entity | 商品分录 | array | details_list |
material_entity.materialid_id | 商品 | string | findCollection find id from 24550fa4-2b92-3605-ab3a-9b9ec816a53e where number={{details_list.spec_no}} |
material_entity.stockid_id | 仓库 | string | 1533213071370120192 |
material_entity.is_free | 是否赠品 | string | false |
material_entity.qty | 数量 | string | {{details_list.goods_count}} |
material_entity.taxprice | 含税单价 | string | 1 |
material_entity.unit_id | 单位 | string | _findCollection find baseunitid_id from 24550fa4-2b92-3605-ab3a-9b9ec816a53e where number={{details_list.spec_no}} |
系统数据集成价值
全面管控企业的API资产,梳理现有业务系统的API。实现API文档的统一管理,建立API的上线、下线、监控的统一管理体系。API低代码开发平台能够实现低代码或零代码一键发布API服务,很好地解决企业用户上面的问题。轻易云应用集成主要解决已有应用系统的无序蔓延现象,减少各业务系统间的维护成本,减少各应用系统的操作系统、开发语言、访问协议、通信技术多而杂、整合难度大的问题,将企业数据平滑对接,减少信息竖井。
