IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_INVOICENTRY2_A' AND KSQL_COL_NAME ='FENTRYJDORDERID') 
 ALTER TABLE T_PUR_INVOICENTRY2_A ADD (FENTRYJDORDERID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_APTITUDE' AND KSQL_COL_NAME ='FTAXRATEID') 
 ALTER TABLE T_PUR_APTITUDE ADD (FTAXRATEID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_REGSUPPLIER' AND KSQL_COL_NAME ='FTAXRATEID') 
 ALTER TABLE T_PUR_REGSUPPLIER ADD (FTAXRATEID BIGINT DEFAULT 0 NOT NULL );

  IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_QUOTENTRY_A' AND KSQL_COL_NAME ='FCFMTAXRATEID') 
 ALTER TABLE T_PUR_QUOTENTRY_A ADD (FCFMTAXRATEID BIGINT DEFAULT 0 NOT NULL );