IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MFTORDERENTRY_E' AND KSQL_COL_NAME ='freportqty') 
 ALTER TABLE T_POM_MFTORDERENTRY_E ADD (freportqty DECIMAL(23,10) DEFAULT 0 NOT NULL);
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MFTORDERENTRY_E' AND KSQL_COL_NAME ='fworkwasteqty') 
 ALTER TABLE T_POM_MFTORDERENTRY_E ADD (fworkwasteqty DECIMAL(23,10) DEFAULT 0 NOT NULL);
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_POM_MFTORDERENTRY_E' AND KSQL_COL_NAME ='fmtlcostqty') 
 ALTER TABLE T_POM_MFTORDERENTRY_E ADD (fmtlcostqty DECIMAL(23,10) DEFAULT 0 NOT NULL);