旺店通·旗舰奇门与金蝶云星空对接集成销售出库单查询打通销售出库单新增

数据源平台:旺店通·旗舰奇门
旺店通是北京掌上先机网络科技有限公司旗下品牌,国内的零售云服务提供商,基于云计算SaaS服务模式,以体系化解决方案,助力零售企业数字化智能化管理升级。为零售电商企业的订单管理及仓储管理提供解决方案,致力于帮助企业实现数字化转型,企业规模化发展
对接目标系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
数据集成方案配置
集成方案是整个轻易云集成平台的核心,每一个集成方案代表一种业务的对接策略(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息),用户可以根据业务的不同新建多个不同规则的集成方案。比如:采购订单同步,线上销售出库同步,线下销售出库同步。一个集成方案必须要配置源系统:旺店通·旗舰奇门,源系统 API:销售出库单查询,目标系统:金蝶云星空,目标系统 API销售出库单新增。在新增集成方案之前需要确定两个系统的连接器都已经配置完成。

旺店通·旗舰奇门接口明细
- 接口:wdt.wms.stockout.sales.querywithdetail
- 接口名称:销售出库单查询
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
pager | 分页参数 | object | |
pager.page_size | 分页大小 | int | |
pager.page_no | 页号 | int | |
pager.params | 业务参数 | object | |
pager.params.start_time | 开始时间 | string | |
pager.params.end_time | 结束时间 | string | |
pager.params.status_type | 出库单状态 | string | 出库单状态: 默认值为0 |
1.已取消
2.在企业版状态中对应status=55(已确认),这里为 待分配延时发货(此条件会返回延时发货状态的订单)
3.按照指定的status状态字段查询
0.延时发货&已完成|
|pager.params.status|出库单状态详细|string|传status_type=3情况下,按照修改时间和status查询
(status_type=3的情况下,若不传status字段,按照发货时间查询)|
|pager.params.warehouse_no|仓库编码|string| |
|pager.params.stockout_no|出库单编号|string| |
|pager.params.shop_nos|店铺编号|string|多个店铺编号使用英文逗号分隔|
|pager.params.src_order_no|销售订单号|string|系统订单号|
|pager.params.need_sn|是否返回sn信息|string|是否返回sn信息|
|pager.params.position|是否按照货位排序|string|等于0为否,不等于0为是,不填为否|
响应参数
字段 | 名称 | 类型 | 描述 |
stockout_id | 出库单ID | string | |
order_no | 出库单号 | string | |
src_order_no | 系统订单编号 | string | |
warehouse_no | 仓库编号 | string | |
warehouse_name | 仓库名称 | string | |
consign_time | 出库时间 | string | |
order_type | 源单据类别 | string | |
goods_count | 货品数量 | string | |
logistics_no | 物流单编号 | string | |
receiver_name | 收件人姓名 | string | |
receiver_country | 国家 | string | |
receiver_province | 省份ID | string | |
receiver_city | 城市ID | string | |
receiver_district | 地区ID | string | |
receiver_address | 地址 | string | |
receiver_mobile | 收件人手机 | string | |
receiver_telno | 收件人电话 | string | |
receiver_zip | 收件人邮编 | string | |
receiver_area | 省市区 | string | |
remark | 出库单备注 | string | |
weight | 重量 | string | |
block_reason | 截停原因 | string | |
logistics_type | 物流方式 | string | |
logistics_code | 物流编号 | string | |
logistics_name | 物流公司名称 | string | |
bad_reason | 异常原因 | string | |
receiver_dtb | 大头笔 | string | |
refund_status | 退款状态 | string | |
trade_type | 销售类型 | string | |
salesman_no | 业务员编号 | string | |
fullname | 业务员姓名 | string | |
trade_status | 订单状态 | string | |
trade_no | 订单编号 | string | |
src_trade_no | 原始单号 | string | |
nick_name | 买家网名 | string | |
customer_no | 客户编码 | string | |
customer_name | 客户名字 | string | |
trade_time | 下单时间 | string | |
pay_time | 支付时间 | string | |
flag_name | 标记名称 | string | |
post_amount | 邮费 | string | |
id_card_type | 证件类别 | string | |
id_card | 证件号码 | string | |
shop_name | 店铺名称 | string | |
shop_no | 店铺编号 | string | |
shop_remark | 店铺备注 | string | |
status | 出库单状态 | string | |
invoice_type | 发票类别 | string | |
invoice_id | 发票ID | string | |
cod_amount | 货到付款金额 | string | |
delivery_term | 发货条件 | string | |
platform_id | 平台ID | string | |
trade_id | 订单ID | string | |
employee_no | 审核员编号 | string | |
discount | 优惠金额 | string | |
tax | 税额 | string | |
tax_rate | 税率 | string | |
currency | 币种 | string | |
created | 建单时间 | string | |
stock_check_time | 出库单建单时间 | string | |
print_remark | 打印备注 | string | |
buyer_message | 买家备注 | string | |
cs_remark | 客服备注 | string | |
invoice_title | 发票标题 | string | |
invoice_content | 发票内容 | string | |
post_fee | 邮费成本 | string | |
package_fee | 包装成本 | string | |
receivable | 已付金额 | string | |
goods_total_cost | 总成本价 | string | |
goods_total_amount | 总货款 | string | |
modified | 最后修改时间 | string | |
fenxiao_nick | 分销商昵称 | string | |
trade_label | 订单标签 | string | |
trade_from | 订单来源 | string | |
picklist_no | 分拣波次编号 | string | |
picklist_seq | 分拣波次序号 | string | |
logistics_print_status | 物流单打印状态 | string | |
details_list | 销售出库单详情 | array | |
details_list.rec_id | 销售出库单详情的id | string | |
details_list.stockout_id | 出库单id | string | |
details_list.src_order_detail_id | 订单明细id | string | |
details_list.spec_id | 规格id | string | |
details_list.spec_no | 商家编码 | string | |
details_list.goods_count | 货品数量 | string | |
details_list.total_amount | 总成本 | string | |
details_list.sell_price | 成交价 | string | |
details_list.remark | 出库单明细备注 | string | |
details_list.goods_name | 货品名称 | string | |
details_list.goods_no | 货品编码 | string | |
details_list.spec_name | 规格名称 | string | |
details_list.spec_code | 规格码 | string | |
details_list.cost_price | 成本价 | string | |
details_list.weight | 总重量 | string | |
details_list.goods_id | 货品id | string | |
details_list.prop1 | 规格自定义属性1 | string | |
details_list.prop2 | 规格自定义属性2 | string | |
details_list.prop3 | 规格自定义属性3 | string | |
details_list.prop4 | 规格自定义属性4 | string | |
details_list.prop5 | 规格自定义属性5 | string | |
details_list.prop6 | 规格自定义属性6 | string | |
details_list.platform_id | 平台id | string | |
details_list.refund_status | 退款状态 | string | |
details_list.market_price | 销售单价 | string | |
details_list.discount | 总折扣金额 | string | |
details_list.share_amount | 分摊后应收合计 | string | |
details_list.tax_rate | 税率 | string | |
details_list.barcode | 主条码 | string | |
details_list.unit_name | 单位名称 | string | |
details_list.sale_order_id | 订单货品(子订单)id | string | |
details_list.gift_type | 是否是赠品 | string | |
details_list.src_oid | 原始子订单号 | string | |
details_list.src_tid | 原始订单号 | string | |
details_list.from_mask | 订单内部来源 | string | |
details_list.goods_type | 货品类型 | string | |
details_list.good_prop1 | 货品自定义属性1 | string | |
details_list.good_prop2 | 货品自定义属性2 | string | |
details_list.good_prop3 | 货品自定义属性3 | string | |
details_list.good_prop4 | 货品自定义属性4 | string | |
details_list.good_prop5 | 货品自定义属性5 | string | |
details_list.good_prop6 | 货品自定义属性6 | string | |
details_list.suite_no | 组合装编码 | string | |
details_list.share_price | 货品成交价 | string | |
金蝶云星空接口明细
- 调用接口:batchSave
- 接口名称:销售出库单新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
FBillTypeID | 单据类型 | string | DSXSCHD07 |
FBillNo | 单据编号 | string | {{order_no}} |
FDate | 日期 | string | {{consign_time}} |
FStockOrgId | 发货组织 | string | 106 |
FSaleOrgId | 销售组织 | string | findCollection find FUseOrgID from 08313512-4ecd-37b1-9945-be9366662e85 where FWDTDCName={{fenxiao_nick}} |
FCustomerID | 客户 | string | _findCollection find FCustID from 08313512-4ecd-37b1-9945-be9366662e85 where FWDTDCName={{fenxiao_nick}} |
Fnote | 备注 | string | {{remark}} |
FLinkPhone | 联系电话 | string | |
FLinkMan | 收货人姓名 | string | |
FReceiveAddress | 收货方地址 | string | |
FEntity | 明细信息 | array | details_list |
FEntity.FMaterialID | 物料编码 | string | {{details_list.goods_no}} |
FEntity.FRealQty | 实发数量 | string | {{details_list.goods_count}} |
FEntity.FAllAmount | 价税合计 | string | {{details_list.share_amount}} |
FEntity.FStockID | 仓库 | string | findCollection find FNumber from 9c02adb6-7e63-326e-b5b3-dea634490062 where F_KD_WDTSTOCK={{warehouse_no}} |
FEntity.FEntrynote | 备注 | string | {{details_list.remark}} |
FEntity.FIsFree | 是否赠品 | string | _function case '{{details_list.gift_type}}' when '0' then false else true end |
FEntity.F_POIH_Text | 子单原始订单状态 | string | 已完成 |
FEntity.FSoorDerno | 订单单号 | string | {{details_list.src_tid}} |
FEntity.FThirdEntryId | 管易订单单号 | string | {{details_list.src_tid}} |
FEntity.FTaxRate | 税率% | string | 13 |
FEntity.FdiscountAmount | 优惠金额 | string | {{details_list.discount}} |
FEntity.FSoorDerno | 平台单号 | string | {{details_list.src_tid}} |
FEntity.FSubSoorDerno | 平台子单号 | string | {{details_list.src_oid}} |
FEntity.FOwnerIdHead | 货主 | string | 106 |
FEntity.FSettleOrgID | 结算组织 | string | _findCollection find FUseOrgID from 08313512-4ecd-37b1-9945-be9366662e85 where FWDTDCName={{fenxiao_nick}} |
FEntity.FSettleCurrID | 结算币别 | string | PRE001 |
FEntity.FBuyerNo | 会员代码 | string | {{customer_no}} |
FEntity.FLogComName | 物流公司 | string | {{logistics_name}} |
FEntity.FLogisticsNos | 物流单号 | string | {{logistics_no}} |
FEntity.FReceiverState | 收货人省份 | string | {{receiver_area}} |
FEntity.FTradeFrom | 订单来源 | string | {{trade_from}} |
FEntity.FPostamount | 邮费 | string | {{post_amount}} |
FEntity.FormId | 业务对象表单Id | string | KD_DSSAL_OutStock |
FEntity.Operation | 执行的操作 | string | Save |
FEntity.IsAutoSubmitAndAudit | 提交并审核 | bool | true |
FEntity.IsVerifyBaseDataField | 验证基础资料 | bool | true |
FEntity.SubSystemId | 系统模块 | string | 21 |
FEntity.InterationFlags | 允许负库存 | string | STK_InvCheckResult |
系统对接总览
从API服务总线层面解决企业烟囱式业务系统集成现状 相互连接企业各业务系统,实现流程端到端打通,复用已有的业务系统能力,让集成架构、服务关系更清晰 使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。
