钉钉与金蝶云星空对接集成获取审批实例详情打通新增付款单

源系统:钉钉
钉钉(DingTalk)是阿里巴巴集团专为中国企业打造的免费沟通和协同的多端平台,提供PC版,Web版和手机版,有考勤打卡、签到、审批、日志、公告、钉盘、钉邮等强大功能。
写入目标:金蝶云星空
金蝶K/3Cloud结合当今先进管理理论和数十万家国内客户最佳应用实践,面向事业部制、多地点、多工厂等运营协同与管控型企业及集团公司,提供一个通用的ERP服务平台。K/3Cloud支持的协同应用包括但不限于:集中/分散销售、集中/分散采购、B2B电商管理、B2C电商中心、供应商协同、多工厂计划、跨工厂领料、跨工厂加工、工厂间调拨、内部交易及结算、集团财务管理、阿米巴经营等。
接口方案配置
通过轻易云系统数据集成平台新增创建集成方案,然后在数据源平台中选择对应的源平台为:钉钉,并且选择对应的连接器(关于钉钉的接口连接器如何配置可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息)。选择对应的获取审批实例详情接口作为数据对接来源。然后再通过写入目标平台配置目标系统为金蝶云星空,并且选择对应连接器。选择对应的新增付款单接口作为数据写入动作,既可以完成第一步的数据对接配置;打破跨系统连接,让数据轻易互通成为现实。


