batchSave{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | FBillTypeID | 单据类型 | string | XSTHD01_SYS | Required | 单据类型 |
| 2 | FBillNo | 单据编号 | string | {{order_no}} | Required | 单据编号 |
| 3 | FSaleOrgId | 销售组织 | string | {{shop_no}} | Required | 组织 |
| 4 | FStockOrgId | 库存组织 | string | {{warehouse_no}} | Required | 组织 |
| 5 | FDate | 日期 | string | {{modified}} | Required | 日期 |
| 6 | FRetcustId | 退货客户 | string | {{shop_name}} | Required | 基础资料 |
| 7 | FSalesManId | 销售员 | string | {{refund_operator_name}} | Optional | 销售员 |
| 8 | FHeadNote | 备注 | string | — | Optional | 多行文本 |
| 9 | FEntity | 明细信息 | array | details_list | Optional | 明细信息 |
| 9.1 | FMaterialId | 物料编码 | string | {{details_list.spec_no}} | Required | 基础资料 |
| 9.2 | FRealQty | 实退数量 | string | {{details_list.num}} | Required | 数量 |
| 9.3 | FIsFree | 是否赠品 | string | _function CASE WHEN '{{details_list.right_price}}'>0 THEN 'false' ELSE 'true' END | Optional | 是否赠品 |
| 9.4 | FPrice | 单价 | string | — | Optional | 单价 |
| 9.5 | FTaxPrice | 含税单价 | string | {{details_list.right_price}} | Optional | 单价 |
| 9.6 | FStockId | 仓库 | string | {{warehouse_no}} | Required | 基础资料 |
| 9.7 | FNote | 备注 | string | {{details_list.remark}} | Optional | 文本 |
| 9.8 | FOrderNo | 订单单号 | string | {{details_list.tid}} | Optional | 文本 |
| 10 | SubHeadEntity | 财务信息 | object | — | Optional | 财务信息 |
| 10.1 | FSettleOrgId | 结算组织 | string | {{shop_no}} | Optional | 组织 |
No parameter reference available
The 销售退货单写入(按单写入)v4.0 API (batchSave) of 金蝶云星空 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 金蝶云星空 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.