IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_OMMATRLWRFENTRY' AND KSQL_COL_NAME ='FCONFIGUREDCODEID')
 ALTER TABLE T_IM_MDC_OMMATRLWRFENTRY ADD (FCONFIGUREDCODEID BIGINT DEFAULT 0 NOT NULL );
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_OMMATRLWRFENTRY' AND KSQL_COL_NAME ='FAUXPTYID')
 ALTER TABLE T_IM_MDC_OMMATRLWRFENTRY ADD (FAUXPTYID BIGINT DEFAULT 0 NOT NULL );
 
  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_OMMATRLWRFENTRY' AND KSQL_COL_NAME ='FMVERSION')
 ALTER TABLE T_IM_MDC_OMMATRLWRFENTRY ADD (FMVERSION BIGINT DEFAULT 0 NOT NULL );
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_OMMATRLWRFENTRY' AND KSQL_COL_NAME ='FMATERIELFIELD')
 ALTER TABLE T_IM_MDC_OMMATRLWRFENTRY ADD (FMATERIELFIELD BIGINT DEFAULT 0 NOT NULL );