batchSave{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | FBillNo | 出库单号 | string | — | 可选 | 出库单号 |
| 2 | FBillTypeID | 单据类型 | string | XSCKD01_SYS | 必填 | 单据类型 |
| 3 | FDate | 日期 | datetime | {{consignTime_new}} | 必填 | 日期 |
| 4 | FSaleOrgId | 销售组织 | string | _function case '{{shopCode}}' when '10002480' then '104' else '103' end | 必填 | 组织 |
| 5 | FCustomerID | 客户 | string | {{shopCode}} | 必填 | 基础资料 |
| 6 | FStockOrgId | 发货组织 | string | 103 | 可选 | 组织 |
| 7 | FNote | 备注 | string | 零售业务 | 可选 | 多行文本 |
| 8 | FAPI | API | string | true | 可选 | 多行文本 |
| 9 | FReceiveAddress | 收货人地址 | string | — | 可选 | 文本 |
| 10 | FEntity | 明细信息 | array | details | 必填 | 明细信息 |
| 10.1 | FMaterialID | 物料编码 | string | {{details.goodsDetail_goodsNo}} | 必填 | 基础资料 |
| 10.2 | FUnitID | 库存单位 | string | _findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{details.goodsDetail_goodsNo}} | 必填 | 基础资料 |
| 10.3 | FRealQty | 实发数量 | float | {{details.goodsDetail_goodsDelivery_sendCount}} | 必填 | 数量 |
| 10.4 | FPriceUnitId | 计价单位 | string | _findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{details.goodsDetail_goodsNo}} | 必填 | 基础资料 |
| 10.5 | FSalUnitID | 销售单位 | string | _findCollection find FPurchaseUnitId_FNumber from 44da707b-4d02-3e20-ad97-fdd69ff7a37d where FNumber={{details.goodsDetail_goodsNo}} | 必填 | 基础资料 |
| 10.6 | FTaxPrice | 含税单价 | float | _function {{details.goodsDetail_goodsDelivery_batchamount}}/{{details.goodsDetail_goodsDelivery_sendCount}} | 可选 | 单价 |
| 10.7 | FEntryTaxRate | 税率% | float | 13 | 可选 | 小数 |
| 10.8 | FStockID | 仓库 | string | {{warehouseCode}} | 可选 | 基础资料 |
| 10.9 | FLot | 批次号 | string | {{details.goodsDetail_goodsDelivery_batchNo}} | 可选 | 批次号 |
| 10.10 | FProduceDate | 生产日期 | datetime | {{details.goodsDetail_goodsDelivery_productionDate}} | 可选 | 生产日期 |
| 10.11 | FEntrynote | 备注 | string | {{details.SHTremark}} | 可选 | 文本 |
| 11 | SubHeadEntity | 财务信息 | object | — | 可选 | 财务信息 |
| 11.1 | FSettleOrgID | 结算组织 | string | _function case '{{shopCode}}' when '10002480' then '104' else '103' end | 可选 | 组织 |
暂无参数说明
金蝶云星空的接口:销售单对接(1-零售业务)-资产建模(batchSave),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星空版本更新同步更新。