batchSave{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | FBillNo | 单据编号 | string | {{tid}} | 可选 | 单据编号 |
| 2 | FSaleOrgId | 销售组织 | string | {{platform_id}}-{{shop_no}} | 必填 | 销售组织 |
| 3 | FDate | 日期 | string | {{trade_time}} | 必填 | 日期 |
| 4 | FCustId | 客户 | string | {{platform_id}}-{{shop_no}} | 必填 | 客户 |
| 5 | FSalerId | 销售员 | string | rpa01_GW000001_1 | 必填 | 销售员 |
| 6 | FBillTypeID | 单据类型 | string | XSDD01_SYS | 必填 | 单据类型 |
| 7 | FNote | 备注 | string | {{cs_remark}} | 可选 | 备注 |
| 8 | F_VTRK_Assistant1 | 店铺 | string | {{shop_no}} | 可选 | 店铺 |
| 9 | FSaleOrderEntry | 订单明细 | array | goods_list | 可选 | 订单明细 |
| 9.1 | FMaterialId | 物料编码 | string | {{goods_list.spec_id}} | 可选 | 物料编码 |
| 9.2 | FUnitID | 销售单位 | string | _findCollection find FBaseUnitId_FNumber from ce72d64f-a683-34d6-af61-3fabb31c6410 where FNumber={{goods_list.spec_id}} | 可选 | 销售单位 |
| 9.3 | FPrice | 单价 | string | — | 可选 | 单价 |
| 9.4 | FTaxPrice | 含税单价 | string | _function {{goods_list.price}}+( {{goods_list.share_post}}/{{goods_list.num}} ) | 可选 | 含税单价 |
| 9.5 | FPriceUnitId | 计价单位 | string | _findCollection find FBaseUnitId_FNumber from ce72d64f-a683-34d6-af61-3fabb31c6410 where FNumber={{goods_list.spec_id}} | 可选 | 计价单位 |
| 9.6 | FPriceUnitQty | 计价数量 | string | {{goods_list.num}} | 可选 | 计价数量 |
| 9.7 | FEntryTaxRate | 税率 | string | 13 | 可选 | 税率 |
| 9.8 | FDiscount | 折扣额 | string | _function {{goods_list.share_discount}}+{{goods_list.share_post}}+{{goods_list.discount}} | 可选 | 折扣额 |
| 9.9 | FSettleOrgIds | 结算组织 | string | {{platform_id}}-{{shop_no}} | 可选 | 结算组织 |
| 9.10 | FEntryNote | 备注 | string | — | 可选 | 备注 |
| 9.11 | FQty | 销售数量 | string | {{goods_list.num}} | 可选 | 销售数量 |
| 9.12 | FDeliveryDate | 要货日期 | string | {{trade_time}} | 可选 | 要货日期 |
| 9.13 | FReserveType | 预留类型 | string | 1 | 可选 | 预留类型 |
| 9.14 | FStockUnitID | 库存单位 | string | _findCollection find FBaseUnitId_FNumber from ce72d64f-a683-34d6-af61-3fabb31c6410 where FNumber={{goods_list.spec_id}} | 可选 | 库存单位 |
| 9.15 | FOUTLMTUNIT | 超发控制单位类型 | string | SAL | 可选 | 超发控制单位类型 |
| 9.16 | F_VTRK_Text | 合同号 | string | {{tid}} | 可选 | 合同号 |
| 9.17 | F_VTRK_Text2 | 收件联系人 | string | {{goods_list.customer_name}} | 可选 | 收件联系人 |
| 9.18 | F_VTRK_Text3 | 收货电话 | string | {{goods_list.receiver_mobile}} | 可选 | 收货电话 |
| 9.19 | F_VTRK_Text4 | 收货地址 | string | {{goods_list.receiver_address}} | 可选 | 收货地址 |
| 9.20 | F_VTRK_Text4 | 市 | string | {{goods_list.receiver_city}} | 可选 | 市 |
| 9.21 | F_VTRK_Text4 | 区 | string | {{goods_list.receiver_district}} | 可选 | 区 |
| 9.22 | F_VTRK_Text4 | 省 | string | {{goods_list.receiver_province}} | 可选 | 省 |
| 9.23 | F_VTRK_Decimal | 优惠 | string | {{goods_list.discount}} | 可选 | 优惠 |
| 9.24 | F_VTRK_Decimal1 | 分摊优惠 | string | {{goods_list.share_discount}} | 可选 | 分摊优惠 |
| 9.25 | F_VTRK_Decimal2 | 分摊邮资 | string | {{goods_list.share_post}} | 可选 | 分摊邮资 |
| 9.26 | FStockOrgId | 库存组织 | string | _findCollection find FDescription from ce72d64f-a683-34d6-af61-3fabb31c6410 where FNumber={{goods_list.spec_no}} | 可选 | 库存组织 |
暂无参数说明
金蝶云星空的接口:新增金蝶销售订单V3.0-资产建模(batchSave),由轻易云数据集成平台 API 资产管理模块整理收纳,并随金蝶云星空版本更新同步更新。