金蝶云星空、钉钉通过接口配置数据对接

来源系统:钉钉
钉钉(DingTalk)是阿里巴巴集团专为中国企业打造的免费沟通和协同的多端平台,提供PC版,Web版和手机版,有考勤打卡、签到、审批、日志、公告、钉盘、钉邮等强大功能。
目标系统:金蝶云星空
金蝶K/3Cloud在总结百万家客户管理最佳实践的基础上,提供了标准的管理模式;通过标准的业务架构:多会计准则、多币别、多地点、多组织、多税制应用框架等,有效支持企业的运营管理;K/3Cloud提供了标准的业务建模:35种标准ERP领域模型、1046种模型元素、21243种模型元素属性组合,288个业务服务构件,让企业及伙伴可快速构建出行业化及个性化的应用。
多系统对接方案配置
异构系统具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。那么对接就需要根据接口配置对应的规则,例如取数就要根据查询接口获取钉钉的数据,并且根据对应的条件进行取数,目标系统就必须根据目标系统的格式,以及获取的数据进行加工处理后进行写入到金蝶云星空中。轻易云集成平台的可视化配置轻松实现。

钉钉接口明细
- 接口:topapi/processinstance/get
- 接口名称:获取审批实例详情
- 接口方法:POST
请求参数
字段 | 名称 | 类型 |
end_time | 审批实例结束时间,Unix时间戳,单位毫秒 | string |
process_code | 审批流的唯一码 | string |
start_time | 审批实例开始时间。Unix时间戳,单位毫秒。 | string |
cursor | 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值。 | string |
size | 分页参数,每页大小,最多传20。 | string |
响应参数
字段 | 名称 | 类型 | 描述 |
费用归属项目 | 费用归属项目 | string | autoFillResponse |
报销类别 | 报销类别 | string | _autoFillResponse |
TextNote_7L0ZKXODKW40 | TextNote_7L0ZKXODKW40 | string | autoFillResponse |
行政报销类型 | 行政报销类型 | string | _autoFillResponse |
项目报销类型 | 项目报销类型 | string | autoFillResponse |
报销明细 | 报销明细 | array | _autoFillResponse |
报销明细.费用发生日期 | 费用发生日期 | string | autoFillResponse |
报销明细.报销金额(元) | 报销金额(元) | string | _autoFillResponse |
报销明细.费用明细 | 费用明细 | string | autoFillResponse |
报销明细.项目费用明细 | 项目费用明细 | array | _autoFillResponse |
报销明细.项目费用明细.componentName | componentName | string | autoFillResponse |
报销明细.项目费用明细.componentType | componentType | string | _autoFillResponse |
报销明细.项目费用明细.props | props | string | autoFillResponse |
报销明细.项目费用明细.总金额 | 总金额 | string | _autoFillResponse |
报销明细.项目费用明细.关联审批单 | 关联审批单 | string | autoFillResponse |
报销明细.项目费用明细.TextNote-KDE5B2G3 | TextNote-KDE5B2G3 | string | _autoFillResponse |
报销明细.项目费用明细.电子发票 | 电子发票 | string | autoFillResponse |
报销明细.项目费用明细.收款账号 | 收款账号 | string | _autoFillResponse |
报销明细.项目费用明细.公司帐号付款(如需公司帐号付款请选择) | 公司帐号付款(如需公司帐号付款请选择) | string | autoFillResponse |
报销明细.项目费用明细.报销凭证拍照上传 | 报销凭证拍照上传 | string | _autoFillResponse |
报销明细.项目费用明细.附件 | 附件 | string | autoFillResponse |
报销明细.项目费用明细.id | id | string | _autoFillResponse |
报销明细.项目费用明细.title | title | string | autoFillResponse |
报销明细.项目费用明细.extend | extend | object | _autoFillResponse |
报销明细.项目费用明细.extend.create_time | create_time | string | autoFillResponse |
报销明细.项目费用明细.extend.finish_time | finish_time | string | _autoFillResponse |
报销明细.项目费用明细.extend.originator_userid | originator_userid | string | autoFillResponse |
报销明细.项目费用明细.extend.originator_dept_id | originator_dept_id | string | _autoFillResponse |
报销明细.项目费用明细.extend.status | status | string | autoFillResponse |
报销明细.项目费用明细.extend.result | result | string | _autoFillResponse |
报销明细.项目费用明细.extend.business_id | business_id | string | autoFillResponse |
报销明细.项目费用明细.extend.originator_dept_name | originator_dept_name | string | _autoFillResponse |
报销明细.项目费用明细.extend.biz_action | biz_action | string | _autoFillResponse |
金蝶云星空接口明细
- API:batchSave
- NAME:新增付款单
- METHOD:POST
请求参数
接口字段 | 名称 | 预设值 |
FBillNo | 单据编号 | {{extend.business_id}} |
FBillTypeID | 单据类型 | FKDLX04_SYS |
FDATE | 业务日期 | {{extend.create_time}} |
FSETTLEORGID | 结算组织 | findCollection find Number from 723e2cb6-f80f-3823-8b4f-6e98b9713ba3 where Name={{费用归属项目}} |
FPAYORGID | 付款组织 | _findCollection find Number from 723e2cb6-f80f-3823-8b4f-6e98b9713ba3 where Name={{费用归属项目}} |
FCURRENCYID | 币别 | PRE001 |
FCONTACTUNITTYPE | 往来单位类型 | BD_Department |
FCONTACTUNIT | 往来单位 | {{费用归属部门关联}} |
FRECTUNITTYPE | 收款单位类型 | BD_Department |
FRECTUNIT | 收款单位 | {{费用归属部门_关联}} |
FREMARK | 备注 | {{title}}&{{项目报销类型}}&{{报销明细.费用明细}} |
FSETTLECUR | 结算币别 | PRE001 |
FPAYBILLENTRY | 付款单明细 | 报销明细 |
FPAYBILLENTRY.FSETTLETYPEID | 结算方式 | {{付款方式}} |
FPAYBILLENTRY.FPURPOSEID | 付款用途 | SFKYT002 |
FPAYBILLENTRY.FPAYTOTALAMOUNTFOR | 应付金额 | {{报销明细.报销金额(元)}} |
FPAYBILLENTRY.FCOSTID | 费用项目 | findCollection find FNumber from b02f1e34-b500-3075-8b14-08fec61d08a4 where FName={{项目报销类别}} |
FPAYBILLENTRY.FCOMMENT | 备注 | {{报销明细.费用明细}} |
FPAYBILLENTRY.FOPPOSITEBANKACCOUNT | 对方银行账号 | _function CASE LOCATE('ALIPAY_ACCOUNT','{{收款信息.identityType}}') WHEN 0 THEN '{{收款信息.cardNo}}' ELSE '{{收款信息.logonId}}' END |
FPAYBILLENTRY.FOPPOSITECCOUNTNAME | 对方账户名称 | {{收款信息.name}} |
FPAYBILLENTRY.FDepartment | 部门 | _findCollection find Number from 400f56e7-e846-35e5-9017-c28fd7303fb0 where Name={{费用归属部门}} |
FPAYBILLENTRY.FormId | 业务对象表单Id | AP_PAYBILL |
FPAYBILLENTRY.Operation | 执行的操作 | BatchSave |
FPAYBILLENTRY.IsAutoSubmitAndAudit | 提交并审核 | false |
FPAYBILLENTRY.IsVerifyBaseDataField | 验证基础资料 | false |
响应参数
接口字段 | 名称 | 预设值 |
callBackStrategy | 回写方案 | |
callBackStrategy.strategyId | 方案ID | 950d161e-e92d-3d49-9d70-342c1503f694 |
callBackStrategy.id | 审批实例ID | {{id}} |
callBackStrategy.business_id | 审批编号 | {{extend.business_id}} |
callBackStrategy.name | 收款信息 | {{收款信息.name}} |
callBackStrategy.originator_userid | 发起人 | {{extend.originator_userid}} |
系统数据集成价值
通过无代码的数据集成与数据建模的智能数据管道技术,帮助企业将所有应用程序、数据库、事件和文件等数据信息提取到数据仓库中,并快速将分散的数据转化为数据集、API、自动化流程等开箱即用的数据服务。配置接口的模式对接钉钉和金蝶云星空,使得单据无缝互通。打造企业内部数据一体化,让企业日常运营管理实现敏捷数据化运营。实现供应链业务信息流的互通,同时支持供应链数据分析流程自动化,结果推送,推进相关供应链问题优化。及时打通供应链孤岛,实现数据驱动供应链协同,进一步提升企业竞争力。

