• 吉客云对接打通金蝶云星空销售单查询接口与销售出库新增接口


    吉客云对接打通金蝶云星空销售单查询接口与销售出库新增接口

    MES系统集成

    接通系统:吉客云

    吉客云是基于“网店管家”十五年电商ERP行业和技术积累基础上顺应产业发展需求,重新定位、全新设计推出的换代产品,从业务数字化和组织数字化两个方向出发,以构建流程的闭环为依归,致力于为企业的数字化升级提供落地工具。

    集成系统:金蝶云星空

    金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。

    接口方案配置

    通过轻易云系统数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:吉客云,并且选择对应的连接器(关于吉客云的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的销售单查询接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的销售出库新增接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。

    系统接口对接

    吉客云接口明细

    • 调用接口:oms.trade.fullinfoget
    • 接口名称:销售单查询
    • 方法:POST
    请求参数
    字段字段名称类型配置值
    modified_begin起始时间string
    modified_end结束时间string
    startModified最后修改时间(起始)string
    endModified最后修改时间(截止)string
    tradeNo销售单号,多个用半角逗号分隔string
    pageSize每页记录数,默认50,最大1000string20
    pageIndex页码,0为第1页string{{PAGINATION_START_PAGE}}
    hasTotal默认返回,首次调用时可以传1获取总记录数string1
    startCreated创建时间(起始)string2021-12-13 15:12:13
    endCreated创建时间(截止)string2021-12-13 15:13:06
    startAuditTime审核时间(起始)string
    endAuditTime审核时间(截止)string
    startConsignTime发货时间(起始)string
    endConsignTime发货时间(截止)string
    tradeStatus订单状态string
    tradeType订单类型string1
    sourceTradeNos网店订单号string
    shopIds店铺idstring
    fields需要返回字段列表逗号分隔stringcheckTotal,tradeNo,postFee,otherFee,chargeCurrency,accountName,payType,payNo,sellerMemo,buyerMemo,goodsDetail,goodsDetail.goodsNo,goodsDetail.goodsName,goodsDetail.specName,goodsDetail.barcode,goodsDetail.sellCount,goodsDetail.unit,goodsDetail.sellPrice,goodsDetail.sellTotal,goodsDetail.cost,goodsDetail.discountTotal,goodsDetail.discountPoint,goodsDetail.taxFee,goodsDetail.shareFavourableFee,goodsDetail.estimateWeight,goodsDetail.goodsMemo,goodsDetail.cateName,goodsDetail.brandName,goodsDetail.goodsTags,goodsDetail.isFit,goodsDetail.isGift,goodsDetail.discountFee,goodsDetail.taxRate,goodsDetail.estimateGoodsVolume,goodsDetail.isPresell,goodsDetail.customerPrice,goodsDetail.customerTotal,goodsDetail.tradeGoodsNo,goodsDetail.tradeGoodsName,goodsDetail.tradeGoodsSpec,goodsDetail.tradeGoodsUnit,goodsDetail.sourceTradeNo,goodsDetail.sourceSubtradeNo,goodsDetail.platCode,goodsDetail.platGoodsId,goodsDetail.subTradeId,appendMemo,tradeFrom,register,seller,auditor,reviewer,estimateWeight,packageWeight,tradeCount,goodsTypeCount,freezeReason,abnormalDescription,onlineTradeNo,goodslist,gmtCreate,gmtModified,stockoutNo,confirmTime,departName,lastShipTime,payStatus,chargeCurrencyCode,chargeExchangeRate,tradeStatus,grossProfit,estimateVolume,customerName,customerTypeName,customerGradeName,customerTags,customerCode,customerDiscount,specialReminding,blackList,tradeTime,country,state,city,district,town,zip,payTime,countryCode,cityCode,invoiceType,payerName,payerRegno,payerBankAccount,payerPhone,auditTime,payerAddress,invoiceNo,invoiceCode,invoiceStatus,payerBankName,preTypedetail,firstPayment,finalPayment,firstPaytime,finalPaytime,reviewTime,activationTime,customerTotalFee,customerDiscountFee,notifyPickTime,consignTime,orderNo,customerPostFee,shopId,shopName,tradeOrderPayList,tradeOrderPayList.chargeType,tradeOrderPayList.chargeCurrency,tradeOrderPayList.chargeAccount,tradeOrderPayList.accountName,tradeOrderPayList.payType,tradeOrderPayList.payNo,tradeOrderPayList.payment,tradeOrderPayList.chargeCurrencyCode,tradeOrderPayList.chargeExchangeRate,customerPayment,companyName,tradeOrderColumnExt,tradeOrderColumnExt.tradeId,tradeOrderColumnExt.customizeTradeColumn1,tradeOrderColumnExt.customizeTradeColumn2,tradeOrderColumnExt.customizeTradeColumn3,tradeOrderColumnExt.customizeTradeColumn4,tradeOrderColumnExt.customizeTradeColumn5,tradeOrderColumnExt.customizeTradeColumn6,tradeOrderColumnExt.customizeTradeColumn7,tradeOrderColumnExt.customizeTradeColumn8,tradeOrderColumnExt.customizeTradeColumn9,tradeOrderColumnExt.customizeTradeColumn10,isBillCheck,warehouseCode,warehouseName,logisticName,tradeId,billDate,logisticType,mainPostid,tradeType,totalFee,taxFee,receivedPostFee,discountFee,payment,couponFee,receivedTotal,isDelete,flagIds,flagNames,shopCode
    warehouseIds仓库idstring
    响应参数
    字段字段名称类型配置值
    checkTotal对账金额string
    tradeNo订单编号string
    postFee实际邮资string
    otherFee其它费用string
    sellerMemo备注string
    buyerMemo买家备注string
    goodsDetail货品详情array
    goodsDetail.goodsNo货品编号string
    goodsDetail.goodsName货品名称string
    goodsDetail.specName规格名称string
    goodsDetail.barcode条码string
    goodsDetail.sellCount数量string
    goodsDetail.unit单位string
    goodsDetail.sellPrice单价string
    goodsDetail.sellTotal总金额string
    goodsDetail.cost货品成本string
    goodsDetail.discountTotal优惠金额string
    goodsDetail.discountPoint抵扣积分string
    goodsDetail.shareFavourableFee分摊金额string
    goodsDetail.goodsMemo货品备注string
    goodsDetail.cateName货品类别string
    goodsDetail.brandName品牌string
    goodsDetail.goodsTags货品标签string
    goodsDetail.isFit组合装标记string
    goodsDetail.isGift赠品标记string
    goodsDetail.taxRate税率string
    goodsDetail.estimateGoodsVolume预估体积(单个货品)string
    goodsDetail.isPresell是否预售货品标记1是0否string
    goodsDetail.customerPrice终端销售单价string
    goodsDetail.customerTotal终端销售金额string
    goodsDetail.tradeGoodsNo交易编号string
    goodsDetail.tradeGoodsName交易名称string
    goodsDetail.tradeGoodsSpec交易规格string
    goodsDetail.tradeGoodsUnit交易单位string
    goodsDetail.sourceTradeNo网店订单号string
    goodsDetail.sourceSubtradeNo网店子订单好string
    goodsDetail.platCode平台代码string
    goodsDetail.platGoodsId平台商品idstring
    goodsDetail.subTradeId商品明细id(唯一)string
    goodsDetail.taxFee税额string
    goodsDetail.estimateWeight预估重量string
    goodsDetail.discountFee优惠金额string
    goodsDetail.appendMemo追加备注string
    goodsDetail.tradeFrom订单来源string
    goodsDetail.register登记人string
    goodsDetail.seller业务员string
    goodsDetail.auditor审核人string
    goodsDetail.reviewer复核人string
    goodsDetail.packageWeight包裹重量string
    goodsDetail.tradeCount订单总数量string
    goodsDetail.goodsTypeCount商品样数string
    goodsDetail.freezeReason冻结原因string
    goodsDetail.abnormalDescription问题单具体描述string
    goodsDetail.onlineTradeNo网店订单号string
    goodsDetail.goodslist货品摘要string
    goodsDetail.gmtCreate创建时间string
    goodsDetail.gmtModified最后修改时间string
    goodsDetail.stockoutNo出库单号string
    goodsDetail.confirmTime确认时间string
    goodsDetail.departName部门名称string
    goodsDetail.lastShipTime承诺发货时间string
    goodsDetail.payStatus付款状态:未付款、部分付款、已付款string
    goodsDetail.tradeStatus订单状态string
    goodsDetail.grossProfit毛利string
    goodsDetail.estimateVolume订单预估体积string
    goodsDetail.customerName客户名称string
    goodsDetail.customerTypeName客户类型string
    goodsDetail.customerGradeName客户等级string
    goodsDetail.customerTags客户标签string
    goodsDetail.customerCode客户编号string
    goodsDetail.customerDiscount折扣string
    goodsDetail.specialReminding特别提醒string
    goodsDetail.blackList黑名单string
    goodsDetail.tradeTime下单时间string
    goodsDetail.country国家string
    goodsDetail.statestring
    goodsDetail.city城市string
    goodsDetail.district区县string
    goodsDetail.town街道string
    goodsDetail.zip邮编string
    goodsDetail.payTime支付时间string
    goodsDetail.countryCode国家编码string
    goodsDetail.cityCode城市编码string
    goodsDetail.invoiceType发票类型string
    goodsDetail.payerName购方名称string
    goodsDetail.payerRegno购方税号string
    goodsDetail.payerBankAccount购方开户行及帐号string
    goodsDetail.payerPhone购方电话string
    goodsDetail.auditTime审核时间string
    goodsDetail.payerAddress购方地址string
    goodsDetail.invoiceNo发票号码string
    goodsDetail.invoiceCode发票代码string
    goodsDetail.invoiceStatus发票开具状态string
    goodsDetail.payerBankName购方开户行string
    goodsDetail.preTypedetail预定类别描述string
    goodsDetail.firstPayment付首款金额string
    goodsDetail.finalPayment付尾款金额string
    goodsDetail.firstPaytime付首款时间string
    goodsDetail.finalPaytime付尾款时间string
    goodsDetail.reviewTime复核时间string
    goodsDetail.activationTime激活时间string
    goodsDetail.customerTotalFee终端货款合计string
    goodsDetail.customerDiscountFee终端优惠string
    goodsDetail.notifyPickTime通知仓库发货时间string
    goodsDetail.consignTime发货时间string
    goodsDetail.orderNo发货单单号string
    goodsDetail.customerPostFee终端应收邮资string
    goodsDetail.shopId店铺idstring
    goodsDetail.shopName店铺名称string
    goodsDetail.tradeOrderPayList订单支付详情array
    goodsDetail.tradeOrderPayList.chargeCurrency结算币种string
    goodsDetail.tradeOrderPayList.accountName收款账户名称string
    goodsDetail.tradeOrderPayList.payType支付方式:1,支付宝 2,财付通 3,微信支付 4,银联支付 5,盛付通 6,其它 7,现金 8,储值卡 9,扫码付 10,挂账 11,诺诺支付 16,易付宝 32,有赞支付 33,汇付支付 35,商盟支付 36,易宝支付 37,汇聚支付 38,合利宝支付 27,通联支付string
    goodsDetail.tradeOrderPayList.payNo支付单号string
    goodsDetail.tradeOrderPayList.chargeCurrencyCode结算币种编码string
    goodsDetail.tradeOrderPayList.chargeExchangeRate结算汇率string
    goodsDetail.tradeOrderPayList.chargeType结算方式:1.担保交易2.银行收款3.现金收款4.货到付款5.欠款计应收6.客户预存款7.多种结算8.退换货冲抵9.电子钱包string
    goodsDetail.tradeOrderPayList.chargeAccount收款帐户string
    goodsDetail.tradeOrderPayList.payment应收金额string
    goodsDetail.tradeOrderPayList.customerPayment终端应收合计string
    goodsDetail.tradeOrderPayList.companyName公司名称string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt销售单自定义字段object
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.customizeTradeColumn1自定义字段1string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.customizeTradeColumn2自定义字段2string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.customizeTradeColumn3自定义字段3string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.customizeTradeColumn4自定义字段4string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.customizeTradeColumn5自定义字段5string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.customizeTradeColumn6自定义字段6string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.customizeTradeColumn7自定义字段7string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.customizeTradeColumn8自定义字段8string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.customizeTradeColumn9自定义字段9string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.customizeTradeColumn10自定义字段10string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.tradeId系统编码string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.isBillCheck对账状态 1对账,其他未对账string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.warehouseCode仓库编码string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.warehouseName仓库名称string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.logisticName物流名称string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.billDate对账时间string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.logisticType配送方式string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.mainPostid运单号string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.tradeType订单类型string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.totalFee商品金额string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.receivedPostFee应收邮资string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.couponFee平台优惠string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.receivedTotal已收金额string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.isDelete删除标记,0 未删除, 1已删除string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.flagIds标记idstring
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.flagNames标记名称string
    goodsDetail.tradeOrderPayList.tradeOrderColumnExt.shopCode店铺编号string

    金蝶云星空接口明细

    • API:batchSave
    • NAME:销售出库新增
    • METHOD:POST
    请求参数
    接口字段字段名称预设值描述
    FBillTypeID单据类型XSCKD07_SYS单据类型
    FBillNo单据编号{{tradeNo}}单据编号
    FDate日期{{consignTime}}日期
    FSaleOrgId销售组织findCollection find textField_kvqkngs2 from ea596597-d03a-353b-8684-36dd37cf69bb where textField_kvg91fcn={{shopCode}}组织
    FCustomerID客户_findCollection find textField_kvg91fco from ea596597-d03a-353b-8684-36dd37cf69bb where textField_kvg91fcn={{shopCode}}基础资料
    FNote备注{{sellerMemo}}多行文本
    FStockOrgId发货组织findCollection find textField_kvgbyy6b from ba7b4c50-b81c-315d-835f-9e07995df2a1 where textField_kvgbyy68={{warehouseCode}}多类别基础资料
    FOwnerIdHead货主_findCollection find textField_kvgbyy6b from ba7b4c50-b81c-315d-835f-9e07995df2a1 where textField_kvgbyy68={{warehouseCode}}多类别基础资料
    FEntity明细信息goodsDetail
    FEntity.FCustMatID客户物料编码基础资料
    FEntity.FMaterialID物料编码{{goodsDetail.goodsNo}}基础资料
    FEntity.FRealQty实发数量{{goodsDetail.sellCount}}数量
    FEntity.FPrice单价{{goodsDetail.sellPrice}}单价
    FEntity.FAmount金额金额
    FEntity.FStockID仓库{{warehouseCode}}基础资料
    FEntity.FEntrynote备注文本
    FEntity.FTaxPrice含税单价{{goodsDetail.sellPrice}}
    FEntity.FDiscount折扣额{{goodsDetail.discountTotal}}
    FEntity.FEntryTaxRate税率
    FEntity.FIsFree赠品{{goodsDetail.isGift}}
    FEntity.F_JKBillNo吉客云单据编号{{tradeNo}}
    FEntity.F_JKShopNumber网店订单号{{onlineTradeNo}}
    FEntity.F_PAEZ_Postid吉客云物流单号{{mainPostid}}
    FEntity.F_PAEZ_Weight包裹重量{{estimateWeight}}
    FEntity.F_PAEZ_LogisticName物流公司{{logisticName}}
    FEntity.FormId业务对象表单IdSAL_OUTSTOCK
    FEntity.Operation执行的操作Save
    FEntity.IsAutoSubmitAndAudit提交并审核false
    FEntity.IsVerifyBaseDataField验证基础资料false是否验证所有的基础资料有效性,布尔类,默认false(非必录)
    FEntity.SubSystemId系统模块21默认仓库模块

    数据对接价值

    通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。
     

    ERP接口数据对接

    ERP接口对接

  • 相关阅读:
    知乎日报--第四周
    Android基础-内存泄漏
    拓世法宝AI智能直播一体机,快速搭建品牌矩阵,开启扩张新里程
    mysql反斜杠多次转义简述
    Go学习第九章——面向“对象”编程(三大特性与接口和断言)
    Git与Repo:开源开发的得力工具组合
    安全学习_开发相关_Java反射机制基础及对安全测试影响
    Arduino框架下通过TFT_eSPI库驱动ESP32+合宙1.54“ 电子墨水屏(e-paper)显示
    【Eclipse】Project interpreter not specified 新建项目时,错误提示,已解决
    springboot中实现查看flowable流程图和xml文件功能
  • 原文地址:https://blog.csdn.net/CUNCAOSVEN/article/details/133761888