matltran指数据库中的matltran表
matltran.trans_type+matltran.ref_type='CJ' and matltran.qty>=0 then N'作业单合并'
matltran.trans_type+matltran.ref_type='CJ' and matltran.qty<0 then N'作业单分割'
matltran.trans_type+matltran.ref_type='SO' and matltran.qty>0 then N'CO发运调整'
matltran.trans_type+matltran.ref_type='SO' and matltran.qty<=0 then N'CO发运'
matltran.trans_type+matltran.ref_type='AI' and matltran.qty=0 then N'成本调整'
matltran.trans_type+matltran.ref_type='AI' and matltran.qty<>0 then N'库存调整'
matltran.trans_type+matltran.ref_type='GI' then N'其它发出'
matltran.trans_type+matltran.ref_type='MI' and matltran.qty>0 then N'仓库转移到'
matltran.trans_type+matltran.ref_type='MI' and matltran.qty<=0 then N'仓库转移从'
matltran.trans_type+matltran.ref_type='RP' and matltran.qty<0 then N'PO接收调整'
matltran.trans_type+matltran.ref_type='RP' and matltran.qty>=0 then N'PO接收'
matltran.trans_type+matltran.ref_type='OJ' then N'JOB其它成本'
matltran.trans_type+matltran.ref_type='TT' and matltran.qty>0 then N'转移单到'
matltran.trans_type+matltran.ref_type='TT' and matltran.qty<=0 then N'转移单从'
matltran.trans_type+matltran.ref_type='WO' and matltran.qty>0 then N'CO退货'
matltran.trans_type+matltran.ref_type='WO' and matltran.qty<=0 then N'CO退货调整'
matltran.trans_type+matltran.ref_type='BI' then N'循环盘点'
matltran.trans_type+matltran.ref_type='FJ' and matltran.qty >=0 then N'JOB接收'
matltran.trans_type+matltran.ref_type='FJ' and matltran.qty <0 then N'JOB接收调整'
matltran.trans_type+matltran.ref_type='HI' then N'其它接收'
matltran.trans_type+matltran.ref_type='WJ' then N'作业单退料'
matltran.trans_type+matltran.ref_type='WP' and matltran.qty<0 then N'PO退货调整'
matltran.trans_type+matltran.ref_type='WP' and matltran.qty>=0 then N'PO退货'
matltran.trans_type+matltran.ref_type='IJ' and matltran.qty<>0 then N'JOB物料发放'
matltran.trans_type+matltran.ref_type='IJ' and matltran.qty=0 then N'JOB WIP改变'