钉钉接口明细
- API:topapi/processinstance/get
- NAME:获取审批实例详情
- METHOD:POST
请求参数
接口字段 | 字段名称 | 预设值 | 描述 |
process_code | 审批流的唯一码 | PROC-A37CB912-0424-4584-AB8B-70F8D17DDFBC | |
start_time | 审批实例开始时间。Unix时间戳,单位毫秒。 | _function ( {{LAST_SYNC_TIME}} - ( 3600 * 96) ) * 1000 | |
end_time | 审批实例结束时间,Unix时间戳,单位毫秒 | {{CURRENT_TIME}}000 | |
size | 分页参数,每页大小,最多传20。 | 20 | |
cursor | 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值。 | | |
响应参数
接口字段 | 字段名称 | 预设值 | 描述 |
费用归属项目 | 费用归属项目 | | autoFillResponse |
报销类别 | 报销类别 | | _autoFillResponse |
TextNote_7L0ZKXODKW40 | TextNote_7L0ZKXODKW40 | | autoFillResponse |
行政报销类型 | 行政报销类型 | | _autoFillResponse |
项目报销类型 | 项目报销类型 | | autoFillResponse |
报销明细 | 报销明细 | | _autoFillResponse |
报销明细.费用发生日期 | 费用发生日期 | | autoFillResponse |
报销明细.报销金额(元) | 报销金额(元) | | _autoFillResponse |
报销明细.费用明细 | 费用明细 | | autoFillResponse |
报销明细.项目费用明细 | 项目费用明细 | | _autoFillResponse |
报销明细.项目费用明细.componentName | componentName | | autoFillResponse |
报销明细.项目费用明细.componentType | componentType | | _autoFillResponse |
报销明细.项目费用明细.props | props | | autoFillResponse |
报销明细.项目费用明细.总金额 | 总金额 | | _autoFillResponse |
报销明细.项目费用明细.关联审批单 | 关联审批单 | | autoFillResponse |
报销明细.项目费用明细.TextNote-KDE5B2G3 | TextNote-KDE5B2G3 | | _autoFillResponse |
报销明细.项目费用明细.电子发票 | 电子发票 | | autoFillResponse |
报销明细.项目费用明细.收款账号 | 收款账号 | | _autoFillResponse |
报销明细.项目费用明细.公司帐号付款(如需公司帐号付款请选择) | 公司帐号付款(如需公司帐号付款请选择) | | autoFillResponse |
报销明细.项目费用明细.报销凭证拍照上传 | 报销凭证拍照上传 | | _autoFillResponse |
报销明细.项目费用明细.附件 | 附件 | | autoFillResponse |
报销明细.项目费用明细.id | id | | _autoFillResponse |
报销明细.项目费用明细.title | title | | autoFillResponse |
报销明细.项目费用明细.extend | extend | | _autoFillResponse |
报销明细.项目费用明细.extend.create_time | create_time | | autoFillResponse |
报销明细.项目费用明细.extend.finish_time | finish_time | | _autoFillResponse |
报销明细.项目费用明细.extend.originator_userid | originator_userid | | autoFillResponse |
报销明细.项目费用明细.extend.originator_dept_id | originator_dept_id | | _autoFillResponse |
报销明细.项目费用明细.extend.status | status | | autoFillResponse |
报销明细.项目费用明细.extend.result | result | | _autoFillResponse |
报销明细.项目费用明细.extend.business_id | business_id | | autoFillResponse |
报销明细.项目费用明细.extend.originator_dept_name | originator_dept_name | | _autoFillResponse |
报销明细.项目费用明细.extend.biz_action | biz_action | | _autoFillResponse |
金蝶云星空接口明细
- 接口:batchSave
- 接口名称:新增付款单
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
FBillNo | 单据编号 | string | 单据编号 |
FBillTypeID | 单据类型 | string | 单据类型 |
FDATE | 业务日期 | string | 业务日期 |
FSETTLEORGID | 结算组织 | string | 100 |
FPAYORGID | 付款组织 | string | 100 |
FCURRENCYID | 币别 | string | 币别 |
FCONTACTUNITTYPE | 往来单位类型 | string | 往来单位类型 |
FCONTACTUNIT | 往来单位 | string | 往来单位 |
FRECTUNITTYPE | 收款单位类型 | string | 收款单位类型 |
FRECTUNIT | 收款单位 | string | |
FREMARK | 备注 | string | 备注 |
FSETTLECUR | 结算币别 | string | 结算币别 |
FPAYBILLENTRY | 付款单明细 | array | |
FPAYBILLENTRY.FSETTLETYPEID | 结算方式 | string | |
FPAYBILLENTRY.FPURPOSEID | 付款用途 | string | |
FPAYBILLENTRY.FPAYTOTALAMOUNTFOR | 应付金额 | string | |
FPAYBILLENTRY.FCOSTID | 费用项目 | string | |
FPAYBILLENTRY.FCOMMENT | 备注 | string | |
FPAYBILLENTRY.FOPPOSITEBANKACCOUNT | 对方银行账号 | string | |
FPAYBILLENTRY.FOPPOSITECCOUNTNAME | 对方账户名称 | string | |
FPAYBILLENTRY.FDepartment | 部门 | string | |
FPAYBILLENTRY.F_VAOJ_SQR | 申请人 | string | |
FPAYBILLENTRY.FormId | 业务对象表单Id | string | 必须填写金蝶的表单ID如😛UR_PurchaseOrder |
FPAYBILLENTRY.Operation | 执行的操作 | string | |
FPAYBILLENTRY.IsAutoSubmitAndAudit | 提交并审核 | bool | |
FPAYBILLENTRY.IsVerifyBaseDataField | 验证基础资料 | bool | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
响应参数
字段 | 名称 | 类型 | 描述 |
callBackStrategy | 回写方案 | object | |
callBackStrategy.strategyId | 方案ID | string | |
callBackStrategy.id | 审批实例ID | string | |
callBackStrategy.business_id | 审批编号 | string | |
callBackStrategy.name | 收款信息 | string | |
callBackStrategy.originator_userid | 发起人 | string | |
系统数据对接
使用全界面可视化配置集成流,快速应对企业的集成需求使得钉钉与金蝶云星空之间的数据接口一站式的快速集成能力,构建企业数据通道,解决数据孤岛问题。快速构建企业元数据标准、主数据标准、业财数据标准,完成数据的采集、统一、分发、清洗、归集等,帮助企业建立高质量的数据中台。目前轻易云平台已经支持300+系统,同时具备快速适配新系统的能力,集成海量接口数据。无论是对接ERP还是MES、OA、CRM、WMS、OMS等等系统,都可以通过接口相互集成。
