汤臣倍健营销云与畅捷通T+对接集成查询下级退货入库订单接口连通创建销售出库单(退货入库-兰州沐翰)
数据源系统:汤臣倍健营销云
汤臣倍健营销云融合集团资源与能力,实现线上线下渠道联通双赢,其全链路数字营销范本和思路可供全行业操盘手参考。汤臣倍健在危机之中创新机的企业“进化论”,打造全链路渠道营销中台
对接目标系统:畅捷通T+
畅捷通T+是一款新型互联网企业管理软件,全面满足成长型小微企业对其灵活的业务流程的管控需求,重点解决往来业务管理、订单跟踪、资金、库存等管理难题。产品支持您通过各种固定或移动设备随时迅速获取企业实时、动态的运营信息,以及随时随地,实时掌握的特性带给您全新的体验感受。
数据对接方案
通过轻易云系统数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:汤臣倍健营销云,并且选择对应的连接器(关于汤臣倍健营销云的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的查询下级退货入库订单接口接口作为数据对接来源。然后再通过写入目标平台配置目标系统为畅捷通T+,并且选择对应连接器。选择对应的创建销售出库单接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。
汤臣倍健营销云接口明细
- 接口:/erp/api/order/query/saleReturnOrder
- 接口名称:查询下级退货入库订单接口
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
tenantId | 经销商id | string | 经销商id(必填,营销云id)如:34cc4109705e4c058b7b3b0352e57d31 |
yxyNumber | 营销云销售订单号 | string | 如:YD1215710122031701,传此参数时,其他时间状态等条件无效 |
number | 系统订单号 | string | 如:XOUT0000000293,传此参数时,其他时间状态等条件无效 |
status | 订单状态 | string | 0:未审核 1:已审核(已出库) |
beginTime | 开始时间 | string | timeType为空或者0,基于创建时间查询,timeType为1,基于更新时间查询,格式:0000-00-00或0000-00-00 00:00:00,如果不传单号此字段必填 |
endTime | 结束时间 | string | timeType为空或者0,基于创建时间查询,timeType为1,基于更新时间查询,格式:0000-00-00或0000-00-00 00:00:00,如果不传单号此字段必填 |
pageNo | 页码 | string | 默认1 |
pageSize | 每页条数 | string | 默认30 |
timeType | 时间段标志 | string | 查询时间段标识,0:创建时间(默认),1:最后更新时间 |
响应参数
字段 | 名称 | 类型 | 描述 |
number | 下级退货入库单号 | string | |
othernumber | 原始单号 | string | 营销云单号 |
opertime | 业务日期 | string | |
approverId | 审批人id | string | |
linknumber | 关联订单号 | string | 关联的源单号 |
organName | 客户名 | string | |
organid | 客户id | string | |
contacts | 发货人 | string | |
phone | 发货电话 | string | |
shippingAddress | 发货地址 | string | |
sourceBillType | 来源订单类型 | string | 211:下级退货订单 |
status | 订单状态 | string | 0:未审核,1:已审核(已出库) |
subtype | 单据类型 | string | 212:下级退货入库单 |
tenantName | 公司名称 | string | |
type | 出入库类型 | string | -1:扣减库存,1:增加库存,0:不加不减 |
version | 版本号 | string | |
itemList | 商品列表 | array | |
itemList.id | 明细行id | string | |
itemList.tenantId | 公司id | string | |
itemList.createtime | 创建时间 | string | |
itemList.updateTime | 更新时间 | string | |
itemList.remark | 备注 | string | |
itemList.headerid | 订单id | string | |
itemList.depotName | 仓库名 | string | |
itemList.depotNo | 仓库编号 | string | |
itemList.depotid | 仓库id | string | |
itemList.materialName | 产品名称 | string | |
itemList.materialNumber | 产品编码 | string | |
itemList.materialid | 产品id | string | |
itemList.lot | 批次 | string | |
itemList.mfg | 生产日期 | string | |
itemList.exp | 到期日期 | string | |
itemList.opernumber | 下单数量 | string | 真实出库数量 |
itemList.basicnumber | 基础数量 | string | |
itemList.taxrate | 税率 | string | |
itemList.taxunitprice | 含税单价 | string | |
itemList.taxlastmoney | 价税合计 | string | |
itemList.extMaterialNo | 外围系统产品编码 | string | |
itemList.helpCode | 产品助记码 | string | 如:AA010302 |
itemList.extCusCode | 外围系统客户编码 | string | 如果在营销云有维护就有该字段 |
畅捷通T+接口明细
- 接口:/tplus/api/v2/saleDispatch/Create
- 接口名称:创建销售出库单
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
ExternalCode | 外部系统数据编号 | string | 外部系统数据编号;OpenAPI调用者填写,后台做唯一性检查。用于防止重复提交,和外系统数据对应 |
Code | 单据编码 | string | |
Customer | 客户 | string | |
Partner | 客户 | string | 客户,PartnerDTO对象,客户信息。 |
VoucherDate | 单据日期 | string | |
BusiType | 业务类型 | string | |
Warehouse | 仓库 | string | |
DispatchAddress | 送货地址 | string | |
TransDocNo | 运单号 | string | |
DeliveryCode | 发货单号 | string | |
Memo | 备注 | string | |
RDRecordDetails | 物料明细 | array | |
RDRecordDetails.Inventory | 存货 | string | |
RDRecordDetails.BaseQuantity | 数量 | string | |
RDRecordDetails.Batch | 批号 | string | |
RDRecordDetails.origTaxSalePrice | 含税售价 | string | |
RDRecordDetails.DetailMemo | 明细备注 | string | |
RDRecordDetails.Price | 成本单价 | string | |
RDRecordDetails.Amount | 成本金额 | string | |
RDRecordDetails.VoucherType | 单据类型 | string | 不知道什么傻逼鬼东西,接口文档没有说,只有示例 |
RDRecordDetails.dataKey | dataKey | string | |
数据对接价值
通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。
系统数据对接方案元数据代码