code | 单据编号 | {{stockout_no}} | 单据编号 |
outorg | 调出组织id或code | findCollection find org from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code={{warehouse_no}} | 调出组织id或code |
inaccount | 调入会计主体id或code | _findCollection find inorg from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where code={{YScode}} | 调入会计主体id或code |
vouchdate | 单据日期 | {{consign_time}} | 单据日期 |
inorg | 调入组织id或code | findCollection find inorg from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where code={{YScode}} | 调入组织id或code |
outaccount | 调出会计主体id或code | _findCollection find org from 4f73f755-1c4f-33e6-b5a1-7e3b8d894800 where code={{warehouse_no}} | 调出会计主体id或code |
bustype | 交易类型id或code | 1480261131563434039 | 交易类型id或code |
bizType | 自动调拨 | | 自动调拨 默认值为0,0:手工,1:订单审核自动调出调入,2:调出保存自动调入,5:订单审核自动调出 |
breturn | 调拨退货 | findCollection find breturn from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where code={{YScode}} | 调拨退货, true:是、false:否 |
inwarehouse | 调入仓库id或code | _findCollection find new_inwarehouse from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where code={{YScode}} | 调入仓库id或code |
outwarehouse | 调出仓库id或code | {{warehouse_no}} | 调出仓库id或code |
memo | 备注 | | 备注 |
srcBillNO | 来源单据 | findCollection find code from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where code={{YScode}} | 来源单据 |
srcBillType | 来源上级单据类型 | st_transferapply | 来源上级单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
srcBill | 来源单据id | _findCollection find new_id from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode={{details_list.goods_no}} code={{YScode}} | 时间戳,格式为:yyyy-MM-dd HH:mm:ss |
status | 操作标识 | Insert | 操作标识, Insert:新增、Update:更新 |
details | 调出单子表 | details_list | 调出单子表[st.storeout.StoreOutDetail] |
details.product | 物料id或code | {{details_list.goods_no}} | 物料id或code |
details.product_cCode | 物料编码 | {{details_list.goods_no}} | 物料编码 |
details.product_cName | 物料名称 | {{details_list.goods_name}} | 物料名称 |
details.productsku | 商品SKUid或code | {{details_list.goods_no}} | 商品SKUid或code |
details.productsku_cCode | 物料sku编码 | {{details_list.spec_no}} | 物料sku编码 |
details.productsku_cName | 物料sku名称 | {{details_list.goods_name}} | 物料sku名称 |
details.batchno | 批次号 | | 批次号 |
details.producedate | 生产日期 | | 生产日期 |
details.invaliddate | 有效期至 | | 有效期至 |
details.pubts | 时间戳 | | 时间戳,格式为:yyyy-MM-dd HH:mm:ss |
details.contactsQuantity | 应发数量 | {{details_list.goods_count}} | 应发数量 |
details.contactsPieces | 应发件数 | {{details_list.goods_count}} | 应发件数 |
details.qty | 数量 | {{details_list.goods_count}} | 数量 |
details.unit | 主计量id或code | _findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name={{goods_unit}} | 主计量id或code |
details.invExchRate | 换算率 | 1 | 换算率 |
details.subQty | 件数 | {{details_list.goods_count}} | 件数 |
details.stockUnitId | 库存单位id或code | findCollection find code from f9eedcc9-f1ff-31c0-9081-6aee9cf21740 where name={{goods_unit}} | 库存单位id或code |
details.costprice | 成本价 | | 成本价 |
details.firstsource | 源头单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 | st_transferapply | 物料id或code |
details.firstsourceid | 源头单据主表id | _findCollection find new_id from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode={{details_list.goods_no}} code={{YScode}} | 物料id或code |
details.firstsourceautoid | 源头单据子表id | findCollection find new_transferApplys_id from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode={{details_list.goods_no}} code={{YScode}} | 物料id或code |
details.firstupcode | 源头单据编码 | _findCollection find code from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode={{details_list.goods_no}} code={{YScode}} | 物料id或code |
details.firstuplineno | 源头单据行号 | findCollection find lineno from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode={{details_list.goods_no}} code={{YScode}} | 物料id或code |
details.source | 上游单据类型 | st_transferapply | 上游单据类型, st_transferapply:调拨订单、st_storeout:调出单、st_storein:调入单、 |
details.sourceid | 上游单据主表id | _findCollection find new_id from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode={{details_list.goods_no}} code={{YScode}} | 上游单据主表id |
details.sourceautoid | 上游单据子表id | findCollection find new_transferApplys_id from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode={{details_list.goods_no}} code={{YScode}} | 上游单据子表id |
details.upcode | 上游单据号 | _findCollection find code from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode={{details_list.goods_no}} code={{YScode}} | 上游单据号 |
details.uplineno | 来源单据行号 | findCollection find lineno from ecec487a-4c91-3e34-b78c-b5e2a2063f48 where product_cCode={{details_list.goods_no}} code={{YScode}} | 上游单据号 |
details.makeRuleCode | 生单规则编号 | st_transferapply | 生单规则编号 |
details.memo | 备注 | | 备注 |
details.autoCalcCost | 自动计算成本 | true | 自动计算成本, true:是、false:否、 |
details._status | 操作标识 | Insert | 操作标识, Insert:新增、Update:更新 |