旺店通·企业奇门与金蝶云星辰V1对接集成查询采购单打通采购订单保存新增

对接系统旺店通·企业奇门
旺店通是北京掌上先机网络科技有限公司旗下品牌,国内的零售云服务提供商,基于云计算SaaS服务模式,以体系化解决方案,助力零售企业数字化智能化管理升级。为零售电商企业的订单管理及仓储管理提供解决方案,致力于帮助企业实现数字化转型,企业规模化发展
对接系统:金蝶云星辰V1
金蝶云·星辰基于金蝶云·苍穹云原生PaaS平台构建,聚焦小型企业在线经营和数字化管理,提供财务云、税务云、进销存云、零售云、订货商城等SaaS服务,支持企业拓客开源、智能管理、实时决策;金蝶云·星辰还提供轻量级PaaS平台和全面的API接口,广泛连接生态伙伴,为小微企业提供一站式服务,助力企业快速成长
配置集成方案
系统对接前期需要通过调研公司的业务,规划出最便捷,效率最高的整体流程。通过流程我们需要建立对应的方案来吧这些流程一一的落地,轻易云集成平台开箱即用的、可视化拖、拉、拽实现接口服务编排与聚合。只需要根据指引设定好对应的参数即可启动使用。设定好源平台:旺店通·企业奇门的接口参数设置,以及设定好目标平台:金蝶云星辰V1的映射,即可启动方案进行测试

