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

数据源平台:旺店通·企业奇门
慧策最先以旺店通ERP切入商家核心管理痛点——订单管理,之后围绕电商经营管理中的核心管理诉求,先后布局流量获取、会员管理、仓库管理等其他重要经营模块。慧策的产品线从旺店通ERP起步,向前向后延伸,全面布局零售企业经营,整体构建一体化智能零售解决方案,打破数据孤岛,AI植入系统,实现智能决策,助力零售企业智能化转型。当前旗下拥有店+小程序、数智门店POS、旺店通ERP、旺店通WMS、卡米全渠道、客优CRM、云筹大数据等多个PssS、SaaS产品,从前端吸引流量到后端集约化管理,助力企业智慧决策
目标系统:金蝶云星辰V1
金蝶云星辰是金蝶集团公司为小微型工商贸企业定制的一款集财务、进销存、订货商城和税务管理为一体的SAAS云平台,有标准版和专业版两个版本,标准版适用于小型企业(10-50人)业财一体化管理,专业版面向小型(10-100人)企业管理需求。金蝶云星辰聚焦小型企业在线经营和数字化管理,赋能小型企业拓客开源、智能管理和实时决策。
数据接口配置方案
异构系统具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。那么对接就需要根据接口配置对应的规则,例如取数就要根据查询接口获取旺店通·企业奇门的数据,并且根据对应的条件进行取数,目标系统就必须根据目标系统的格式,以及获取的数据进行加工处理后进行写入到金蝶云星辰V1中。轻易云集成平台的可视化配置轻松实现。

