源系统平台:管易云
源系统接口: 供应商查询gy.erp.supplier.get
目标系统平台: 金蝶云星空
目标系统接口: 供应商新增batchSave
源平台元数据配置:
{
"id": "code",
"api": "gy.erp.supplier.get",
"type": "QUERY",
"method": "POST",
"number": "code",
"idCheck": true,
"request": [
{
"type": "string",
"field": "start_date",
"label": "开始时间",
"value": null,
"describe": "与end_date搭配使用",
"is_required": false
},
{
"type": "string",
"field": "end_date",
"label": "结束时间",
"value": null,
"describe": "与start_date搭配使用",
"is_required": false
}
],
"response": [
{
"type": "string",
"field": "create_date",
"label": "创建时间",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "modify_date",
"label": "修改时间",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "code",
"label": "代码",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "name",
"label": "名称",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "del",
"label": "是否停用",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "note",
"label": "备注",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "type_name",
"label": "供应商类型",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "contact_name",
"label": "联系人",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "contact_phone",
"label": "联系电话",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "contact_mobile",
"label": "联系手机",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "contact_fax",
"label": "传真",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "contact_qq",
"label": "QQ",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "contact_ww",
"label": "旺旺",
"value": null,
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "adress",
"label": "地址",
"value": null,
"describe": null,
"is_required": false
}
],
"pagination": {
"pageSize": 40
},
"otherRequest": [
{
"type": "string",
"field": "page_size",
"label": "分页大小",
"value": "{{PAGINATION_PAGE_SIZE}}",
"describe": "默认为10",
"is_required": false
},
{
"type": "string",
"field": "page_no",
"label": "页号",
"value": "{{PAGINATION_START_PAGE}}",
"describe": "默认1",
"is_required": false
}
],
"otherResponse": []
}
目标平台元数据配置:
{
"id": null,
"api": "batchSave",
"type": "EXECUTE",
"method": "POST",
"number": null,
"idCheck": true,
"request": [
{
"type": "string",
"field": "FNumber",
"label": "编码",
"value": "{{code}}",
"describe": null,
"is_required": true
},
{
"type": "string",
"field": "FName",
"label": "名称",
"value": "{{name}}",
"describe": null,
"is_required": true
},
{
"type": "string",
"field": "FUseOrgId",
"label": "使用组织",
"value": "100",
"parser": {
"name": "ConvertObjectParser",
"params": "FNumber"
},
"describe": null,
"is_required": false
},
{
"type": "string",
"field": "FCreateOrgId",
"label": "创建组织",
"value": "100",
"parser": {
"name": "ConvertObjectParser",
"params": "FNumber"
},
"describe": null,
"is_required": false
}
],
"response": [],
"operation": {
"rows": 1,
"method": "batchArraySave",
"rowsKey": "array"
},
"otherRequest": [
{
"type": "string",
"field": "FormId",
"label": "业务对象表单Id",
"value": "BD_Supplier",
"describe": "必须填写金蝶的表单ID如:PUR_PurchaseOrder",
"is_required": true
},
{
"type": "string",
"field": "Operation",
"label": "执行的操作",
"value": "batchSave",
"describe": null,
"is_required": true
},
{
"type": "bool",
"field": "IsVerifyBaseDataField",
"label": "验证基础资料",
"value": "false",
"describe": "是否验证所有的基础资料有效性,布尔类,默认false(非必录)",
"is_required": false
},
{
"type": "bool",
"field": "IsAutoSubmitAndAudit",
"label": "提交并审核",
"value": "true",
"describe": null,
"is_required": true
}
],
"otherResponse": []
}