/**Begin D:\PDM_UPGRADE\PDM1\POM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MFTORDERENTRY_E' AND KSQL_COL_NAME ='FWORKCENTERID') 
 ALTER TABLE T_POM_MFTORDERENTRY_E ADD (FWORKCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MFTORDERENTRY_E' AND KSQL_COL_NAME ='FMANUSEQ') 
 ALTER TABLE T_POM_MFTORDERENTRY_E ADD (FMANUSEQ BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_XMFTORDERENTRY_E' AND KSQL_COL_NAME ='FWORKCENTERID') 
 ALTER TABLE T_POM_XMFTORDERENTRY_E ADD (FWORKCENTERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_XMFTORDERENTRY_E' AND KSQL_COL_NAME ='FMANUSEQ') 
 ALTER TABLE T_POM_XMFTORDERENTRY_E ADD (FMANUSEQ BIGINT DEFAULT 0 NOT NULL );

/**End D:\PDM_UPGRADE\PDM1\POM_table.sql **/
