|
1
|
stockout_no
|
固定值 |
code
|
单据编号 |
单据编号 |
|
2
|
_findCollection find outorg from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
outorg
|
调出组织id或code |
调出组织id或code |
|
3
|
_findCollection find inorg from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
inaccount
|
调入会计主体id或code |
调入会计主体id或code |
|
4
|
consign_time
|
出库时间 |
vouchdate
|
单据日期 |
单据日期 |
|
5
|
_findCollection find inorg from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
inorg
|
调入组织id或code |
调入组织id或code |
|
6
|
_findCollection find outorg from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
outaccount
|
调出会计主体id或code |
调出会计主体id或code |
|
7
|
_findCollection find bustype from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
bustype
|
交易类型id或code |
交易类型id或code |
|
8
|
0
|
固定值 |
bizType
|
自动调拨 |
自动调拨 默认值为0,0:手工,1:订单审核自动调出调入,2:调出保存自动调入,5:订单审核自动调出 |
|
9
|
_mongoQuery c86ad504-9059-3c79-b139-6aa0447d1b35 findField=content.breturn where={"content.code":{"$eq":"YScode"
|
固定值 |
breturn
|
调拨退货 |
调拨退货, true:是、false:否 |
|
10
|
_findCollection find new_inwarehouse from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
inwarehouse
|
调入仓库id或code |
调入仓库id或code |
|
11
|
_findCollection find new_outwarehouse from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
outwarehouse
|
调出仓库id或code |
调出仓库id或code |
|
12
|
|
固定值 |
memo
|
备注 |
备注 |
|
13
|
YScode
|
YS调拨订单号 |
srcBillNO
|
来源单据 |
来源单据 |
|
14
|
st_transferapply
|
固定值 |
srcBillType
|
来源上级单据类型 |
来源上级单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
|
15
|
_findCollection find new_id from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
srcBill
|
来源单据id |
时间戳,格式为:yyyy-MM-dd HH:mm:ss |
|
16
|
Insert
|
固定值 |
_status
|
操作标识 |
操作标识, Insert:新增、Update:更新 |
|
17
|
details_list
|
Sku详情节点 |
details
|
调出单子表 |
调出单子表[st.storeout.StoreOutDetail] |
|
18
|
details_list.goods_no
|
固定值 |
details.product
|
物料id或code |
物料id或code |
|
19
|
details_list.goods_no
|
固定值 |
details.product_cCode
|
物料编码 |
物料编码 |
|
20
|
details_list.goods_name
|
固定值 |
details.product_cName
|
物料名称 |
物料名称 |
|
21
|
details_list.goods_no
|
固定值 |
details.productsku
|
商品SKUid或code |
商品SKUid或code |
|
22
|
details_list.spec_no
|
固定值 |
details.productsku_cCode
|
物料sku编码 |
物料sku编码 |
|
23
|
details_list.goods_name
|
固定值 |
details.productsku_cName
|
物料sku名称 |
物料sku名称 |
|
24
|
|
固定值 |
details.batchno
|
批次号 |
批次号 |
|
25
|
|
固定值 |
details.producedate
|
生产日期 |
生产日期 |
|
26
|
|
固定值 |
details.invaliddate
|
有效期至 |
有效期至 |
|
27
|
|
固定值 |
details.pubts
|
时间戳 |
时间戳,格式为:yyyy-MM-dd HH:mm:ss |
|
28
|
details_list.goods_count
|
固定值 |
details.contactsQuantity
|
应发数量 |
应发数量 |
|
29
|
details_list.goods_count
|
固定值 |
details.contactsPieces
|
应发件数 |
应发件数 |
|
30
|
details_list.goods_count
|
固定值 |
details.qty
|
数量 |
数量 |
|
31
|
_findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name=goods_unit
|
关联查询函数 |
details.unit
|
主计量id或code |
主计量id或code |
|
32
|
1
|
固定值 |
details.invExchRate
|
换算率 |
换算率 |
|
33
|
details_list.goods_count
|
固定值 |
details.subQty
|
件数 |
件数 |
|
34
|
_findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name=goods_unit
|
关联查询函数 |
details.stockUnitId
|
库存单位id或code |
库存单位id或code |
|
35
|
|
固定值 |
details.costprice
|
成本价 |
成本价 |
|
36
|
st_transferapply
|
固定值 |
details.firstsource
|
源头单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
物料id或code |
|
37
|
_findCollection find new_id from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.firstsourceid
|
源头单据主表id |
物料id或code |
|
38
|
_findCollection find new_transferApplys_id from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.firstsourceautoid
|
源头单据子表id |
物料id或code |
|
39
|
_findCollection find code from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.firstupcode
|
源头单据编码 |
物料id或code |
|
40
|
_findCollection find lineno from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.firstuplineno
|
源头单据行号 |
物料id或code |
|
41
|
st_transferapply
|
固定值 |
details.source
|
上游单据类型 |
上游单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
|
42
|
_findCollection find new_id from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.sourceid
|
上游单据主表id |
上游单据主表id |
|
43
|
_findCollection find new_transferApplys_id from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.sourceautoid
|
上游单据子表id |
上游单据子表id |
|
44
|
_findCollection find code from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.upcode
|
上游单据号 |
上游单据号 |
|
45
|
_findCollection find lineno from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.uplineno
|
来源单据行号 |
上游单据号 |
|
46
|
st_transferapply
|
固定值 |
details.makeRuleCode
|
生单规则编号 |
生单规则编号 |
|
47
|
|
固定值 |
details.memo
|
备注 |
备注 |
|
48
|
true
|
固定值 |
details.autoCalcCost
|
自动计算成本 |
自动计算成本, true:是、false:否、 |
|
49
|
Insert
|
固定值 |
details._status
|
操作标识 |
操作标识, Insert:新增、Update:更新 |