 -- 记费用 的两张表和其他报销单不一样，上述的字段都加一遍。
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_er_invoicepoolinfo' AND KSQL_COL_NAME ='FSALERTAXNO') 
ALTER TABLE t_er_invoicepoolinfo ADD (FSALERTAXNO NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_er_invoicepoolinfo' AND KSQL_COL_NAME ='FNUM') 
ALTER TABLE t_er_invoicepoolinfo ADD (FNUM DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_er_invoicepoolinfo' AND KSQL_COL_NAME ='FUNITPRICE') 
ALTER TABLE t_er_invoicepoolinfo ADD (FUNITPRICE DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_er_invoicepoolinfo' AND KSQL_COL_NAME ='FSPECMODEL') 
ALTER TABLE t_er_invoicepoolinfo ADD (FSPECMODEL NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_er_invoicepoolinfo' AND KSQL_COL_NAME ='FUNIT') 
ALTER TABLE t_er_invoicepoolinfo ADD (FUNIT NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_er_invoicepoolitem' AND KSQL_COL_NAME ='FSALERTAXNO') 
ALTER TABLE t_er_invoicepoolitem ADD (FSALERTAXNO NVARCHAR(50) DEFAULT ' ' NOT NULL );