batchSave{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | FBillTypeID | 单据类型 | string | XSCKD01_SYS | 必填 | 单据类型 |
| 2 | FBillNo | 单据编号 | string | {{io_id}} | 必填 | 单据编号 |
| 3 | FSaleOrgId | 销售组织 | string | _function case when'{{shop_id}}' ='12948597' then '102' else '101' end | 必填 | 日期 |
| 4 | FDate | 日期 | string | {{io_date}} | 必填 | 销售组织 |
| 5 | FStockOrgId | 发货组织 | string | _function case when'{{shop_id}}' ='12948597' then '102' else '101' end | 必填 | 客户 |
| 6 | FCustomerID | 客户 | string | _function case when'{{drp_co_id_from}}'='' then '{{new_shop_id}}' else '{{drp_co_id_from}}' end | 必填 | 发货组织 |
| 7 | FNote | 备注 | string | {{remark}} | 可选 | 备注 |
| 8 | F_KLF_Assistant | 产品利润中心 | string | _function case when'{{shop_id}}' ='12948597' then 'LY003' else 'LY004' end | 可选 | 备注 |
| 9 | F_KLF_Text | 聚水潭订单号 | string | {{so_id}} | 可选 | 备注 |
| 10 | F_KLF_Text1 | 聚水潭物流单号 | string | {{l_id}} | 可选 | 备注 |
| 11 | FEntity | 明细信息 | array | items | 可选 | 明细信息 |
| 11.1 | FMaterialId | 物料编码 | string | {{items.sku_id}} | 必填 | 物料编码 |
| 11.2 | FRealQty | 实发数量 | string | {{items.qty}} | 必填 | 实发数量 |
| 11.3 | FTaxPrice | 含税单价 | string | {{items.sale_price}} | 可选 | 含税单价 |
| 11.4 | FIsFree | 是否赠品 | string | _function case '{{items.sale_price}}' when '0' then true else false end | 可选 | 是否赠品 |
| 11.5 | FStockId | 仓库 | string | {{wms_co_id}} | 必填 | 仓库 |
| 11.6 | FEntrynote | 备注 | string | 可选 | 备注 | |
| 11.7 | F_sms_Text2 | 触发更新 | string | 1 | 可选 | 触发更新 |
| 12 | SubHeadEntity | 财务信息 | object | 可选 | 财务信息 | |
| 12.1 | FSettleOrgId | 结算组织 | string | _function case when'{{shop_id}}' ='12948597' then '102' else '101' end | 可选 | 结算组织 |
| 12.2 | FSETTLECURRID | 结算币别 | string | _function case when'{{shop_id}}' ='12948597' then 'PRE007' else 'PRE001' end | 必填 | 结算币别 |
| 12.3 | FAllDisCount | 整单折扣额 | string | {{free_amount}} | 可选 | 整单折扣额 |
| 13 | FSaleDeptID | 销售部门 | string | _function case when'{{shop_id}}' ='12948597' then '00003' else '00006' end | 可选 | 销售部门 |
暂无参数说明
金蝶云星空的接口:销售出库单保存-金蝶-资产建模后-资产建模(batchSave),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星空版本更新同步更新。