kingdee_forbid_bills
Forbids basic data records in Kingdee Cloud Star (e.g., customers, suppliers, materials) by FormId and FID or bill number, preventing further use of the selected records.
Instructions
禁用基础资料(opNumber=Forbid,非 UnForbid;Disable 已废弃慎用)。
FormId 参数化通用工具(非某单专用,理由:禁用是标准动作应走通用工具防重复), 仅适用于基础资料(如 BD_Customer / BD_Supplier / BD_Material / BD_Stock 等)。
action 依据:范探源 2026-08-07 三重证据查证 + QA 严过关真机实测——禁用 = Forbid, Disable 已废弃慎用,勿用 UnForbid(无此常量)。
端点/格式:ExecuteOperation,opNumber=Forbid 放顶层,data 只放业务参数。
传参:bill_ids(FID 列表,优先)或 bill_nos(编号列表,基础资料用 FNumber),至少一个。
二开基础资料自定义禁用动作时,可显式传 operation 覆盖默认 Forbid。
Returns: str: JSON,含 success / fid / ids / action / endpoint 字段(注意是 fid/ids 而非 id)
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_forbid_bills"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |