/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TPO_table.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TPO_TCCIT_YEARITEMS' AND KSQL_COL_NAME IN ('FENTITY')) 
 ALTER TABLE T_TPO_TCCIT_YEARITEMS ADD (FENTITY VARCHAR(100) DEFAULT ' ' NOT NULL );
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TPO_TCCIT_YEARITEMS' AND KSQL_COL_NAME IN ('FFIELD')) 
 ALTER TABLE T_TPO_TCCIT_YEARITEMS ADD (FFIELD VARCHAR(100) DEFAULT ' ' NOT NULL );


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