batchSave{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | FBillTypeID | 单据类型 | string | XSTHD01_SYS | Required | 单据类型 |
| 2 | FBillNo | 单据编号 | string | {{refundNo}} | Optional | 单据编号 |
| 3 | FSaleOrgId | 销售组织 | string | 103 | Required | 组织 |
| 4 | FDate | 日期 | datetime | {{auditTime}} | Required | 日期 |
| 5 | FStockOrgId | 库存组织 | string | 103 | Required | 组织 |
| 6 | FAPI | API | string | true | Optional | 多行文本 |
| 7 | F_sht_Note | 备注 | string | 分销无实物退货 | Optional | 多行文本 |
| 8 | FEntity | 明细信息 | array | refundGoodsItems | Optional | 明细信息 |
| 8.1 | FMaterialId | 物料编码 | string | {{refundGoodsItems.goodsNo}} | Required | 基础资料 |
| 8.2 | FUnitID | 库存单位 | string | _findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{refundGoodsItems.goodsNo}} | Required | 数量 |
| 8.3 | FRealQty | 实退数量 | string | {{refundGoodsItems.sellCount}} | Required | 数量 |
| 8.4 | FPriceUnitId | 计价单位 | string | _findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{refundGoodsItems.goodsNo}} | Required | 数量 |
| 8.5 | FSalUnitID | 销售单位 | string | _findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{refundGoodsItems.goodsNo}} | Required | 数量 |
| 8.6 | FTaxPrice | 含税单价 | string | _function {{refundGoodsItems.shareRefundFee}}/{{refundGoodsItems.sellCount}} | Optional | 单价 |
| 8.7 | FEntryTaxRate | 税率% | string | 13 | Optional | 小数 |
| 8.8 | FOwnerId | 货主 | string | 103 | Optional | 多类别基础资料 |
| 8.9 | FStockId | 仓库 | string | 04DS | Required | 基础资料 |
| 8.10 | FLot | 批次号 | string | _function DATE_FORMAT('{{auditTime}}', '%Y0101') | Optional | 批次号 |
| 8.11 | FProduceDate | 生产日期 | datetime | _function DATE_FORMAT('{{auditTime}}', '%Y-01-01') | Optional | 生产日期 |
| 8.12 | FExpiryDate | 有效期至 | string | — | Optional | 有效期至 |
| 9 | SubHeadEntity | 财务信息 | object | — | Optional | 财务信息 |
| 9.1 | FSettleOrgId | 结算组织 | string | 103 | Optional | 组织 |
| 9.2 | FThirdBillNo | 第三方单据编号 | string | {{tradeNo}} | Optional | 第三方单据编号 |
| 9.3 | FThirdBillId | 第三方单据平台单号 | string | {{sourceTradeNo}} | Optional | 第三方单据平台单号 |
No parameter reference available
The 补偿退款单对接(分销)-资产建模 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.