旺店通·企业奇门与金蝶云星辰V1对接集成查询采购入库单打通采购入库单保存新增

数据源平台:旺店通·企业奇门
慧策(原旺店通)是一家技术驱动型智能零售服务商,基于云计算PaaS、SaaS模式,以一体化智能零售解决方案,帮助零售企业数字化智能化升级,实现企业规模化发展。
对接系统:金蝶云星辰V1
金蝶云·星辰基于金蝶云·苍穹云原生PaaS平台构建,聚焦小型企业在线经营和数字化管理,提供财务云、税务云、进销存云、零售云、订货商城等SaaS服务,支持企业拓客开源、智能管理、实时决策;金蝶云·星辰还提供轻量级PaaS平台和全面的API接口,广泛连接生态伙伴,为小微企业提供一站式服务,助力企业快速成长
数据集成方案配置
异构系统具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。那么对接就需要根据接口配置对应的规则,例如取数就要根据查询接口获取旺店通·企业奇门的数据,并且根据对应的条件进行取数,目标系统就必须根据目标系统的格式,以及获取的数据进行加工处理后进行写入到金蝶云星辰V1中。轻易云集成平台的可视化配置轻松实现。



旺店通·企业奇门接口明细
- 调用接口:wdt.stockin.order.query.purchase
- 接口名称:查询采购入库单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | datetime | 2022-11-12 19:13:20 |
end_time | 结束时间 | datetime | 2022-11-12 19:14:28 |
status | 状态 | string | 60,80 |
src_order_no | 上层单据编号 | string | |
warehouse_no | 仓库编号 | string | |
page_size | 分页大小 | string | {{PAGINATION_PAGE_SIZE}} |
page_no | 页号 | string | {{PAGINATION_START_PAGE}} |
响应参数
字段 | 字段名称 | 类型 | 配置值 |
stockin_id | 入库单主键id | string | |
order_no | 入库单号 | string | |
status | 状态 | string | |
warehouse_no | 仓库编号 | string | |
warehouse_name | 仓库 | string | |
stockin_time | 修改时间 | string | |
check_time | 审核时间 | string | |
created_time | 创建时间 | string | |
src_order_no | 采购单号 | string | |
remark | 备注 | string | |
stockin_reason | 入库原因 | string | |
order_type | 入库类型 | string | |
order_type_name | 入库类型名称 | string | |
goods_amount | 货款总额 | string | |
total_price | 总成本 | string | |
discount | 优惠 | string | |
tax_amount | 税后金额 | string | |
post_fee | 邮费 | string | |
other_fee | 其他费用 | string | |
logistics_type | 物流类型 | string | |
logistics_code | 物流公司编号 | string | |
logistics_name | 物流公司名称 | string | |
logistics_no | 物流单号 | string | |
purchase_no | 采购单编号 | string | |
provider_no | 供应商编号 | string | _findCollection find id from 6019df9a-c08d-3bc0-a964-54639fb35c6a where number={{provider_no}} |
provider_name | 供应商名称 | string | |
outer_no | 外部单号 | string | |
goods_count | 货品总数量 | string | |
adjust_num | 纠错数量 | string | |
adjust_price | 纠错金额 | string | |
right_nums | 调整后数量 | string | |
right_price | 调整后总金额 | string | |
stockin_no | 入库单号 | string | |
wms_outer_no | 仓储外部编号 | string | |
wms_status | 外部状态 | string | |
wms_result | 外部结果 | string | |
warehouse_id | 仓库id | string | |
src_order_type | 源单据类型 | string | |
src_order_id | 源单据id | string | |
reason_id | 原因 | string | |
fa_status | 财务同步状态 | string | |
logistics_id | 物流公司 | string | |
post_share_type | 邮费分摊类型 | string | |
operator_id | 操作员id | string | |
check_operator_id | 审核人id | string | |
goods_type_count | 货品种类数 | string | |
note_count | 便签数量 | string | |
flag_id | 标记 | string | |
modified | 最后修改时间 | string | |
details_list | 明细节点 | array | |
details_list.stockin_id | 入库单主键id | string | |
details_list.rec_id | 入库明细主键 | string | |
details_list.src_order_detail_id | 上层单据明细主键 | string | |
details_list.spec_no | 商家编码 | string | |
details_list.goods_count | 货品数量 | string | |
details_list.discount | 优惠金额 | string | |
details_list.cost_price | 单价 | string | |
details_list.production_date | 生产日期 | string | |
details_list.validity_days | 有效期天数 | string | |
details_list.expire_date | 有效期 | string | |
details_list.src_price | 原价 | string | |
details_list.tax_price | 税后价 | string | |
details_list.tax_amount | 税后金额 | string | |
details_list.tax | 税率 | string | |
details_list.total_cost | 总成本 | string | |
details_list.remark | 备注 | string | |
details_list.adjust_num | 纠错数量 | string | |
details_list.adjust_price | 纠错金额 | string | |
details_list.right_num | 调整后数量 | string | |
details_list.right_price | 调整后单价 | string | |
details_list.right_cost | 调整后总金额 | string | |
details_list.brand_no | 品牌编号 | string | |
details_list.brand_name | 品牌名称 | string | |
details_list.goods_name | 货品名称 | string | |
details_list.goods_no | 货品编号 | string | |
details_list.spec_name | 规格名称 | string | |
details_list.spec_code | 规格码 | string | |
details_list.prop2 | 自定义属性 | string | |
details_list.goods_unit | 单位名称 | string | |
details_list.batch_no | 批次号 | string | |
details_list.batch_remark | 批次备注 | string | |
details_list.position_no | 货位编号 | string | |
details_list.src_order_type | 源单据类型 | string | |
details_list.org_stockin_detail_id | 原始入库单明细 | string | |
details_list.spec_id | 规格id | string | |
details_list.batch_id | 批次 | string | |
details_list.position_id | 货位id | string | |
details_list.num | 数量 | string | |
details_list.num2 | 数量2 | string | |
details_list.unit_id | 辅助单位 | string | |
details_list.base_unit_id | 基本单位 | string | |
details_list.unit_ratio | 单位换算关系 | string | |
details_list.expect_num | 预期入库数量 | string | |
details_list.cost_price2 | 辅助成本价 | string | |
details_list.share_post_cost | 邮资分摊成本 | string | |
details_list.share_post_total | 邮资分摊总成本 | string | |
details_list.modified | 最后修改时间 | string | |
details_list.created | 创建时间 | string | |
金蝶云星辰V1接口明细
- API:jdy/pur/pur_inbound_save
- NAME:采购入库单保存新增
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
billno | 单据编码 | {{order_no}} |
material_entity | 商品分录 | details_list |
material_entity.materialid_id | 商品 | findCollection find id from 87620e1d-bf21-3b1b-a036-5d64ec61ad39 where number={{details_list.goods_no}} |
material_entity.stockid_id | 仓库 | _findCollection find id from 38d1bf66-eeed-38f7-adf6-93ae7b2c7ce8 where number={{details_list.warehouse_no}} |
material_entity.qty | 数量 | {{details_list.right_num}} |
material_entity.srcbillno | 源单编码 | {{details_list.goods_no}} |
material_entity.taxprice | 含税单价 | {{details_list.tax_price}} |
material_entity.unit_id | 单位 | findCollection find baseunitid_id from 87620e1d-bf21-3b1b-a036-5d64ec61ad39 where number={{details_list.goods_no}} |
material_entity.billdate | 单据日期 | {{check_time}} |
material_entity.transtype | 业务类型,1:限购,2:赊购,3:直运采购,4:受托入库 | 4 |
material_entity.supplierid_id | 供应商 | _findCollection find id from 6019df9a-c08d-3bc0-a964-54639fb35c6a where number={{provider_no}} |
系统对接概况
从API层面解决企业烟囱式业务系统集成现状,实现深度的业务流程拉通旺店通·企业奇门到金蝶云星辰V1之间数据集成;通过API连接各业务系统,复用已有的业务系统能力,让集成架构、服务关系更清晰。使用统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升复用率和价值。全面管控企业的API资产,梳理现有业务系统的API。实现API文档的统一管理,建立API的上线、下线、监控的统一管理体系及标准规范。已链接和打通主流SaaS系统超过100+,快速对接各种API接口,实现云上云下的互联互通。将SaaS和本地业务系统联接起来,打破时间与空间界限,打通原有核心数据及SaaS应用,构建可平滑演进的企业IT架构。