旺店通·企业奇门接口明细
- 调用接口:wdt.purchase.order.query
- 接口名称:查询采购单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | string | {{LAST_SYNC_TIME datetime}} |
outer_no | API单号 | string | |
purchase_no | 采购单号 | string | |
status | 采购单状态 | string | 40,43,45,48,50,60,70,80,90 |
warehouse_no | 仓库编码 | string | |
purchase_no | 采购单号 | string | |
end_time | 结束时间 | string | {{CURRENT_TIME datetime}} |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | string | {{PAGINATION_START_PAGE}} |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
purchase_id | 采购单id | string | |
purchase_outer_no | 外部单号 | string | |
outer_no | api单号 | string | |
warehouse_name | 仓库 | string | |
warehouse_no | 仓库编号 | string | |
status | 采购单状态 | string | |
provider_no | 供应商编号 | string | |
provider_name | 供应商名称 | string | |
contact | 联系人 | string | |
telno | 电话 | string | |
purchaser_name | 采购员 | string | |
receive_address | 收货地址 | string | |
logistics_type | 货运方式 | string | |
check_time | 审核时间 | string | |
goods_amount | 货款 | string | |
post_fee | 邮资 | string | |
other_fee | 其他费用 | string | |
tax_goods_amount | 税后货品总金额 | string | |
remark | 备注 | string | |
modified | 最后修改时间 | string | |
expect_arrive_time | 预计到货时间 | string | |
prop1 | 自定义属性1 | string | |
prop2 | 自定义属性2 | string | |
created | 创建时间 | string | |
creator_id | 创建人id | string | |
creator_name | 创建人姓名 | string | |
warehouse_id | 仓库id | string | |
api_outer_no | api外部单号 | string | |
wms_outer_no | 外部仓库单号 | string | |
wms_status | 外部状态 | string | |
error_info | 错误信息 | string | |
purchaser_id | 采购员id | string | |
order_type | 采购单类型 | string | |
flag_id | 颜色标记 | string | |
provider_id | 供应商 | string | |
check_operator_id | 审核人 | string | |
facheck_operator_id | 财审人 | string | |
facheck_time | 财审人 | string | |
goods_fee | 货品总价 | string | |
goods_count | 货品数量 | string | |
tax_fee | 税后总价 | string | |
goods_type_count | 货品种类 | string | |
goods_arrive_count | 到货总量 | string | |
revert_reason | 驳回原因 | string | |
version_id | 版本号 | string | |
note_count | 便签条数 | string | |
prop_time1 | 自定义属性时间1 | string | |
details_list | 采购单明细节点 | array | |
details_list.rec_id | 主键 | string | |
details_list.purchase_id | 采购单id | string | |
details_list.spec_no | 商家编码 | string | |
details_list.brand_name | 品牌 | string | |
details_list.num | 数量 | string | |
details_list.price | 税前单价 | string | |
details_list.discount | 折扣 | string | |
details_list.tax | 税率 | string | |
details_list.tax_price | 税后单价 | string | |
details_list.tax_amount | 税后金额 | string | |
details_list.amount | 税前金额 | string | |
details_list.stockin_amount | 采购到货入库总金额 | string | |
details_list.stockin_num | 采购到货入库数量 | string | |
details_list.prop1 | 自定义属性1 | string | |
details_list.prop2 | 自定义属性2 | string | |
details_list.remark | 备注 | string | |
details_list.modified | 修改时间 | string | |
details_list.provider_goods_no | 供应商货品编号 | string | |
details_list.goods_no | 货品编号 | string | |
details_list.goods_name | 货品名称 | string | |
details_list.short_name | 货品简称 | string | |
details_list.spec_name | 规格名称 | string | |
details_list.spec_code | 规格码 | string | |
details_list.base_unit | 基本单位 | string | |
details_list.purchase_unit | 采购单位 | string | |
details_list.arrive_num | 采购到货未入库数量 | string | |
details_list.stopwait_num | 停止等待数量 | string | |
details_list.purchase_price | 采购价 | string | |
details_list.last_price | 最后采购价 | string | |
details_list.last_second_price | 上一次采购价 | string | |
details_list.lowest_price | 最低采购价 | string | |
details_list.weight | 重量 | string | |
details_list.arrive_more_num | 多到货量 | string | |
details_list.lack_num | 未到货量 | string | |
details_list.spec_id | 规格id | string | |
details_list.warehouse_id | 仓库id | string | |
details_list.tag | 标签 | string | |
details_list.num2 | 数量2 | string | |
details_list.unit_ratio | 单位比率 | string | |
details_list.unit_id | 辅助单位 | string | |
details_list.base_unit_id | 基本单位 | string | |
details_list.created | 创建时间 | string | |
金蝶云星辰V1接口明细
- API:jdy/pur/pur_order_save
- NAME:采购订单保存新增
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
billno | 单据编码 | {{purchase_no}} | 单据编码 |
billdate | 出库日期(金蝶云星辰-单据日期) | {{modified}} | 出库日期,格式:2019-01-01 |
supplierid_id | 供应商 | findCollection find id from 6019df9a-c08d-3bc0-a964-54639fb35c6a where number={{provider_no}} | 供应商 |
material_entity | 商品分录 | details_list | 商品分录 |
material_entity.materialid_id | 商品 | _findCollection find id from 87620e1d-bf21-3b1b-a036-5d64ec61ad39 where number={{details_list.goods_no}} | 商品 |
material_entity.stockid_id | 仓库 | findCollection find id from 38d1bf66-eeed-38f7-adf6-93ae7b2c7ce8 where number={{warehouse_no}} | 仓库 |
material_entity.spid_id | 仓位 | | 仓位 |
material_entity.qty | 数量 | {{details_list.num}} | 数量 |
material_entity.deliverydate | 交货日期 | | 交货日期 |
material_entity.unit_id | 单位 | _findCollection find baseunitid_id from 87620e1d-bf21-3b1b-a036-5d64ec61ad39 where number={{details_list.goods_no}} | 单位 |
material_entity.taxprice | 含税单价 | {{details_list.tax_price}} | 含税单价 |
material_entity.price | 单价 | | 单价 |
material_entity.cess | 增值税率 | _function {{details_list.tax}} * (100) | 增值税率 |
material_entity.srcbillno | 源单编码(商品编码) | {{goods_no}} | 源单编码 |
material_entity.remark | 备注 | {{remark}} | |
数据对接价值
当企业规模逐渐增大时,作为支撑业务运营的IT建设也变得越来越重要,不过往往企业的IT建设过程中会发现某一家软件供应商基本不能完全覆盖企业所有的业务运营流程,这样的结果就是,企业上的IT系统很多很全,从ERP到HR、CRM、PDM、OA等,貌似所有的业务都覆盖到了,但实际上因为这些系统的不集成,而形成了企业很多新的信息孤岛,非常不利于企业的后续的管理和战略发展。从现今和往后的发展趋势来看,也不可避免会遇到上述问题,毕竟企业经营的多样化,并不是所有的业务都能在一个系统中完成,所以我们必须在产品架构上支持更好的与外部系统进行协同。通过轻易云集成平台统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。


