main_params | 主参数 | object | |
main_params.bill_no | 单据编号 | string | {{stocktakeId}} |
main_params.status | 状态 | string | 1 |
main_params.stock_org_id | 库存组织 | string | findCollection find textField_l2ib4q9s from 2bcf5aa6-6c81-39a8-b8a2-b97d6432bff9 where textField_l2ib4q9p={{warehouseCode}} |
main_params.date | 日期 | string | _function FROM_UNIXTIME( ( {{stocktakeDate}} / 1000 ) ,'%Y-%m-%d %T' ) |
main_params.bill_type_id | 单据类型 | string | PY01_SYS |
main_params.owner_type_id_head | 货主类型 | string | BD_OwnerOrg |
main_params.owner_id_head | 货主?? | string | findCollection find textField_l2ib4q9s from 2bcf5aa6-6c81-39a8-b8a2-b97d6432bff9 where textField_l2ib4q9p={{warehouseCode}} |
main_params.dept_id | 部门 | string | _findCollection find textField_l747atki from 2bcf5aa6-6c81-39a8-b8a2-b97d6432bff9 where textField_l2ib4q9p={{warehouseCode}} |
main_params.stocker_id | 仓管员?? | string | {{createName}} |
main_params.base_curr_id | 本位币?? | string | 1 |
main_params.remark | 备注 | string | {{text}} |
main_params.create_time | 创建时间 | string | function FROM_UNIXTIME( ( {{stocktakeDate}} / 1000 ) ,'%Y-%m-%d %T' ) |
main_params.created_by | 创建者 | string | {{createName}} |
main_params.update_time | 更新时间 | string | _function FROM_UNIXTIME( ( {{stocktakeDate}} / 1000 ) ,'%Y-%m-%d %T' ) |
main_params.updated_by | 更新者 | string | {{createName}} |
main_params.extend_params_1 | 1:1扩展参数 | array | stockCountGain |
main_params.extend_params_1.lastInsertId | order_id | string | :lastInsertId |
main_params.extend_params_1.material_id | 物料编码 | string | {{stockCountGain.goodsNo}} |
main_params.extend_params_1.unit_id | 单位 | string | Pcs |
main_params.extend_params_1.acct_qty | 账存数量 | string | {{stockCountGain.stockQuan intval}} |
main_params.extend_params_1.count_qty | 盘点数量 | string | {{stockCountGain.takeQuan intval}} |
main_params.extend_params_1.gain_qty | 盘盈数量?? | string | {{stockCountGain.variQuan intval}} |
main_params.extend_params_1.stock_id | 仓库 | string | {{warehouseId}} |
main_params.extend_params_1.stock_status_id | 库存状态?? | string | 1 |
main_params.extend_params_1.owner_type_id | 货主类型 | string | BD_OwnerOrg |
main_params.extend_params_1.owner_id | 货主?? | string | _findCollection find textField_l2ib4q9s from 2bcf5aa6-6c81-39a8-b8a2-b97d6432bff9 where textField_l2ib4q9p={{warehouseCode}} |
main_params.extend_params_1.cost | 成本价?? | string | |
main_params.extend_params_1.total_cost | 总成本?? | string | |
main_params.extend_params_1.price | 价格 | string | |
main_params.extend_params_1.total_amount | 总量 | string | |
main_params.extend_params_1.remark | 备注 | string | {{stockCountGain.rowRemark}} |
main_params.extend_params_1.source_id | 源单id?? | string | |
main_params.extend_params_1.source_detail_id | 源单明细行id?? | string | |
main_params.extend_params_1.source_code | 源单单号?? | string | null |
main_params.extend_params_1.source_type | 源单类型?? | string | |
main_params.extend_params_1.main_sql | 主语句 | string | INSERT INTO lehua .stock_count_gain ( bill_no , status , stock_org_id , date , bill_type_id , owner_type_id_head , owner_id_head , dept_id , stocker_id , base_curr_id , remark , create_time , created_by , update_time , updated_by ) VALUES ( <{bill_no: }>, <{status: }>, <{stock_org_id: }>, <{date: CURRENT_TIMESTAMP}>, <{bill_type_id: }>, <{owner_type_id_head: }>, <{owner_id_head: }>, <{dept_id: }>, <{stocker_id: }>, <{base_curr_id: }>, <{remark: }>, <{create_time: 0000-00-00 00:00:00}>, <{created_by: }>, <{update_time: 0000-00-00 00:00:00}>, <{updated_by: }>); |
main_params.extend_params_1.extend_sql_1 | 1:1扩展语句 | string | INSERT INTO lehua .stock_count_gain_detail ( order_id , material_id , unit_id , acct_qty , count_qty , gain_qty , stock_id , stock_status_id , owner_type_id , owner_id , cost , total_cost , price , total_amount , remark , source_id , source_detail_id , source_code , source_type ) VALUES ( <{lastInsertId: }>, <{material_id: }>, <{unit_id: }>, <{acct_qty: }>, <{count_qty: }>, <{gain_qty: }>, <{stock_id: }>, <{stock_status_id: }>, <{owner_type_id: }>, <{owner_id: }>, <{cost: }>, <{total_cost: }>, <{price: }>, <{total_amount: }>, <{remark: }>, <{source_id: }>, <{source_detail_id: }>, <{source_code: }>, <{source_type: }>); |