/** 发票后补，单头以及分录字段 **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMBILL' AND KSQL_COL_NAME ='FNEEDSUPPLEINVOICE') 
 ALTER TABLE T_ER_PUBREIMBILL ADD (FNEEDSUPPLEINVOICE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_DAILYREIMBURSEBILL' AND KSQL_COL_NAME ='FNEEDSUPPLEINVOICE') 
 ALTER TABLE T_ER_DAILYREIMBURSEBILL ADD (FNEEDSUPPLEINVOICE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REIMBURSEBILL' AND KSQL_COL_NAME ='FNEEDSUPPLEINVOICE') 
 ALTER TABLE T_ER_REIMBURSEBILL ADD (FNEEDSUPPLEINVOICE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEINFO' AND KSQL_COL_NAME ='FISSUPPLEMENT') 
 ALTER TABLE T_ER_INVOICEINFO ADD (FISSUPPLEMENT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMINVOICEINFO' AND KSQL_COL_NAME ='FISSUPPLEMENT') 
 ALTER TABLE T_ER_PUBREIMINVOICEINFO ADD (FISSUPPLEMENT CHAR(1) DEFAULT '0' NOT NULL );