IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CHANGEBILLMAINENTRY' AND KSQL_COL_NAME ='FORIGINALVALTP') 
 ALTER TABLE T_FA_CHANGEBILLMAINENTRY ADD (FORIGINALVALTP DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CHANGEBILLMAINENTRY' AND KSQL_COL_NAME ='FACCUMDEPRETP') 
 ALTER TABLE T_FA_CHANGEBILLMAINENTRY ADD (FACCUMDEPRETP DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CHANGEBILLMAINENTRY' AND KSQL_COL_NAME ='FDECVALTP') 
 ALTER TABLE T_FA_CHANGEBILLMAINENTRY ADD (FDECVALTP DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CHANGEBILLOTHERENTRY' AND KSQL_COL_NAME ='FORIGINALVALTP') 
 ALTER TABLE T_FA_CHANGEBILLOTHERENTRY ADD (FORIGINALVALTP DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CHANGEBILLOTHERENTRY' AND KSQL_COL_NAME ='FACCUMDEPRETP') 
 ALTER TABLE T_FA_CHANGEBILLOTHERENTRY ADD (FACCUMDEPRETP DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CHANGEBILLOTHERENTRY' AND KSQL_COL_NAME ='FDECVALTP') 
 ALTER TABLE T_FA_CHANGEBILLOTHERENTRY ADD (FDECVALTP DECIMAL(23,10) DEFAULT 0 NOT NULL );
