锐思WMS对接打通金蝶云星辰V1出库单查询接口与新增或修改一张销售出库单接口

来源系统:锐思WMS
WMS是仓库管理系统(WarehouseManagementSystem)的缩写,wms仓储物流管理系统是通过入库业务、出库业务、仓库调拨、库存调拨和虚仓管理等功能,综合批次管理、物料对应、库存盘点、质检管理、虚仓管理和即时库存管理等功能综合运用的管理系统
接入系统:金蝶云星辰V1
金蝶云·星辰基于金蝶云·苍穹云原生PaaS平台构建,聚焦小型企业在线经营和数字化管理,提供财务云、税务云、进销存云、零售云、订货商城等SaaS服务,支持企业拓客开源、智能管理、实时决策;金蝶云·星辰还提供轻量级PaaS平台和全面的API接口,广泛连接生态伙伴,为小微企业提供一站式服务,助力企业快速成长
数据接口配置
轻易云集成平台的对接是通过一个个对应的对接方案去形成两个系统对接的连线,所以对接方案的配置极其重要,方案可以选择一键复制,轻易云有海量的对接方案可支持一键复制,复制后直接启动使用(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息。或者可以通过手工配置,配置只要确认源平台:锐思WMS的取数逻辑,例如什么时间取什么样的数据。即可完成配置,目标平台:金蝶云星辰V1,把获取的数据组装成目标系统需要的格式进行写入。

锐思WMS接口明细
- 调用接口:/owActual/list
- 接口名称:出库单查询
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
orderNo | 销售订单编号 | string | |
noticeNo | 发货通知单号 | string | |
billType | 单据类型 | string | 110 |
completeTimeF | 开始完成时间 | Datetime | {{LAST_SYNC_TIME datetime}} |
completeTimeT | 结束完成时间 | Datetime | {{CURRENT_TIME datetime}} |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
owNo | Wms出库单号 | string | |
orderNo | 销售订单编号 | string | |
noticeNo | 发货通知单号 | string | |
billType | 单据类型 | string | |
billStatus | 单据状态 | int | |
bizDate | 业务日期 | date | |
createUser | 制单人 | string | |
customerNo | 供应商(客户)ID | string | |
deliveryType | 配送方式 | string | |
address | 客户地址 | string | |
contactName | 客户联系人 | string | |
contactTel | 客户电话 | string | |
memo | 备注 | string | |
srcBillType | 源单类型 | string | |
erpWharehoseNo | ERP仓库编码 | string | |
pickUser | 拣货人 | string | |
completeTime | 完成时间 | Datetime | |
Items | 分录(List) | array | |
Items.seq | Wms分录行号 | string | |
Items.erpEntryId | ERP分录内码 | string | |
Items.materialNo | 物料ID | string | |
Items.qty | 数量 | int | |
Items.unit | 单位 | string | |
Items.lot | 批号 | string | |
Items.productDate | 生产日期 | string | |
Items.entryMemo | 明细行备注 | string | |
金蝶云星辰V1接口明细
- API:jdy/sys/bill_push
- NAME:新增或修改一张销售出库单
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
ids | 单据id | mongoQuery ca80f2ab-bfb6-3b66-9f3d-cc5998d19a59 findField=content.id where={"content.billno":{"$eq":"{{orderNo}}"}} |
sourcebill | 源单据类型 | sal_bill_order |
targetbill | 目标单据类型 | sal_bill_outbound |
otherapi | 下推保存接口 | jdy/sal/sal_outbound_save |
billdate | 出库日期,格式:2019-01-01 | {{completeTime}} |
billno | 单据编号 | {{owNo}} |
customerid_id | 客户信息 | _findCollection find id from b21744fd-c4b8-3ae5-a694-8ee8e92f3aa1 where number={{customerNo}} |
material_entity | 商品分录 | items |
material_entity.materialid_id | 商品 | findCollection find id from dccd5794-00b8-33b7-8055-5d0a3f0f2734 where number={{items.materialNo}} |
material_entity.stockid_id | 仓库 | 1570159019497143296 |
material_entity.qty | 数量 | {{items.qty}} |
material_entity.baseqty | 基本单位数量 | {{items.qty}} |
material_entity.unit_id | 单位 | _findCollection find id from e9faa59e-5b46-35c6-9df5-82c4f25dd98a where number={{items.unit}} |
material_entity.allamountfor | 价税合计 | function round({{items.qty}}{{items.price}}) |
material_entity.predisamount | 价税合计 | _function round({{items.qty}}*{{items.price}}) |
material_entity.actnontaxamount | 价税合计 | function round({{items.qty}}{{items.price}}) |
material_entity.amount | 价税合计 | _function round({{items.qty}}*{{items.price}}) |
material_entity.billdisbeforeamount | 价税合计 | _function round({{items.qty}}*{{items.price}}) |
material_entity.material_entity_lk | 关联关系表 | |
material_entity.material_entity_lk.material_entity_lk_baseqty | 关联基础单位数量 | {{items.qty}} |
material_entity.material_entity_lk.material_entity_lk_baseqty_old | 关联基础单位数量 | {{items.qty}} |
系统对接总览
通过无代码的数据集成与数据建模的智能数据管道技术,帮助企业将所有应用程序、数据库、事件和文件等数据信息提取到数据仓库中,并快速将分散的数据转化为数据集、API、自动化流程等开箱即用的数据服务。配置接口的模式对接锐思WMS和金蝶云星辰V1,使得单据无缝互通。打造企业内部数据一体化,让企业日常运营管理实现敏捷数据化运营。实现供应链业务信息流的互通,同时支持供应链数据分析流程自动化,结果推送,推进相关供应链问题优化。及时打通供应链孤岛,实现数据驱动供应链协同,进一步提升企业竞争力。
