汤臣倍健营销云与畅捷通T+对接集成门户-查询订单表头&表体组合连通创建销售订单(销售订单-咸阳广图汇健)

对接源平台:汤臣倍健营销云
汤臣倍健营销云是覆盖公域私域、线上线下的全场景的数字化营销平台。基于全触点数据构建全域标签体系,助力企业在自营平台、微信生态等全渠道上精准触达用户,自动化营销互动,实时反馈效果,真正实现营销数字化。
集成系统:畅捷通T+
畅捷通T+适用于异地多组织、多机构对企业财务汇总的管理需求;全面支持企业对远程仓库、异地办事处的管理需求;全面满足企业财务业务一体化管理需求。
数据对接方案
通过轻易云系统数据集成平台:数据集成方案。选择开始创建数据集成方案菜单。在方案配置表单中选择对应的源业务系统:汤臣倍健营销云,然后选择对应的连接器。选择对应的/openapi-basesubject/order/queryOrderHead作为数据对接来源。然后再写入目标平台配置目标系统为畅捷通T+,并且选择对应连接器(关于畅捷通T+的接口如何连接可以在轻易云数据集成社区论坛bbs.qeasy.cloud中找到相关信息)。选择好对应的/tplus/api/v2/saleOrder/Create接口作为数据写入动作完成第一步的接口配置。

汤臣倍健营销云接口明细
- 接口:/openapi-basesubject/order/queryOrderHead
- 接口名称:门户-查询订单表头&表体组合
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
orgId | 组织ID | string | |
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 | |
lastEndDt | 最后修改时间(结束) | string | |
响应参数
字段 | 名称 | 类型 | 描述 |
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/saleOrder/Create
- NAME:创建销售订单
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
VoucherDate | 单据日期 | {{createDt}} | 默认系统时间 |
Code | 编码 | {{no}} | 1、T+系统单据编码。 2、此参数可空,为空时,默认按T+系统自动规则取值,若无法自动生成,则取外部系统单据编码。 |
ExternalCode | 外部编码 | {{no}} | |
BusinessType | 业务类型 | 15 | |
Memo | 备注 | {{partnerName}}-{{remark}} (from营销云) | |
Customer | 客户 | {{clientAppNo}} | 1、客户,PartnerDTO对象,客户信息。 2、PartnerDTO对象包括如下常用属性: { "Code": ""//T+系统客户编码 } 3、非空,此编码要与T+系统客户编码一致。 |
SaleOrderDetails | 明细 | details | |
SaleOrderDetails.Warehouse | 仓库 | {{orgId}} | |
SaleOrderDetails.Inventory | 存货 | {{details.extNo}} | |
SaleOrderDetails.Unit | 单位 | | |
SaleOrderDetails.Quantity | 数量 | {{details.actQuantity}} | |
SaleOrderDetails.TaxRate | 税率 | | |
SaleOrderDetails.OrigTaxPrice | 含税价 | {{details.price}} | |
SaleOrderDetails.IsPresent | 是否赠品 | _function case '{{details.isFree}}' when '是' then 'true' else 'false' end | 1、是否赠品 2、为true时是赠品,为false时是非赠品 |
SaleOrderDetails.DeliveryDate | 交货日期 | {{predictArriveDt}} | |
SaleOrderDetails.dataKey | dataKey | dto | |
数据对接价值
数据集成中台设计中心Web界面以“拖拽”式交互设计,使用鼠标即可构建设计多异构系统数据集成流程,低代码平台大大降低流程设计者上手门槛。还有丰富的组件库快速满足复杂业务需求,结合不同模块即可生成不同业务流程,提升流程设计效率。平台支持多种高度灵活部署,高并发、高性能、高可用,可以通过多节点组成集群实现性能的横向扩展。适度集群配置其数据集成处理能力可达GB级/秒,为业务流提供更高数据吞吐量。平台已集成数据回压、优先级队列等能力,保障运行稳定性。完善的企业API运营管理机制帮助您构建“API生产者、API管理者、API消费者”三者结合的统一API数字化生态。支持市面上主流厂家软件如:金蝶、用友、SAP、泛微、蓝凌、旺店通、聚水潭、马帮、小满CRM等等。

