IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AP_INVMATCHIENTRY' AND KSQL_COL_NAME ='FEXPENSEITEM')
 ALTER TABLE T_AP_INVMATCHIENTRY ADD (FEXPENSEITEM BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AP_INVMATCHIENTRY' AND KSQL_COL_NAME ='FPRICE')
 ALTER TABLE T_AP_INVMATCHIENTRY ADD (FPRICE DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AP_INVMATCHIENTRY' AND KSQL_COL_NAME ='FBLUEINVNUM')
 ALTER TABLE T_AP_INVMATCHIENTRY ADD (FBLUEINVNUM NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AP_INVMATCHIENTRY' AND KSQL_COL_NAME ='FBLUEINVENTRYID')
 ALTER TABLE T_AP_INVMATCHIENTRY ADD (FBLUEINVENTRYID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AP_INVMATCHOBJAENTRY' AND KSQL_COL_NAME ='FPRICE')
 ALTER TABLE T_AP_INVMATCHOBJAENTRY ADD (FPRICE DECIMAL(23,10) DEFAULT 0 NOT NULL );
