/jdy/v2/scm/sal_order{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | bill_no | 订单编码 | string | {{stockout_no}} | Optional | 销售订单编码 |
| 2 | remark | 单据备注 | string | {{remark}} | Optional | 备注 |
| 3 | customerid_id | 客户ID | string | — | Optional | 旺店通订单上店铺编码 |
| 4 | bill_date | 订单日期 | string | {{consign_time}} | Optional | 销售订单日期 |
| 5 | customer_number | 客户编码 | string | {{shop_no}} | Optional | 单据来源 |
| 6 | material_entity | 分录明细 | array | details_list | Optional | 分录明细 |
| 6.1 | material_number | 物料编码 | string | {{details_list.spec_no}} | Optional | 物料编码 |
| 6.2 | qty | 数量 | string | {{details_list.goods_count}} | Optional | 数量 |
| 6.3 | unit_id | 单位 | string | _mongoQuery b88a7889-af5d-3efd-aac4-d4960eae6748 findField=content.base_unit_id where={"content.number":{"$eq":"{{details_list.spec_no}}"}} | Optional | 单位 |
| 6.4 | price | 单价 | string | {{details_list.sell_price}} | Optional | 单价 |
| 6.5 | sp_id | 仓位ID | string | _function case '{{warehouse_no}}' when 'CK00001' then '1099179991205176320' else '' end | Optional | 仓位ID |
| 6.6 | is_free | 是否赠品 | string | _function case '{{details_list.sell_price}}' when '0' then 'true' else 'false' end | Optional | 是否赠品 |
| 6.7 | stock_id | 仓库id | string | _mongoQuery dcf15639-66d6-3904-821c-5bc5e2d89a62 findField=content.id where={"content.number":{"$eq":"{{warehouse_no}}"}} | Optional | 仓库id |
No parameter reference available
The 销售订单新增 V3.0-资产建模 API (/jdy/v2/scm/sal_order) of 金蝶云星辰V2 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 金蝶云星辰V2 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.