/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SRC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_DECISIONSCENE' AND KSQL_COL_NAME ='FSCENESTATUS') 
 ALTER TABLE T_SRC_DECISIONSCENE ADD (FSCENESTATUS CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_DECISIONSCENE' AND KSQL_COL_NAME ='FPROJECTNO') 
 ALTER TABLE T_SRC_DECISIONSCENE ADD (FPROJECTNO VARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_NOTYEARINFO' AND KSQL_COL_NAME ='FENTRYAMOUNT') 
 ALTER TABLE T_SRC_NOTYEARINFO ADD (FENTRYAMOUNT DECIMAL(23,10) DEFAULT 0 NOT NULL );

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