/yonbip/scm/salesout/mergeSourceData/save{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | mergeSourceData | mergeSourceData | boolean | 1 | Required | 是否合并上游数据。值为true的话则sourceid:来源单据主表id,sourceautoid:来源单据行id,makeRuleCode:单据转换规则,_status:操作标识,不可为空。 示例:true |
| 2 | vouchdate | vouchdate | string | 1 | Optional | 单据日期 示例:2020-11-30 00:00:00 |
| 3 | warehouse | warehouse | string | 1 | Optional | 仓库id或编码 示例:Z001 |
| 4 | code | code | string | 1 | Optional | 单据编号 示例:XSCK20201130000002 自动编码可以不携带 |
| 5 | bustype | bustype | string | 1 | Required | 交易类型id或编码 示例:A30001 |
| 6 | details | details | array | 1 | Required | 销售出库单子表[st.salesout.SalesOuts] |
| 7 | _status | _status | string | 1 | Required | 操作标识, Insert:新增 示例:Insert |
| 8 | qty | qty | long | 1 | Optional | 数量 示例:12 |
| 9 | sourceid | sourceid | long | 1 | Required | 来源单据主表id,如果有来源则必输 |
| 10 | sourceautoid | sourceautoid | long | 1 | Required | 来源单据行id,有来源必输 |
| 11 | batchno | batchno | string | 1 | Optional | 批次号,仓库商品均开启批次管理则必填 |
| 12 | makeRuleCode | makeRuleCode | string | 1 | Required | 单据转换规则,deliveryTostoreout:发货单生销售出库,salereturnTosalesout:退货单生销售出库,orderTosalesout:销售订单生销售出库 |
| 13 | goodsposition | goodsposition | string | 1 | Optional | 货位,仓库开启货位则必填 示例:whhw2467516 |
| 14 | salesOutsSNs | salesOutsSNs | array | 1 | Optional | 销售出库单孙表[st.salesout.SalesOutsSN] |
| 15 | _status | _status | string | 1 | Optional | 操作标识, Insert:新增 示例:Insert |
| 16 | sn | sn | string | 1 | Optional | 序列号,仓库商品均开启序列号管理则必填 示例:qwer85 |
| 17 | _status | _status | string | 1 | Required | 操作标识, Insert:新增 示例:Insert |
No parameter reference available
The 销售出库来源生单保存_v1 API (/yonbip/scm/salesout/mergeSourceData/save) of 用友BIP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 用友BIP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.