/**Begin D:\PDM_UPGRADE\PDM1\MSPLAN_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANPROGRAM' AND KSQL_COL_NAME ='FISAUTODROPPLANBILL') 
 ALTER TABLE T_MRP_PLANPROGRAM ADD (FISAUTODROPPLANBILL CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANPROGRAM' AND KSQL_COL_NAME ='FISAUTOACOLLABORATIVEBILL') 
 ALTER TABLE T_MRP_PLANPROGRAM ADD (FISAUTOACOLLABORATIVEBILL CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANPROGRAM' AND KSQL_COL_NAME ='FISAUTOAUDITPLANBILL') 
 ALTER TABLE T_MRP_PLANPROGRAM ADD (FISAUTOAUDITPLANBILL CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANPROGRAM' AND KSQL_COL_NAME ='FDROPTIMERANGE') 
 ALTER TABLE T_MRP_PLANPROGRAM ADD (FDROPTIMERANGE INT DEFAULT 0 NOT NULL );

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