/**Begin D:\PDM_UPGRADE\PDM1\MRP_table.sql **/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANORDERENTRY' AND KSQL_COL_NAME ='FENTRYUSERATIO') 
 ALTER TABLE T_MRP_PLANORDERENTRY ADD (FENTRYUSERATIO DECIMAL(23,10) DEFAULT 0 NOT NULL);
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_XPLANORDERENTRY' AND KSQL_COL_NAME ='FENTRYUSERATIO') 
 ALTER TABLE T_MRP_XPLANORDERENTRY ADD (FENTRYUSERATIO DECIMAL(23,10) DEFAULT 0 NOT NULL );
/**End D:\PDM_UPGRADE\PDM1\MRP_table.sql **/
