kingdee_enable_bills
Re-enables disabled Kingdee basic data records such as customers, suppliers, materials, or warehouses by FormId and bill IDs or numbers using the Enable operation.
Instructions
反禁用基础资料(opNumber=Enable)。
FormId 参数化通用工具(非某单专用,理由:反禁用是标准动作应走通用工具防重复), 仅适用于基础资料(如 BD_Customer / BD_Supplier / BD_Material / BD_Stock 等)。
action 依据:范探源 2026-08-07 三重证据查证 + QA 严过关真机实测——反禁用 = Enable。
端点/格式:ExecuteOperation,opNumber=Enable 放顶层,data 只放业务参数。
传参:bill_ids(FID 列表,优先)或 bill_nos(编号列表,基础资料用 FNumber),至少一个。
二开基础资料自定义反禁用动作时,可显式传 operation 覆盖默认 Enable。
Returns: str: JSON,含 success / fid / ids / action / endpoint 字段(注意是 fid/ids 而非 id)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |