batchSave{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | FBillTypeID | 单据类型 | string | XSTHD01_SYS | 必填 | 单据类型 |
| 2 | FBillNo | 单据编号 | string | {{refundNo}} | 可选 | 单据编号 |
| 3 | FSaleOrgId | 销售组织 | string | 103 | 必填 | 组织 |
| 4 | FDate | 日期 | datetime | {{auditTime}} | 必填 | 日期 |
| 5 | FStockOrgId | 库存组织 | string | 103 | 必填 | 组织 |
| 6 | FAPI | API | string | true | 可选 | 多行文本 |
| 7 | F_sht_Note | 备注 | string | 分销无实物退货 | 可选 | 多行文本 |
| 8 | FEntity | 明细信息 | array | refundGoodsItems | 可选 | 明细信息 |
| 8.1 | FMaterialId | 物料编码 | string | {{refundGoodsItems.goodsNo}} | 必填 | 基础资料 |
| 8.2 | FUnitID | 库存单位 | string | _findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{refundGoodsItems.goodsNo}} | 必填 | 数量 |
| 8.3 | FRealQty | 实退数量 | string | {{refundGoodsItems.sellCount}} | 必填 | 数量 |
| 8.4 | FPriceUnitId | 计价单位 | string | _findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{refundGoodsItems.goodsNo}} | 必填 | 数量 |
| 8.5 | FSalUnitID | 销售单位 | string | _findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{refundGoodsItems.goodsNo}} | 必填 | 数量 |
| 8.6 | FTaxPrice | 含税单价 | string | _function {{refundGoodsItems.shareRefundFee}}/{{refundGoodsItems.sellCount}} | 可选 | 单价 |
| 8.7 | FEntryTaxRate | 税率% | string | 13 | 可选 | 小数 |
| 8.8 | FOwnerId | 货主 | string | 103 | 可选 | 多类别基础资料 |
| 8.9 | FStockId | 仓库 | string | 04DS | 必填 | 基础资料 |
| 8.10 | FLot | 批次号 | string | _function DATE_FORMAT('{{auditTime}}', '%Y0101') | 可选 | 批次号 |
| 8.11 | FProduceDate | 生产日期 | datetime | _function DATE_FORMAT('{{auditTime}}', '%Y-01-01') | 可选 | 生产日期 |
| 8.12 | FExpiryDate | 有效期至 | string | — | 可选 | 有效期至 |
| 9 | SubHeadEntity | 财务信息 | object | — | 可选 | 财务信息 |
| 9.1 | FSettleOrgId | 结算组织 | string | 103 | 可选 | 组织 |
| 9.2 | FThirdBillNo | 第三方单据编号 | string | {{tradeNo}} | 可选 | 第三方单据编号 |
| 9.3 | FThirdBillId | 第三方单据平台单号 | string | {{sourceTradeNo}} | 可选 | 第三方单据平台单号 |
暂无参数说明
金蝶云星空的接口:补偿退款单对接(分销)-资产建模(batchSave),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星空版本更新同步更新。