1
|
order_no
|
入库单号 |
resubmitCheckKey
|
保证请求的幂等性 |
该值由客户端生成,并且必须是全局唯一的长度不能超过32位。更多信息,请参见«MDD幂等性» |
2
|
true
|
固定值 |
mergeSourceData
|
合并上游数据 |
固定值传入true。 |
3
|
true
|
固定值 |
needCalcLines
|
表体行计算标识 |
固定值传入true。 |
4
|
oriTaxUnitPrice
|
固定值 |
calcLinesKey
|
表体行计算依据 |
固定值传入true。 |
5
|
order_no
|
入库单号 |
code
|
单据编号 |
以系统编码规则配置为准:系统设置为手工编号时必输。系统设置为自动编号时非必输 |
6
|
check_time|date
|
固定值 |
vouchdate
|
单据日期 |
日期格式:YYYYMMDD |
7
|
A15001
|
固定值 |
bustype
|
交易类型id |
或交易类型code;业务流中未配置交易类型且未设置默认交易类型时必输。 |
8
|
warehouse_no
|
仓库编号 |
warehouse
|
仓库id |
或仓库code;上游单据未指定仓库时必输 |
9
|
remark
|
备注 |
memo
|
备注 |
|
10
|
Insert
|
固定值 |
_status
|
操作标识 |
Insert:新增 |
11
|
batch_details
|
固定值 |
purInRecords
|
采购入库单子表 |
|
12
|
st_purchaseorder
|
固定值 |
purInRecords.makeRuleCode
|
生单规则编码 |
固定值。订单入库:st_purchaseorder订单退库:st_purchaseorder3,退货入库:st_purchaseorder_return,到货入库:pu_arrivalorder |
13
|
_findCollection find new_id from 2293f65a-b357-3bfc-b77a-e97b91d88b7f where code=src_order_no product_cCode=batch_details.goods_no
|
关联查询函数 |
purInRecords.sourceid
|
上游单据主表id |
|
14
|
_findCollection find new_purchaseOrders_id from 2293f65a-b357-3bfc-b77a-e97b91d88b7f where code=src_order_no product_cCode=batch_details.goods_no
|
关联查询函数 |
purInRecords.sourceautoid
|
上游单据子表id |
|
15
|
|
固定值 |
purInRecords.batchno
|
批次号 |
批次管理的物料必输 |
16
|
|
固定值 |
purInRecords.producedate
|
生产日期 |
效期管理的物料必输 |
17
|
|
固定值 |
purInRecords.goodsposition
|
货位id |
或货位code;仓库为货位仓且开启了货位记存量时必输 |
18
|
batch_details.right_num
|
固定值 |
purInRecords.qty
|
数量 |
默认上游带入,若传入数量请确保表体行计算标识needCalcLines=true,并确认calcLinesKey是否符合实际业务场景 |
19
|
|
固定值 |
purInRecords.oriUnitPrice
|
无税单价 |
仅在表头参数表体行计算标识needCalcLines=true,且calcLinesKey指定当前字段为计算依据时生效。 |
20
|
_findCollection find oriTaxUnitPrice from 2293f65a-b357-3bfc-b77a-e97b91d88b7f where code=src_order_no product_cCode=batch_details.goods_no
|
关联查询函数 |
purInRecords.oriTaxUnitPrice
|
含税单价 |
仅在表头参数表体行计算标识needCalcLines=true,且calcLinesKey指定当前字段为计算依据时生效。 |
21
|
|
固定值 |
purInRecords.natSum
|
本币含税金额 |
仅在表头参数表体行计算标识needCalcLines=true,且calcLinesKey指定当前字段为计算依据时生效。 |
22
|
|
固定值 |
purInRecords.memo
|
备注 |
|
23
|
Insert
|
固定值 |
purInRecords._status
|
操作标识 |
Insert:新增 |