IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_KDINVOICECFG' AND KSQL_COL_NAME ='FNONOFFSETCOMPUTOUTAOUNT') 
 ALTER TABLE T_ER_KDINVOICECFG ADD (FNONOFFSETCOMPUTOUTAOUNT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_KDINVOICECFG' AND KSQL_COL_NAME ='FNONOFFSETIMPORTTAXAMOUT') 
 ALTER TABLE T_ER_KDINVOICECFG ADD (FNONOFFSETIMPORTTAXAMOUT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_KDINVOICECFG' AND KSQL_COL_NAME ='FOFFSETONLYFROMINVOICE') 
 ALTER TABLE T_ER_KDINVOICECFG ADD (FOFFSETONLYFROMINVOICE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_KDINVOICECTRLCFG' AND KSQL_COL_NAME ='FNONOFFSETCOMPUTOUTAOUNT') 
 ALTER TABLE T_ER_KDINVOICECTRLCFG ADD (FNONOFFSETCOMPUTOUTAOUNT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_KDINVOICECTRLCFG' AND KSQL_COL_NAME ='FNONOFFSETIMPORTTAXAMOUT') 
 ALTER TABLE T_ER_KDINVOICECTRLCFG ADD (FNONOFFSETIMPORTTAXAMOUT CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_KDINVOICECTRLCFG' AND KSQL_COL_NAME ='FOFFSETONLYFROMINVOICE') 
 ALTER TABLE T_ER_KDINVOICECTRLCFG ADD (FOFFSETONLYFROMINVOICE CHAR(1) DEFAULT '0' NOT NULL );