kingdee_find_code
Resolves a Chinese master-data name into its Kingdee code for reference fields by fuzzy lookup, supporting customers, suppliers, materials, departments, organizations, and employees.
Instructions
中文值 → 编码:按中文名在基础资料里模糊查编码(自然语言建单的翻译第二步)。
用户说"客户是凤集"、"物料用原料蛋",本工具返回 {"FNumber": "090002", "FName": "..."}, 直接填进 model 的参照字段。适用于任意参照对象(客户/供应商/物料/部门/组织/员工…)。
官方字段惯例(金蝶云社区 webapi 实践):编码一般 FNumber(员工 FStaffNumber)、 名称一般 FName(辅助属性 FDataValue)、内码一般 FId(组织 FOrgId、用户 FUserId)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "kingdee_find_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |