管易云·奇门与金蝶云星空对接集成退货单查询打通销售退货新增

接入系统:管易云·奇门
管易云是金蝶旗下专注提供电商企业管理软件服务的子品牌,先后开发了C-ERP、EC-OMS、EC-WMS、E店管家、BBC、B2B、B2C商城网站建设等产品和服务,涵盖电商业务全流程。
接通系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
配置集成方案
异构系统具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。那么对接就需要根据接口配置对应的规则,例如取数就要根据查询接口获取管易云·奇门的数据,并且根据对应的条件进行取数,目标系统就必须根据目标系统的格式,以及获取的数据进行加工处理后进行写入到金蝶云星空中。轻易云集成平台的可视化配置轻松实现。

管易云·奇门接口明细
- API:gy.erp.trade.return.get
- NAME:退货单查询
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
code | 单据编号 | | |
start_create | 创建时间开始段 | | |
end_create | 创建时间结束段 | | |
in_begin_time | 入库时间开始段 | {{LAST_SYNC_TIME datetime}} | |
in_end_time | 入库时间结束段 | {{CURRENT_TIME datetime}} | |
shop_code | 店铺代码 | | |
drp_tenant_name | 分销商名称 | | |
platform_code | 平台单号 | | |
return_type | 退货类型代码 | | |
express_no | 快递单号 | | |
vip_name | 会员名称 | | |
agree | 同意状态 | | |
receive | 入库状态 | | |
cancel | 作废状态 | | |
no_parcel | 是否三无包裹 | | |
receiver_name | 退货人姓名 | | |
receiver_phone | 退货人手机 | | |
warehousein_code | 退入仓库代码 | | |
warehouseout_code | 退出仓库代码 | | |
modify_start_date | 修改时间开始段 | | |
modify_end_date | 修改时间结束段 | | |
page_no | 页码 | {{PAGINATION_START_PAGE}} | 默认为1 |
page_size | 每页大小 | {{PAGINATION_PAGE_SIZE}} | 默认为10 |
响应参数
接口字段 | 字段名称 | 预设值 | 描述 |
id | id | | |
code | 单据编号 | | |
reason | 平台退货原因 | | |
create_date | 创建时间 | | |
approve_date | 审核时间 | | |
approve | 审核状态 | | |
receive_date | 入库时间 | | |
cancel | 取消状态 | | |
shop_name | 店铺名称 | | |
shop_code | 店铺代码 | | |
platform_code | 平台单号 | | |
platform_refund_id | 平台退款单号 | | |
sanwu_package | 是否三无包裹 | | |
vip_code | 会员代码 | | |
warehousein_code | 退入仓库代码 | | |
warehouseout_code | 退出仓库代码 | | |
location_code | 库位代码 | | |
express_code | 退入快递公司代码 | | |
express_name | 退入快递名称 | | |
express_num | 退入快递单号 | | |
receiver_phone | 退货人手机 | | |
details | 退入商品列表 | | |
details.qty | 待入库数 | | |
details.price | 实际单价 | | |
details.amount | 实际金额 | | |
details.note | 备注 | | |
details.oid | 子订单号 | | |
details.sku_code | 规格代码 | | |
details.item_sku_id | 规格ID | | |
details.sku_note | 规格备注 | | |
details.item_name | 商品名称 | | |
details.amount_after | 让利后金额 | | |
details.post_fee | 物流费用 | | |
details.item_code | 商品代码 | | |
details.item_id | 商品ID | | |
details.real_in | 实际入库数 | | |
details.discount_fee | 让利金额 | | |
details.detail_unique | 唯一码列表 | | |
details.detail_batch | 批次列表 | | |
details.is_gift | 是否赠品 | | |
details.combine_item_code | 组合商品代码 | | |
details.other_service_fee | 其他服务费 | | |
details.total_cost_price | 退款成本 | | |
details.payments | 退款明细 | | |
details.payments.payment | 退款金额 | | |
details.payments.account | 退款账户 | | |
details.payments.pay_type_code | 退款方式代码 | | |
details.payments.pay_time | 退款时间 | | |
details.payments.refund_phase | 售后阶段 | | |
details.payments.refund_type | 售后类型 | | |
details.payments.return_type | 退货原因代码 | | |
details.payments.receive | 入库状态 | | |
details.payments.agree_refuse | 同意退货状态 | | |
details.payments.order_code | 销售订单号 | | |
details.payments.modify_date | 修改时间 | | |
details.payments.business_man | 业务员 | | |
details.payments.receiver_name | 收货人 | | |
details.payments.receiver_mobile | 收货人手机 | | |
details.payments.receiver_zip | 收货人邮编 | | |
details.payments.receiver_address | 收货人地址 | | |
details.payments.area_name | 收货人省市区 | | |
details.payments.drp_tenant_name | 分销商名称 | | |
details.payments.drp_tenant_mobile | 分销商手机号 | | |
details.payments.cancel_date | 作废日期 | | |
details.payments.warehousein_name | 退入仓库名称 | | |
details.payments.vip_name | 会员名称 | | |
details.payments.platform_status | 平台状态 | | |
details.payments.refund_codes | 系统退款单号 | | |
金蝶云星空接口明细
- API:batchSave
- NAME:销售退货新增
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
FBillTypeID | 单据类型 | XSTHD01_SYS | 单据类型 |
FBillNo | 单据编号 | {{code}} | 单据编号 |
FSaleOrgId | 销售组织 | 100 | 组织 |
FDate | 日期 | {{modify_date}} | 日期 |
FStockOrgId | 库存组织 | 100 | 组织 |
FRetcustId | 退货客户 | {{shop_code}} | 基础资料 |
FSaledeptid | 销售部门 | {{shop_code}} | 基础资料 |
FSettleCurrId | 结算币别 | PRE001 | 基础资料 |
F_ora_platform_code | 网上订单号 | {{details.platform_code}} | 单选辅助资料列表 |
FCorrespondOrgId | 对应组织 | 100 | 组织 |
F_ora_Base | 项目 | {{shop_code}} | 基础资料 |
FHeadNote | 备注 | | 多行文本 |
FEntity | 明细信息 | details | |
FEntity.FMaterialId | 物料编码 | {{details.item_code}} | 基础资料 |
FEntity.FRealQty | 实退数量 | {{details.real_in}} | 数量 |
FEntity.FPrice | 单价 | | 单价 |
FEntity.FTaxPrice | 含税单价 | | 单价 |
FEntity.FIsFree | 是否赠品 | _function case '{{details.amount_after}}' when '0' then true else false end | 复选框 |
FEntity.FEntryTaxRate | 税率% | | 小数 |
FEntity.FReturnType | 退货类型 | | 单选辅助资料列表 |
FEntity.FOwnerTypeId | 货主类型 | BD_OwnerOrg | 多类别基础资料列表 |
FEntity.FOwnerId | 货主 | 100 | 多类别基础资料 |
FEntity.FStockId | 仓库 | {{warehousein_code}} | 基础资料 |
FEntity.FLot | 批号 | 1 | 批次 |
FEntity.FALLAMOUNT | 价税合计 | {{details.amount_after}} | 文本 |
FEntity.SubHeadEntity | 财务信息 | | |
FEntity.SubHeadEntity.FSettleOrgId | 结算组织 | 100 | 组织 |
FEntity.SubHeadEntity.FormId | 业务对象表单Id | SAL_RETURNSTOCK | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
FEntity.SubHeadEntity.Operation | 执行的操作 | Save | |
FEntity.SubHeadEntity.IsAutoSubmitAndAudit | 提交并审核 | true | |
FEntity.SubHeadEntity.IsVerifyBaseDataField | 验证基础资料 | false | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
FEntity.SubHeadEntity.SubSystemId | 系统模块 | 21 | 默认仓库模块 |
系统对接概况
采集并引入全业务、多终端、多形态的数据,经过处理以及对应平台接口的数据结构适配,形成以业务核心为对象为中心的连接和标签体系。配合企业根据自身的实际情况以及业务需求完成方案的规划、部署与实施,将沉淀的业务数据进入到平台进行体系化的加工,再以服务化的方式支持业务平台上的应用。达成高效支持业务敏捷创新的高质量和标准化的数据服务组合。

