kingdee_query_sales_outstock
Queries Kingdee Cloud Star sales outbound (delivery) notes to retrieve shipped item details, filtered by customer, warehouse organization, date range, or document status.
Instructions
查询销售出库单(发货单)。
对应金蝶 ApiDoc 销售管理域「销售出库」模块,FormId: SAL_OUTSTOCK。 用于查询已发货/出库的明细,支持按客户、仓库组织、日期、单据状态筛选。
⚠️ 字段 Key 警示(真机实测,2026-08-07): 本环境客户字段的元数据 Key 是 FCustomerID(大写 ID 后缀),并非 SAL_SaleOrder 常见的 FCustId,也不是 kingdee_list_forms 推荐的 FCustId。直接传 FCustId 会报 「元数据中标识为FCustId的字段不存在」。字段 Key 一律以 kingdee_get_fields 元数据为准。
常用 filter_string:
已审核: "FDocumentStatus='C'"
指定客户: "FCustomerID.FNumber='C001'"
日期区间: "FDate>='2026-05-01' and FDate<='2026-05-31'"
推荐 field_keys(已按本环境元数据校验可用): FID,FBillNo,FDate,FDocumentStatus,FCustomerID.FName,FStockOrgId.FName
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |