update icmaxnum set fmaxnum=fmaxnum+1 where ftablename='icstockbill'---出入库单据
update icmaxnum set fmaxnum=fmaxnum+1 where ftablename='ICSale'--销售发票
update icmaxnum set fmaxnum=fmaxnum+1 where ftablename='POOrder'--采购订单
update icmaxnum set fmaxnum=fmaxnum+1 where ftablename='ICMO'--生产任务单
update icmaxnum set fmaxnum=fmaxnum+1 where ftablename='ICBOM'--BOM单