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

数据源系统:旺店通·企业奇门
慧策(原旺店通)是一家技术驱动型智能零售服务商,基于云计算PaaS、SaaS模式,以一体化智能零售解决方案,帮助零售企业数字化智能化升级,实现企业规模化发展。
写入目标:金蝶云星辰V1
金蝶云星辰是金蝶集团公司为小微型工商贸企业定制的一款集财务、进销存、订货商城和税务管理为一体的SAAS云平台,有标准版和专业版两个版本,标准版适用于小型企业(10-50人)业财一体化管理,专业版面向小型(10-100人)企业管理需求。金蝶云星辰聚焦小型企业在线经营和数字化管理,赋能小型企业拓客开源、智能管理和实时决策。
接口方案配置
数据集成平台对应的配置旺店通·企业奇门与金蝶云星辰V1的对接只要三步就能完成两个系统之间的数据对接。第一步根据旺店通·企业奇门的接口参数要求记录在轻易云集成平台。第二步配置旺店通·企业奇门与金蝶云星辰V1之间的字段对应关系(更多方案可借鉴轻易云数据集成社区论坛中找到相关方案信息)第三步完成方案的检查参数设置:传递时间、重试次数、是否启动、前置条件等上线运行。

旺店通·企业奇门接口明细
- 接口:wdt.goods.query
- 接口名称:查询货品档案
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
deleted | 已删除货品 | string | 默认为0, 0:只返回未删除货品 1:返回未删除和已删除货品 |
barcode | 条码 | string | |
start_time | 开始时间 | string | 按最后修改时间增量查询数据,start_time作为开始时间,格式:yyyy-MM-dd HH:mm:ss |
end_time | 结束时间 | string | |
page_size | 分页大小 | string | 每页返回的数据条数,输入值范围1100,不传本参数,输入值默认为40,使用举例单击这里 |
page_no | 页号 | string | 不传值默认从0页开始 |
响应参数
字段 | 名称 | 类型 | 描述 |
goods_id | 货品ID | string | 货品表主键 |
goods_no | 货品编号 | string | 代表SPU所有属性的唯一编号,用于系统货品的区分,SPU概念介绍,单击这里 |
goods_name | 货品名称 | string | 货品名称 |
short_name | 简称 | string | 简称 |
alias | 货品别名 | string | 货品别名 |
goods_type | 货品类别 | string | 货品类别 0:其它, 1:销售货品, 2:原材料, 3:包装物, 4:周转材料, 5:虚拟商品, 6:固定资产,7:保修配件 |
spec_count | 规格数 | string | 规格数 |
pinyin | 拼音 | string | 拼音 |
brand_no | 品牌编号 | string | 品牌编号 |
brand_name | 品牌 | string | 品牌名称 |
remark | 备注 | string | 备注 |
prop1 | 自定义属性1 | string | 自定义属性1 |
prop2 | 自定义属性2 | string | 自定义属性2 |
prop3 | 自定义属性3 | string | 自定义属性3 |
prop4 | 自定义属性4 | string | 自定义属性4 |
prop5 | 自定义属性5 | string | 自定义属性5 |
prop6 | 自定义属性6 | string | 自定义属性6 |
origin | 产地 | string | 产地 |
class_id | 分类id | string | 分类id |
class_name | 分类 | string | 分类名称 |
brand_id | 品牌id | string | 品牌ID |
unit | 基本单位 | string | 基本单位 |
aux_unit | 辅助单位 | string | 辅助单位 |
flag_id | 标记 | string | 标记 |
properties | 属性 | string | 属性 |
version_id | 版本号 | string | 版本号,用来检查同时修改的 |
modified | 最后修改时间 | string | 最后修改时间 格式:yyyy-MM-dd HH:mm:ss |
created | 创建时间 | string | 创建时间 格式:yyyy-MM-dd HH:mm:ss |
unit_name | 基本单位 | string | 基本单位名称 |
aux_unit_name | 辅助单位 | string | 辅助单位名称 |
flag_name | 标记名称 | string | 标记名称 |
goods_created | 创建时间 | string | 格式:yyyy-MM-dd HH:mm:ss。ERP客户端需升级至V2.3.8.6及以上版本可获取此字段 |
goods_modified | 最后修改时间 | string | 格式:yyyy-MM-dd HH:mm:ss |
deleted | 是否已删除 | string | 是否已删除: 0:未删除 >0代表已删除 |
spec_list | 单品节点 | array | 响应参数的2级数据节点,包含sku所有属性信息的数据节点,节点下数据字段详见下述"spec_list" |
spec_list.spec_id | 规格ID | string | 规格ID |
spec_list.spec_no | 商家编码 | string | 代表单品(SKU)所有属性的唯一编号,用于系统单品的区分,SKU概念介绍,单击这里 |
spec_list.spec_code | 规格码 | string | 规格码 |
spec_list.barcode | 主条码 | string | 主条码,单品下如果有多个条码,会随机返回其中一条条码 |
spec_list.spec_name | 规格名称 | string | 规格名称 |
spec_list.lowest_price | 最低价 | string | 最低价 |
spec_list.retail_price | 零售价 | string | 零售价 |
spec_list.wholesale_price | 批发价 | string | 批发价 |
spec_list.member_price | 会员价 | string | 会员价 |
spec_list.market_price | 市场价 | string | 市场价 |
spec_list.custom_price1 | 自定义价格1 | string | 自定义价格1 |
spec_list.custom_price2 | 自定义价格2 | string | 自定义价格2 |
spec_list.sale_score | 销售积分 | string | 销售积分 |
spec_list.pack_score | 打包积分 | string | 打包积分 |
spec_list.pick_score | 拣货积分 | string | 拣货积分 |
spec_list.validity_days | 有效期天数 | string | 保质期 |
spec_list.sales_days | 最佳销售天数 | string | 最佳销售天数 |
spec_list.receive_days | 最佳收获天数 | string | 最佳收获天数 |
spec_list.weight | 重量 | string | 重量 |
spec_list.length | 长 | string | 长(CM) |
spec_list.width | 宽 | string | 宽(CM) |
spec_list.height | 高 | string | 高(CM) |
spec_list.is_sn_enable | 启用序列号 | string | 0不启用序列号 1强序列号 2弱序列号 |
spec_list.is_allow_neg_stock | 是否允许负库存 | string | 0(不允许负库存);1(允许负库存) |
spec_list.is_not_need_examine | 是否出库不验货 | string | 0(出库不验货);1(出库必须验货) |
spec_list.is_zero_cost | 是否允许0成本 | string | 0(不允许0成本);1(允许0成本) |
spec_list.is_lower_cost | 是否允许低于成本价 | string | 0(不允许低于成本价);1(允许低于成本价) |
spec_list.is_not_use_air | 是否航空禁运 | string | 0(航空不禁运) 1(航空禁运); |
spec_list.tax_rate | 税率 | string | 税率 |
spec_list.large_type | 大件类别 | string | 0非大件1普通大件2独立大件 |
spec_list.remark | 备注 | string | 备注 |
spec_list.spec_created | 创建时间 | string | 格式:YYYY-MM-DD HH:MM:SS。ERP客户端需升级至V2.3.8.6及以上版本可获取此字段 |
spec_list.spec_modified | 最后修改时间 | string | 格式:YYYY-MM-DD HH:MM:SS |
spec_list.prop1 | 自定义1 | string | 自定义1 |
spec_list.prop2 | 自定义2 | string | 自定义2 |
spec_list.prop3 | 自定义3 | string | 自定义3 |
spec_list.prop4 | 自定义4 | string | 自定义4 |
spec_list.prop5 | 自定义5 | string | 自定义5 |
spec_list.prop6 | 自定义6 | string | 自定义6 |
spec_list.img_url | 图片 | string | 图片url |
spec_list.tax_code_id | 税务编码 | string | 关联税务表税务编码 |
spec_list.is_single_batch | 是否使用同一批次 | string | 是否启用同一批次, 0,不使用同一批次,1,使用同一批次 |
spec_list.washing_label | 水洗标 | string | 水洗标 |
spec_list.unit | 基本单位 | string | 基本单位 |
spec_list.aux_unit | 辅助单位 | string | 辅助单位 |
spec_list.flag_id | 标记 | string | 标记 |
spec_list.img_key | 图片在外部空间的key | string | 看图片在外部空间的key 比如说 云盘的一个 外链 |
spec_list.barcode_count | 条码个数 | string | 条码个数 |
spec_list.plat_spec_count | 平台货品数量 | string | 平台货品数量(不包含删除的) |
spec_list.postfix_val | sn自增数 | string | sn自增数 |
spec_list.last_date | 最后日期 | string | 最后日期 格式:yyyy-MM-dd HH:mm:ss |
spec_list.replenish_type | 补货方式 | string | 补货方式 0持续补货 1不补货 2低于警戒库存补货 |
spec_list.is_popular | 是否畅销 | string | 是否畅销 0非畅销 1畅销 |
spec_list.replace_no | 备注换货匹配码 | string | 备注换货匹配码 |
spec_list.spec_mask | 单品标记二进制位 | string | 单品标记二进制位 1同款备注换货虚拟规格 2是否在备注换货界面展示 |
spec_list.replace_proportion | 同款备注换货 | string | 同款备注换货--虚拟货品换货比例 |
spec_list.extra_3 | 扩展字段 | string | 扩展字段 |
spec_list.tax_code | 税务编码 | string | 税务编码 |
spec_list.modified | 最后修改时间 | string | 最后修改时间 格式:yyyy-MM-dd HH:mm:ss |
spec_list.created | 创建时间 | string | 创建时间 格式:yyyy-MM-dd HH:mm:ss |
spec_list.spec_unit_name | 基本单位 | string | 基本单位名称 |
spec_list.spec_aux_unit_name | 辅助单位 | string | 辅助单位名称 |
spec_list.deleted | 是否已删除 | string | 是否已删除:0:未删除 >0代表已删除 |
金蝶云星辰V1接口明细
- 调用接口:jdy/basedata/material_save
- 接口名称:商品新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
number | 商品编码 | string | {{goods_no}} |
name | 商品名称 | string | {{goods_name}} |
baseunitid_id | 计量单位id | string | findCollection find id from 6e1fea1d-484a-39cc-b445-e31c63327233 where name={{spec_list.spec_unit_name}} |
checktype | 商品类型 | string | _function case '{{product_type}}' when '2' then '1' when '1' then '1' else '3' end |
model | 规格型号 | string | {{spec_list.spec_code}} |
gross_weight | 毛重 | string | {{package_gross_weight}} |
volume | 体积 | string | {{package_volume}} |
remark | 备注 | string | {{product_remark}} |
issubpart | 可为子件 | string | true |
isasstattr | 是否启用辅助属性 | string | _function case when '{{product_type}}'='2' then 'true' else 'false' end |
barcode | 商品条码 | string | {{spec_list.barcode}} |
系统数据对接
随着企业数字化业务的深入发展,对于企业的 IT 或者 CIO 来讲,正在面临一个愈发重要的问题——系统的结构太复杂了,尤其是头部企业,至少有十多套系统,这些系统之间的蛛网状的接口如果经常出问题。企业内部以及企业内部与外部建立起越来越多的业务应用系统,如何整合企业的现有IT资源,使企业中计算机孤岛式的应用向集体协作的方向发展,发挥资源效益的最大化,降低企业成本,正在逐渐成为企业关注的重要问题。用户希望企业内所有系统集成在一个平台上,操作统一,以节省培训时间。使用在轻易云应用集成平台 + MDM基础数据平台的解决方案中,轻易云应用集成平台负责实现异构、分布式系统之间互联互通,实现服务API治理以及数据传输交换。通过轻易云预置的各种适配器组件,连接现有各孤立应用系统,以图形化、拖拽方式构建集成流程和服务,提高应用系统集成工作效率,降低异构系统集成风险。针对未来可能出现的业务需求变更,在应用集成平台上进行动态调整,实现各应用系统之间的集成策略平滑升级。
