网店管家和金蝶云星空接口打通对接实战

接通系统:网店管家
对接目标系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
数据接口配置方案
通过轻易云系统数据集成平台新增创建集成方案,通过轻易云的方案市场可以一键复制,并且可以借鉴其他的方案配置完成方案制作,方案制作只需要两步,第一步先确定好对应的数据来源;源系统:网店管家接口:查询调拨单通过请求调度者配置对应的请求参数即可获取到对应的数据。目标系统:金蝶云星空接口:调拨单新增,通过写入调度者匹配获取到的数据和写入的映射关系,即可自动生成符合目标系统:金蝶云星空写入的数据自动产生写入队列,通过运行概况,系统会自动帮你诊断方案的运行情况。实时监控到方案的运行情况


网店管家接口明细
- API:wdgj.requisition.list.get
- NAME:查询调拨单
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
pageno | 页码 | 1 |
pagesize | 每页条数 | 100 |
begintime | 查询开始时间 | {{LAST_SYNC_TIME datetime}} |
endtime | 查询结束时间 | {{CURRENT_TIME datetime}} |
timetype | 查询时间类型 | 2 |
searchno | 调拨单号 | DB2205230001 |
searchstatus | searchstatus | |
querymarkup | 单据查询标记 | |
响应参数
接口字段 | 名称 | 预设值 |
billid | 调拨单ID | |
billno | 调拨单号 | |
createtime | 创建时间 | |
requisitionoperator | 创建人 | |
warehouseout | 调出仓库id | |
warehouseoutname | 调出仓库名称 | |
warehouseoutno | 调出仓库编码 | |
warehousein | 调入仓库id | |
warehouseinno | 调入仓库编码 | |
warehouseinname | 调入仓库名称 | |
outchktime | 调出时间 | |
outchkoperator | 调出经办人 | |
inchktime | 调入时间 | |
inchkoperator | 调入经办人 | |
remark | 备注 | |
outremark | 调出备注 | |
inremark | 调入备注 | |
curstatus | 状态 | |
logisticid | 物流ID | |
logisticno | 物流单号 | |
logistictype | 物流类型 | |
logisticfee | 物流费用 | |
postid | 运单号 | |
dbtype | 调拨类型 | |
logisticname | 物流公司 | |
goodslist | 调拨单中的货品信息 | |
goodslist.goodsid | 货品ID | |
goodslist.specid | 规格ID | |
goodslist.goodsname | 商品名 | |
goodslist.unit | 单位 | |
goodslist.goodscount | 申请数量 | |
goodslist.price | 单价 | |
goodslist.extracost | 额外成本 | |
goodslist.remark | 备注 | |
goodslist.outcount | 出库数量 | |
goodslist.incount | 入库数量 | |
goodslist.goodsno | 货品编码 | |
goodslist.barcode | 条形码+附加码 | |
goodslist.specname | 规格名称 | |
goodslist.recid | 记录id(唯一) | |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:调拨单新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillNo | 单据编号 | string | {{billno}} |
FBillTypeID | 单据类型 | string | ZJDB01_SYS |
FBizType | 业务类型 | string | NORMAL |
FTransferDirect | 调拨方向 | string | GENERAL |
FTransferBizType | 调拨类型 | string | InnerOrgTransfer |
FSaleOrgId | 销售组织 | string | 100 |
FSettleOrgId | 结算组织 | string | 100 |
FStockOutOrgId | 调出库存组织 | string | 100 |
FOwnerTypeOutIdHead | 调出货主类型 | string | BD_OwnerOrg |
FOwnerOutIdHead | 调出货主 | string | 100 |
FStockOrgId | 调入库存组织 | string | 100 |
FSETTLECURRID | 结算币别 | string | PRE001 |
FDate | 日期 | string | {{outchktime}} |
FNote | 备注 | string | {{inremark}} |
FBillEntry | 明细信息 | array | goodslist |
FBillEntry.FMaterialId | 物料编码 | string | _findCollection find FNumber from 29be4fe1-e8cd-3878-9183-1be585e039ce where FBARCODE={{goodslist.goodsno}} |
FBillEntry.FCMKBarCode | 零售条形码 | string | |
FBillEntry.FQty | 调拨数量 | string | {{goodslist.incount}} |
FBillEntry.FLot | 调出批号 | string | |
FBillEntry.FSrcStockId | 调出仓库 | string | {{warehouseoutno}} |
FBillEntry.FDestStockId | 调入仓库 | string | {{warehouseinno}} |
FBillEntry.FNoteEntry | 备注 | string | {{goodslist.remark}} |
FBillEntry.FISFREE | 赠品 | string | |
FBillEntry.FOwnerOutId | 调出货主 | string | |
FBillEntry.FOwnerOutId | 调入货主 | string | |
FBillEntry.FormId | 业务对象表单Id | string | STK_TransferDirect |
FBillEntry.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FBillEntry.IsVerifyBaseDataField | 验证基础资料 | bool | false |
FBillEntry.Operation | 执行的操作 | string | Save |
系统集成总览
从API层面解决企业烟囱式业务系统集成现状,实现深度的业务流程拉通网店管家到金蝶云星空之间数据集成;通过API连接各业务系统,复用已有的业务系统能力,让集成架构、服务关系更清晰。使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升复用率和价值。全面管控企业的API资产,梳理现有业务系统的API。实现API文档的统一管理,建立API的上线、下线、监控的统一管理体系及标准规范。已链接和打通主流SaaS系统超过100+,快速对接各种API接口,实现云上云下的互联互通。将SaaS和本地业务系统联接起来,打破时间与空间界限,打通原有核心数据及SaaS应用,构建可平滑演进的企业IT架构。
