/**Begin D:\work\kuaijishijian\pdm\PDM_UPGRADE_1.4\PDM_UPGRADE\PDM1\AI_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FAH_AE_LINES' AND KSQL_COL_NAME ='FAMOUNTREVERSE') 
 ALTER TABLE T_FAH_AE_LINES ADD (FAMOUNTREVERSE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FAH_AE_LINES_TMP' AND KSQL_COL_NAME ='FAMOUNTREVERSE') 
 ALTER TABLE T_FAH_AE_LINES_TMP ADD (FAMOUNTREVERSE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FAH_EVT_ACCTLINE' AND KSQL_COL_NAME ='FAMOUNTREVERSE') 
 ALTER TABLE T_FAH_EVT_ACCTLINE ADD (FAMOUNTREVERSE CHAR(1) DEFAULT '0' NOT NULL );

/**End D:\work\kuaijishijian\pdm\PDM_UPGRADE_1.4\PDM_UPGRADE\PDM1\AI_table.sql **/
