batchSave{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | FBillTypeID | 单据类型 | string | XSDD11_DEF | Required | 单据类型 |
| 2 | FBillNo | 单据编号 | string | {{details_list.src_tid}} | Optional | 单据编号 |
| 3 | FSaleOrgId | 销售组织 | string | {{shop_no}} | Required | 销售组织 |
| 4 | FDate | 日期 | string | {{consign_time}} | Required | 日期 |
| 5 | FCustId | 客户 | string | {{shop_no}} | Required | 客户 |
| 6 | FSalerId | 销售员 | string | — | Required | 销售员 |
| 7 | FNote | 备注 | string | {{cs_remark}} | Optional | 备注 |
| 8 | FSaleOrderEntry | 订单明细 | array | details_list | Optional | 订单明细 |
| 8.1 | FMaterialId | 物料编码 | string | {{details_list.goods_no}} | Optional | 物料编码 |
| 8.2 | FTaxPrice | 含税单价 | string | _function LEFT( '{{details_list.sell_price}}' , 6) | Optional | 含税单价 |
| 8.3 | FEntryTaxRate | 税率 | float | _findCollection find FTaxRateId_FTaxRate from adac3655-a3cb-3551-9024-8e7b360f930a where FNumber={{details_list.goods_no}} | Optional | 税率 |
| 8.4 | FQty | 销售数量 | string | {{details_list.goods_count}} | Optional | 销售数量 |
| 8.5 | FDeliveryDate | 要货日期 | string | {{consign_time}} | Optional | 要货日期 |
| 8.6 | FStockOrgId | 库存组织 | string | Optional | 库存组织 | |
| 8.7 | FIsFree | 是否赠品 | string | _function CASE WHEN {{details_list.sell_price}}>0 THEN 'false' ELSE 'true' END | Optional | 是否赠品 |
No parameter reference available
The 销售订单写入v4.0 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.