 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROORDERENTRY_S' AND KSQL_COL_NAME ='FSORDERNO') 
 ALTER TABLE T_POM_MROORDERENTRY_S ADD (FSORDERNO NVARCHAR(255) DEFAULT ' ' NOT NULL);
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROORDERENTRY_P' AND KSQL_COL_NAME ='FSORDERNO') 
 ALTER TABLE T_POM_MROORDERENTRY_P ADD (FSORDERNO NVARCHAR(255) DEFAULT ' ' NOT NULL);
  
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROORDERENTRY_P' AND KSQL_COL_NAME ='FOVERDEVICENUMBER') 
 ALTER TABLE T_POM_MROORDERENTRY_P ADD (FOVERDEVICENUMBER BIGINT DEFAULT 0 NOT NULL);
  
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MROORDERENTRY_P' AND KSQL_COL_NAME ='FPROCESSSEQ') 
 ALTER TABLE T_POM_MROORDERENTRY_P ADD (FPROCESSSEQ NVARCHAR(50) DEFAULT ' ' NOT NULL);