IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_INITBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_INITBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_PURRECBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_PURRECBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_PURINBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_PURINBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_OSPURINBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_OSPURINBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_OSMREQOUTBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_OSMREQOUTBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_SALOUTBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_SALOUTBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_PRODUCTINBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_PRODUCTINBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MREQBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_MREQBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MREQOUTBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_MREQOUTBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_TRANSAPPLYENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_TRANSAPPLYENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_TRANSDIRBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_TRANSDIRBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_TRANSDIRBILLENTRY' AND KSQL_COL_NAME ='FEINCOSTCENTERID') 
 ALTER TABLE T_IM_TRANSDIRBILLENTRY ADD (FEINCOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_TRANSOUTBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_TRANSOUTBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_TRANSINBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_TRANSINBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_OTHERINBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_OTHERINBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_OTHEROUTBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_OTHEROUTBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_ADJUSTBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_ADJUSTBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_ADJUSTBILLSUBENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_ADJUSTBILLSUBENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_ASSEMBBILLENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_ASSEMBBILLENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_ASSEMBBILLSUBENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_ASSEMBBILLSUBENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_DISASSEMBLEENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_DISASSEMBLEENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_DISASSEMBLESUBENTRY' AND KSQL_COL_NAME ='FECOSTCENTERID') 
 ALTER TABLE T_IM_DISASSEMBLESUBENTRY ADD (FECOSTCENTERID BIGINT DEFAULT 0 NOT NULL );