/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_ITEM_ENTRY' AND KSQL_COL_NAME ='FISCUSTOMTABLE') 
 ALTER TABLE T_TCCIT_ITEM_ENTRY ADD (FISCUSTOMTABLE CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_ITEM_FETCHENTRY' AND KSQL_COL_NAME ='FISCUSTOMTABLE') 
 ALTER TABLE T_TCCIT_ITEM_FETCHENTRY ADD (FISCUSTOMTABLE CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_DEPRECIATE_ACCOUN' AND KSQL_COL_NAME ='FISCUSTOMTABLE') 
 ALTER TABLE T_TCCIT_DEPRECIATE_ACCOUN ADD (FISCUSTOMTABLE CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_DEPRECIATE_NORMAL' AND KSQL_COL_NAME ='FISCUSTOMTABLE') 
 ALTER TABLE T_TCCIT_DEPRECIATE_NORMAL ADD (FISCUSTOMTABLE CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_DEPRECIATE_QUICK' AND KSQL_COL_NAME ='FISCUSTOMTABLE') 
 ALTER TABLE T_TCCIT_DEPRECIATE_QUICK ADD (FISCUSTOMTABLE CHAR(1) DEFAULT ' ' NOT NULL );

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