batchSave{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | FBillTypeID | 单据类型 | string | XSTHD01_SYS | 必填 | 单据类型 |
| 2 | FBillNo | 单据编号 | string | {{refund_no}} | 必填 | 单据编号 |
| 3 | FSaleOrgId | 销售组织 | string | _findCollection find email from f9720649-c4cb-3d51-8bb0-e633ee48e23c where shop_no={{shop_no}} | 必填 | 组织 |
| 4 | FDate | 日期 | string | {{modified}} | 必填 | 日期 |
| 5 | FStockOrgId | 库存组织 | string | _findCollection find email from f9720649-c4cb-3d51-8bb0-e633ee48e23c where shop_no={{shop_no}} | 必填 | 组织 |
| 6 | FRetcustId | 退货客户 | string | {{shop_no}} | 必填 | 基础资料 |
| 7 | FHeadNote | 备注 | string | 可选 | 多行文本 | |
| 8 | FEntity | 明细信息 | array | refund_order_list | 可选 | 明细信息 |
| 8.1 | FMaterialId | 物料编码 | string | {{refund_order_list.goods_no}} | 必填 | 基础资料 |
| 8.2 | FRealQty | 实退数量 | string | {{refund_order_list.refund_num}} | 必填 | 数量 |
| 8.3 | FReturnType | 退换货类型 | string | THLX01_SYS | 必填 | 数量 |
| 8.4 | FTaxPrice | 含税单价 | string | _function round({{{refund_order_list.refund_order_amount}}/{{refund_order_list.refund_num}},7) | 可选 | 单价 |
| 8.5 | FStockId | 仓库 | string | THC | 必填 | 基础资料 |
| 8.6 | FNote | 备注 | string | 可选 | 文本 | |
| 9 | SubHeadEntity | 财务信息 | object | 可选 | 财务信息 | |
| 9.1 | FSettleOrgId | 结算组织 | string | _findCollection find email from f9720649-c4cb-3d51-8bb0-e633ee48e23c where shop_no={{shop_no}} | 可选 | 组织 |
暂无参数说明
金蝶云星空的接口:销售退货写入-资产建模(batchSave),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星空版本更新同步更新。