从汤臣倍健营销云到畅捷通T+通过接口配置打通数据

对接系统汤臣倍健营销云
汤臣倍健创立于1995年,2002年系统地将膳食营养补充剂(VDS)引入中国非直销领域,2010年12月15日,汤臣倍健在深圳交易所创业板挂牌上市,并迅速成长为中国膳食营养补充剂领导品牌和标杆企业。2018年,汤臣倍健收购澳大利亚益生菌品牌Life-Space,同年5月,收购拜耳旗下具有80多年历史的儿童营养补充剂品牌Pentavite。欧睿数据显示,2020年汤臣倍健以10.3%的市场份额位居中国维生素与膳食补充剂行业第一位。汤臣倍健逐步发展为全球膳食营养补充剂行业领先者
接通系统:畅捷通T+
“T+”是一款灵动、智慧、时尚的互联网管理软件,主要针对中小型工贸和商贸企业的财务业务一体化应用,融入了社交化、移动化、物联网、电子商务、互联网信息订阅等元素。产品全面适应最新2013《小企业会计准则》,为企业打造全新的生意模式、管理模式、工作模式。与传统管理软件相比,“T+”更强调企业管理向企业经营的转变、等级化管人向平等化用人理念的转变。
多系统对接方案配置
使用轻易云系统数据集成平台对应的模块:数据集成方案。然后选择开始创建数据集成方案。在方案配置表单中选择对应的源业务系统:汤臣倍健营销云,然后选择对应的连接器。选择对应的门户-查询订单表头&表体组合作为数据对接来源。然后再通过写入目标平台配置目标系统为畅捷通T+,并且选择对应连接器(关于畅捷通T+的接口如何配置可以在轻易云数据集成社区论坛中找到相关信息,选择好对应的创建销货单接口作为数据写入动作,既可以完成第一步的数据对接配置。

汤臣倍健营销云接口明细
- 调用接口:/openapi-basesubject/order/queryOrderHead
- 接口名称:门户-查询订单表头&表体组合
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
orgId | 组织ID | string | 02505aaa8f114560af9c2bd9015436b4,4a194aa091ab4a4792c3eff081d377cb,e2e2d8b434be4f70bde3882d77482ddd |
page | 页码 | string | |
id | 订单id | string | |
applyerId | 要货方id | string | |
supplierId | 供货方id | string | |
no | 订单号 | string | |
distributionType | 分销类型 | string | |
distributorId | 分销商id | string | |
orderStatus | 订单状态 | string | |
createDt | 创建时间 | string | |
orderTypeCode | 订单类型,如普通订单、直运销售 | string | |
isDeliveryFreezed | 是否暂停发货 | string | |
nature | 订单分类 | string | |
relatedApplyerId | 关联交易经销商id | string | |
saleDistribution | 销售渠道 | string | |
disApplyerId | 分销商id | string | |
startDt | 订单时间(开始) | string | |
endDt | 订单时间(结束) | string | |
appStartDt | 审批时间(开始) | string | |
appEndDt | 审批时间(结束) | string | |
lastStartDt | 最后修改时间(开始) | string | {{LAST_SYNC_TIME datetime}} |
lastEndDt | 最后修改时间(结束) | string | 2024-09-07 12:59:00 |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
applyerId | 要货方id | string | |
supplierId | 供货方id | string | |
no | 订单号 | string | |
distributionType | 分销类型 | string | |
distributorId | 分销商id | string | |
orgId | 订单组织 | string | |
orderStatus | 订单状态 | string | |
createDt | 创建时间 | string | |
contractNo | 合同编号 | string | |
isReport | 是否随批报告 | string | |
predictArriveDt | 预计到货日期 | string | |
deliveryLevelCode | 发货优先级 | string | |
orderTypeCode | 订单类型,如普通订单、直运销售 | string | |
isDeliveryFreezed | 是否暂停发货 | string | |
taxCode | 税码 | string | |
areaCode | 区域id | string | |
currencyCode | 币种 | string | |
settlementModeCode | 结算方式 | string | |
deliveryCode | 交货方式 | string | |
isCreditManaged | 是否信用暂挂 | string | |
salesman | 订单销售人员 | string | |
relatedApplyerId | 关联交易经销商id | string | |
saleDistribution | 销售渠道 | string | |
nature | 订单分类,如要货单、退货单 | string | |
actGiftQuantity | 实际审批数量 | string | |
giftQuantity | 赠品数量 | string | |
province | 省份 | string | |
city | 城市 | string | |
county | 县城 | string | |
newExchangeOrder | 是否新的积分订单绑定方式(婴童特殊要求,值为1是,没有值或0为否) | string | |
contacts | 收货联系人 | string | |
phone | 收货联系人电话 | string | |
storagePlace | 仓库归属地 | string | |
shippingAddress | 收货地址 | string | |
expectDate | 预计到达天数 | string | |
disApplyerId | 分销商id | string | |
freeGiftTotal | 免费赠品余量 | string | |
discountTotalMoney | 产品折让总额 | string | |
returnedMoney | 应退金额 | string | |
retunsOvertopMoney | 退货超额金额 | string | |
remainMoney | 折让后金额 | string | |
fineMoney | 罚金金额 | string | |
totalMoney | 总金额 | string | |
netDiscountTotalMoney | 网络品&赠品折让总额 | string | |
netDiscountCanuseMoney | 网络品(产品)使用网络品&赠品可用总额 | string | |
netDiscountMoney | 网络品(产品)实际使用网络品&赠品折让金额 | string | |
netGiftDiscountCanuseMoney | 赠品使用网络品&赠品可用总额 | string | |
netGiftDiscountMoney | 赠品实际使用网络品&赠品折让金额 | string | |
fullDiscountTotalMoney | 全品折让总额 | string | |
fullDiscountCanuseMoney | 产品使用全品可用总额 | string | |
fullDiscountMoney | 产品实际使用全品折让金额 | string | |
fullGiftDiscountCanuseMoney | 赠品使用全品可用总额 | string | |
fullGiftDiscountMoney | 赠品实际使用全品折让金额 | string | |
retunsFullyMoney | 全额退款金额 | string | |
orderContacts | 订单联系人 | string | |
orderPhone | 订单联系人电话 | string | |
orderDt | 订单时间 | string | |
approveDt | 审批时间 | string | |
lastUpdateDt | 最后更新时间 | string | |
clientAppNo | 经销商外围系统编码 | string | |
partnerName | 经销商名称 | string | |
orgName | 租户名称 | string | |
details | 明细 | array | |
details.id | 明细Id | string | |
details.discountMoney | 折扣后金额 | string | |
details.quantity | 下单数量 | string | |
details.productId | 产品id | string | |
details.productName | 产品名称 | string | |
details.productNo | 产品编码 | string | |
details.spec | 规格 | string | |
details.unitCode | 单位 | string | |
details.minUnit | 包装数 | string | |
details.basePrice | 统一价 | string | |
details.price | 供货价 | string | |
details.actQuantity | 审批数量 | string | |
details.money | 金额 | string | |
details.type | 类型 | string | |
details.isFree | 是否免费 | string | |
details.discountAmount | 折扣额 | string | |
details.discountPrice | 折扣后单价 | string | |
details.discountRate | 折扣率 | string | |
details.itemDiscountMoney | 普通行折让 | string | |
details.itemFullDiscountMoney | 全品行折让 | string | |
details.itemNetDiscountMoney | 网络品&赠品行折让 | string | |
details.easNo | 产品长编码 | string | |
details.extNo | 产品外围编码 | string | |
details.batchNum | 产品批次号 | string | |
畅捷通T+接口明细
- API:/tplus/api/v2/saleDelivery/Create
- NAME:创建销货单
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
VoucherDate | 单据日期 | {{orderDt}} | 默认系统时间 |
Code | 编码 | {{no}} | 1、T+系统单据编码。 2、此参数可空,为空时,默认按T+系统自动规则取值,若无法自动生成,则取外部系统单据编码。 |
ExternalCode | 外部编码 | {{no}} | |
BusinessType | 业务类型 | 15 | |
Customer | 客户 | {{clientAppNo}} | 1、客户,PartnerDTO对象,客户信息。 2、PartnerDTO对象包括如下常用属性: { "Code": ""//T+系统客户编码 } 3、非空,此编码要与T+系统客户编码一致。 |
Warehouse | 仓库 | 01 | |
SaleDeliveryDetails | 明细 | details | |
SaleDeliveryDetails.Inventory | 存货 | {{details.extNo}} | |
SaleDeliveryDetails.Quantity | 数量 | {{details.actQuantity}} | |
SaleDeliveryDetails.Batch | 批号 | {{details.batchNum}} | |
SaleDeliveryDetails.OrigTaxPrice | 含税价 | {{details.price}} | |
SaleDeliveryDetails.Warehouse | 仓库 | 01 | |
SaleDeliveryDetails.IsPresent | 是否赠品 | _function case '{{isFree}}' when '是' then 'true' else 'false' end | |
SaleDeliveryDetails.Memo | 备注 | {{saleDistribution}}(from汤臣营销云){{orgId}} | |
SaleDeliveryDetails.dataKey | dataKey | dto | |
系统对接概况
全新的API数据集成模式,赋能企业业务创新 传统企业集成主要采用点对点或ESB集成方式,基于全新API战略中台的API新型集成方式通过解耦系统资源,降低系统间对接难度,实现快速业务需求响应,提升对接效率,助力企业满足快速业务交付需求,实现业务创新。通过构建API生态,助力能力开放与共享 基于API战略中台梳理并整合内部API资源与IT资产,可实现内部资源共享,满足内部开发人员资源使用需求,例如:畅捷通T+与汤臣倍健营销云之间数据集成;并将API资源对外可控开放,打造面向开发者的生态服务,为您打通自身和上下游合作伙伴,创造共赢价值链。开展API战略中台,重塑IT 帮助您基于内部资源构建不同业务能力中心,打造企业统一API战略中台,赋能企业发展,实现对业务频繁变化的快速响应。同时您在能力中心基础上构建新业务时,无需从“零”组建各业务模块,提升开发效率,重塑IT组织及交付能力。


