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