kingdee_query_delivery_notice
Query Kingdee delivery notices (SAL_DELIVERYNOTICE) to retrieve pending or shipped notices with customer details, filtering by customer, date range, or document status.
Instructions
查询发货通知单。
对应金蝶 ApiDoc 销售管理域「发货通知」模块,FormId: SAL_DELIVERYNOTICE。 用于查询待发货/已发货通知单及其客户信息,支持按客户、日期、单据状态筛选。
⚠️ 字段 Key 警示(真机实测,范探源已验证): 本账套客户字段的元数据 Key 是 FCustomerID(大写 ID 后缀)。误用 FCustId 会报 「元数据中标识为FCustId的字段不存在」——本环境的 FCustId 在元数据中不存在,切勿改回 FCustId。 字段 Key 一律以 kingdee_get_fields 元数据为准。
⚠️ 动作范围说明:标准保存/提交/审核动作已由通用 kingdee_save_bill / kingdee_submit_bills / kingdee_audit_bills 等按 FormId 参数化覆盖,本工具仅做查询,不负责写操作。
常用 filter_string:
已审核: "FDocumentStatus='C'"
指定客户: "FCustomerID.FNumber='C001'"
日期区间: "FDate>='2026-05-01' and FDate<='2026-05-31'"
推荐 field_keys(已按本环境元数据校验可用): FID,FBillNo,FDate,FDocumentStatus,FCustomerID.FName
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |