IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANORDER' AND KSQL_COL_NAME ='FISAUTOAUDIT') 
 ALTER TABLE T_MRP_PLANORDER ADD (FISAUTOAUDIT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANORDER' AND KSQL_COL_NAME ='FISAUTODROP') 
 ALTER TABLE T_MRP_PLANORDER ADD (FISAUTODROP CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_SIMULATEORDER' AND KSQL_COL_NAME ='FISAUTOAUDIT') 
 ALTER TABLE T_MRP_SIMULATEORDER ADD (FISAUTOAUDIT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_SIMULATEORDER' AND KSQL_COL_NAME ='FISAUTODROP') 
 ALTER TABLE T_MRP_SIMULATEORDER ADD (FISAUTODROP CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_RATIVEORDER' AND KSQL_COL_NAME ='FISAUTOAUDIT') 
 ALTER TABLE T_MRP_RATIVEORDER ADD (FISAUTOAUDIT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_XPLANORDER' AND KSQL_COL_NAME ='FISAUTOAUDIT') 
 ALTER TABLE T_MRP_XPLANORDER ADD (FISAUTOAUDIT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_XPLANORDER' AND KSQL_COL_NAME ='FISAUTODROP') 
 ALTER TABLE T_MRP_XPLANORDER ADD (FISAUTODROP CHAR(1) DEFAULT '0' NOT NULL );
