/**Begin D:\PDM_UPGRADE\PDM1\MRP_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_REPLACE_LOG' AND KSQL_COL_NAME ='FBILLID') 
 ALTER TABLE T_MRP_REPLACE_LOG ADD (FBILLID NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_REPLACE_LOG' AND KSQL_COL_NAME ='FBILLENTRYID') 
 ALTER TABLE T_MRP_REPLACE_LOG ADD (FBILLENTRYID NVARCHAR(50) DEFAULT ' ' NOT NULL );

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