旺店通·企业奇门接口明细
- API:wdt.stockin.order.query.purchase
- NAME:查询采购入库单
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
start_time | 开始时间 | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | {{CURRENT_TIME datetime}} |
status | 状态 | 80 |
src_order_no | 上层单据编号 | |
warehouse_no | 仓库编号 | |
page_size | 分页大小 | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | {{PAGINATION_START_PAGE}} |
响应参数
接口字段 | 名称 | 预设值 |
stockin_id | 入库单主键id | |
order_no | 入库单号 | |
status | 状态 | |
warehouse_no | 仓库编号 | |
warehouse_name | 仓库 | |
stockin_time | 修改时间 | |
check_time | 审核时间 | |
created_time | 创建时间 | |
src_order_no | 采购单号 | |
remark | 备注 | |
stockin_reason | 入库原因 | |
order_type | 入库类型 | |
order_type_name | 入库类型名称 | |
goods_amount | 货款总额 | |
total_price | 总成本 | |
discount | 优惠 | |
tax_amount | 税后金额 | |
post_fee | 邮费 | |
other_fee | 其他费用 | |
logistics_type | 物流类型 | |
logistics_code | 物流公司编号 | |
logistics_name | 物流公司名称 | |
logistics_no | 物流单号 | |
purchase_no | 采购单编号 | |
provider_no | 供应商编号 | |
provider_name | 供应商名称 | |
outer_no | 外部单号 | |
goods_count | 货品总数量 | |
adjust_num | 纠错数量 | |
adjust_price | 纠错金额 | |
right_nums | 调整后数量 | |
right_price | 调整后总金额 | |
stockin_no | 入库单号 | |
wms_outer_no | 仓储外部编号 | |
wms_status | 外部状态 | |
wms_result | 外部结果 | |
warehouse_id | 仓库id | |
src_order_type | 源单据类型 | |
src_order_id | 源单据id | |
reason_id | 原因 | |
fa_status | 财务同步状态 | |
logistics_id | 物流公司 | |
post_share_type | 邮费分摊类型 | |
operator_id | 操作员id | |
check_operator_id | 审核人id | |
goods_type_count | 货品种类数 | |
note_count | 便签数量 | |
flag_id | 标记 | |
modified | 最后修改时间 | |
details_list | 明细节点 | |
details_list.stockin_id | 入库单主键id | |
details_list.rec_id | 入库明细主键 | |
details_list.src_order_detail_id | 上层单据明细主键 | |
details_list.spec_no | 商家编码 | |
details_list.goods_count | 货品数量 | |
details_list.discount | 优惠金额 | |
details_list.cost_price | 单价 | |
details_list.production_date | 生产日期 | |
details_list.validity_days | 有效期天数 | |
details_list.expire_date | 有效期 | |
details_list.src_price | 原价 | |
details_list.tax_price | 税后价 | |
details_list.tax_amount | 税后金额 | |
details_list.tax | 税率 | |
details_list.total_cost | 总成本 | |
details_list.remark | 备注 | |
details_list.adjust_num | 纠错数量 | |
details_list.adjust_price | 纠错金额 | |
details_list.right_num | 调整后数量 | |
details_list.right_price | 调整后单价 | |
details_list.right_cost | 调整后总金额 | |
details_list.brand_no | 品牌编号 | |
details_list.brand_name | 品牌名称 | |
details_list.goods_name | 货品名称 | |
details_list.goods_no | 货品编号 | |
details_list.spec_name | 规格名称 | |
details_list.spec_code | 规格码 | |
details_list.prop2 | 自定义属性 | |
details_list.goods_unit | 单位名称 | |
details_list.batch_no | 批次号 | |
details_list.batch_remark | 批次备注 | |
details_list.position_no | 货位编号 | |
details_list.src_order_type | 源单据类型 | |
details_list.org_stockin_detail_id | 原始入库单明细 | |
details_list.spec_id | 规格id | |
details_list.batch_id | 批次 | |
details_list.position_id | 货位id | |
details_list.num | 数量 | |
details_list.num2 | 数量2 | |
details_list.unit_id | 辅助单位 | |
details_list.base_unit_id | 基本单位 | |
details_list.unit_ratio | 单位换算关系 | |
details_list.expect_num | 预期入库数量 | |
details_list.cost_price2 | 辅助成本价 | |
details_list.share_post_cost | 邮资分摊成本 | |
details_list.share_post_total | 邮资分摊总成本 | |
details_list.modified | 最后修改时间 | |
details_list.created | 创建时间 | |
金蝶云星辰V1接口明细
- API:jdy/pur/pur_inbound_save
- NAME:采购入库单保存新增
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
ignoreconfirm | 忽略操作确认提示,当price不传或等于0时ignoreconfirm需要为true | true |
billno | 单据编码 | {{order_no}} |
material_entity | 商品分录 | details_list |
material_entity.materialid_id | 商品 | findCollection find id from b36e2f56-3e1b-3d60-9748-c59ec4c9d95f where number={{details_list.spec_no}} |
material_entity.stockid_id | 仓库 | _findCollection find id from dfb624bb-d6b8-33fc-a971-c3df53cf9288 where name={{warehouse_name}} |
material_entity.is_free | 是否赠品 | function case when {{details_list.tax_price}}> 0 then 'False' else 'True' end |
material_entity.qty | 数量 | {{details_list.right_num}} |
material_entity.cost | 入库成本 | |
material_entity.comment | 行备注 | |
material_entity.taxprice | 含税单价 | {{details_list.tax_price}} |
material_entity.cess | 税率 | {{details_list.tax}} |
material_entity.billdate | 单据日期 | {{created_time date }} |
material_entity.transtype | 业务类型,1:限购,2:赊购,3:直运采购,4:受托入库 | 2 |
material_entity.remark | 备注 | {{remark}} |
material_entity.supplierid_id | 供应商 | _findCollection find id from 9278fe4a-f123-3198-94b2-69703d296326 where number={{provider_no}} |
系统打通概况
基于轻易云的连接器和数据服务能力,轻松实现供应链异构系统的“相互沟通”,通过数据应用自动化业务流程管理,全面管控供应链的每一环节。从要货、销售出库、退货入库、到盘点、调拨,无需人工参与,实时更新,自动化流转。通过快速连接旺店通·企业奇门接口抽取数据后再自动分发到金蝶云星辰V1, 解放生产力,自动生成数据、并分发推送到业务应用,数据传递时效性提升10倍以上。
