/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\FMM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FMM_DEFAULTORG' AND KSQL_COL_NAME ='FALLOCPLAN') 
 ALTER TABLE T_FMM_DEFAULTORG ADD (FALLOCPLAN CHAR(1) DEFAULT '0' );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FMM_DEFAULTORG' AND KSQL_COL_NAME ='FISSUEPLAN') 
 ALTER TABLE T_FMM_DEFAULTORG ADD (FISSUEPLAN CHAR(1) DEFAULT '0' );

/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\FMM_table.sql **/
