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

对接系统旺店通·企业奇门
慧策(原旺店通)是一家技术驱动型智能零售服务商,基于云计算PaaS、SaaS模式,以一体化智能零售解决方案,帮助零售企业数字化智能化升级,实现企业规模化发展。
对接系统:金蝶云星辰V1
金蝶云星辰是金蝶集团公司为小微型工商贸企业定制的一款集财务、进销存、订货商城和税务管理为一体的SAAS云平台,有标准版和专业版两个版本,标准版适用于小型企业(10-50人)业财一体化管理,专业版面向小型(10-100人)企业管理需求。金蝶云星辰聚焦小型企业在线经营和数字化管理,赋能小型企业拓客开源、智能管理和实时决策。
多系统对接方案配置
通过轻易云系统数据集成平台:数据集成方案。选择开始创建数据集成方案菜单。在方案配置表单中选择对应的源业务系统:旺店通·企业奇门,然后选择对应的连接器。选择对应的wdt.stockin.order.query.purchase作为数据对接来源。然后再写入目标平台配置目标系统为金蝶云星辰V1,并且选择对应连接器(关于金蝶云星辰V1的接口如何连接可以在轻易云数据集成社区论坛bbs.qeasy.cloud中找到相关信息)。选择好对应的jdy/pur/pur_inbound_save接口作为数据写入动作完成第一步的接口配置。


旺店通·企业奇门接口明细
- 调用接口:wdt.stockin.order.query.purchase
- 接口名称:查询采购入库单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
start_time | 开始时间 | datetime | {{LAST_SYNC_TIME datetime}} |
end_time | 结束时间 | datetime | {{CURRENT_TIME datetime}} |
status | 状态 | string | |
src_order_no | 上层单据编号 | string | |
warehouse_no | 仓库编号 | string | 17 |
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 | |
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接口明细
- 调用接口:jdy/pur/pur_inbound_save
- 接口名称:采购入库单保存新增
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
billno | 单据编码 | string | {{order_no}} |
billdate | 单据日期 | string | {{stockin_time date}} |
transtype | 业务类型,1:限购,2:赊购,3:直运采购,4:受托入库 | string | 2 |
remark | 备注 | string | {{remark}} |
supplierid_id | 供应商 | string | 1533212695317212160 |
material_entity | 商品分录 | array | details_list |
material_entity.materialid_id | 商品 | string | findCollection find id from 24550fa4-2b92-3605-ab3a-9b9ec816a53e where number={{details_list.spec_no}} |
material_entity.stockid_id | 仓库 | string | 1533213071370120192 |
material_entity.is_free | 是否赠品 | string | false |
material_entity.qty | 数量 | string | {{details_list.goods_count}} |
material_entity.taxprice | 含税单价 | string | 1 |
material_entity.unit_id | 单位 | string | _findCollection find baseunitid_id from 24550fa4-2b92-3605-ab3a-9b9ec816a53e where number={{details_list.spec_no}} |
系统数据集成价值
当企业规模逐渐增大时,作为支撑业务运营的IT建设也变得越来越重要,不过往往企业的IT建设过程中会发现某一家软件供应商基本不能完全覆盖企业所有的业务运营流程,这样的结果就是,企业上的IT系统很多很全,从ERP到HR、CRM、PDM、OA等,貌似所有的业务都覆盖到了,但实际上因为这些系统的不集成,而形成了企业很多新的信息孤岛,非常不利于企业的后续的管理和战略发展。从现今和往后的发展趋势来看,也不可避免会遇到上述问题,毕竟企业经营的多样化,并不是所有的业务都能在一个系统中完成,所以我们必须在产品架构上支持更好的与外部系统进行协同。通过轻易云集成平台统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。
