1
|
_findCollection find outorg from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
outorg
|
调出组织id或code |
|
2
|
stockin_no
|
入库单号 |
code
|
单据编号 |
|
3
|
_findCollection find outorg from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
outaccount
|
调出会计主体id或code |
|
4
|
check_time
|
审核时间 |
vouchdate
|
单据日期 |
|
5
|
_findCollection find bustype from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
bustype
|
交易类型id或code |
|
6
|
0
|
固定值 |
bizType
|
自动调拨 |
1:订单审核自动调出调入、0:手工、2:调出保存自动调入 |
7
|
_mongoQuery c86ad504-9059-3c79-b139-6aa0447d1b35 findField=content.breturn where={"content.code":{"$eq":"YScode"
|
固定值 |
breturn
|
调拨退货 |
true:是、false:否、 |
8
|
_findCollection find new_outwarehouse from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
outwarehouse
|
调出仓库id或code |
|
9
|
_findCollection find inorg from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
inorg
|
调入组织id或code |
|
10
|
_findCollection find inorg from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
inaccount
|
调入会计主体id或code |
|
11
|
_findCollection find new_inwarehouse from c86ad504-9059-3c79-b139-6aa0447d1b35 where code=YScode
|
关联查询函数 |
inwarehouse
|
调入仓库id或code |
|
12
|
|
固定值 |
memo
|
备注 |
|
13
|
|
固定值 |
srcBill
|
来源单据id |
|
14
|
|
固定值 |
srcBillNO
|
来源单据号 |
|
15
|
st_storeout
|
固定值 |
srcBillType
|
来源单据类型 |
st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
16
|
Insert
|
固定值 |
_status
|
操作标识 |
Insert:新增、Update:更新 |
17
|
details_list
|
货品列表节点 |
details
|
调入单 |
子表[st.storein.StoreInDetail] |
18
|
details_list.goods_no
|
固定值 |
details.product
|
物料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 |
|
22
|
details_list.goods_no
|
固定值 |
details.productsku_cCode
|
物料sku编码 |
|
23
|
details_list.goods_name
|
固定值 |
details.productsku_cName
|
物料sku名称 |
|
24
|
|
固定值 |
details.isBatchManage
|
是否批次管理 |
true:是、false:否 |
25
|
|
固定值 |
details.isExpiryDateManage
|
是否效期管理 |
true:是、false:否 |
26
|
|
固定值 |
details.batchno
|
批次号 |
|
27
|
|
固定值 |
details.invaliddate
|
有效期至 |
|
28
|
|
固定值 |
details.expireDateNo
|
保质期 |
|
29
|
|
固定值 |
details.expireDateUnit
|
保质期单位 |
1:年、2:月、6:天、 |
30
|
details_list.goods_count
|
固定值 |
details.contactsQuantity
|
应收数量 |
|
31
|
details_list.goods_count
|
固定值 |
details.qty
|
数量 |
|
32
|
|
固定值 |
details.mainid
|
主表id |
|
33
|
_findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name=goods_unit
|
关联查询函数 |
details.stockUnitId
|
库存单位id或code |
|
34
|
_findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name=goods_unit
|
关联查询函数 |
details.stockUnit_name
|
库存单位 |
|
35
|
|
固定值 |
details.costprice
|
成本价 |
|
36
|
|
固定值 |
details.natTaxUnitPrice
|
含税单价 |
|
37
|
details_list.tax
|
固定值 |
details.taxRate
|
税率 |
|
38
|
st_storeout
|
固定值 |
details.source
|
上游单据类型 |
st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
39
|
_findCollection find new_id from 979e2233-57c6-3896-854c-ad4efaebd1ef where upcode=YScode
|
关联查询函数 |
details.sourceid
|
上游单据主表id |
|
40
|
_findCollection find new_details_id from 979e2233-57c6-3896-854c-ad4efaebd1ef where upcode=YScode product_cCode=details_list.spec_no
|
关联查询函数 |
details.sourceautoid
|
上游单据子表id |
|
41
|
_findCollection find code from 979e2233-57c6-3896-854c-ad4efaebd1ef where upcode=YScode
|
关联查询函数 |
details.upcode
|
上游单据号 |
|
42
|
_findCollection find lineno from 979e2233-57c6-3896-854c-ad4efaebd1ef where upcode=YScode product_cCode=details_list.spec_no
|
关联查询函数 |
details.uplineno
|
来源单据行号 |
上游单据号 |
43
|
storeoutTostorein
|
固定值 |
details.makeRuleCode
|
生单规则编号 |
|
44
|
st_transferapply
|
固定值 |
details.firstsource
|
源头单据类型 |
st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
45
|
_findCollection find new_id from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.firstsourceid
|
源头单据主表id |
|
46
|
_findCollection find new_transferApplys_id from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.firstsourceautoid
|
源头单据子表id |
|
47
|
YScode
|
YScode |
details.firstupcode
|
源头单据号 |
|
48
|
_findCollection find lineno from c86ad504-9059-3c79-b139-6aa0447d1b35 where product_cCode=details_list.goods_no code=YScode
|
关联查询函数 |
details.firstuplineno
|
源头单据行号 |
物料id或code |
49
|
|
固定值 |
details.memo
|
备注 |
|
50
|
Insert
|
固定值 |
details._status
|
操作标识 |
Insert:新增、Update:更新 |