/**Begin D:\PDM_UPGRADE\PDM1\MRP_table.sql **/
-- 模拟协同计划单
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_SIMCOLORDER' AND KSQL_COL_NAME ='FPROJECT')
 ALTER TABLE T_MRP_SIMCOLORDER ADD (FPROJECT BIGINT DEFAULT 0 NOT NULL );

-- 协同计划单
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_RATIVEORDER' AND KSQL_COL_NAME ='FPROJECT')
 ALTER TABLE T_MRP_RATIVEORDER ADD (FPROJECT BIGINT DEFAULT 0 NOT NULL );



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