IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_SALOUTBILLENTRY' AND KSQL_COL_NAME ='FKITPRODUCTTYPE') 
 ALTER TABLE T_IM_SALOUTBILLENTRY ADD (FKITPRODUCTTYPE NVARCHAR(30) DEFAULT 'standard' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_SALOUTBILLENTRY' AND KSQL_COL_NAME ='FKITPRODUCTID') 
 ALTER TABLE T_IM_SALOUTBILLENTRY ADD (FKITPRODUCTID BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_SALOUTBILLENTRY' AND KSQL_COL_NAME ='FPRICEMODEL') 
 ALTER TABLE T_IM_SALOUTBILLENTRY ADD (FPRICEMODEL NVARCHAR(30) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_SALOUTBILLENTRY' AND KSQL_COL_NAME ='FKITTRANSFERMODEL') 
 ALTER TABLE T_IM_SALOUTBILLENTRY ADD (FKITTRANSFERMODEL NVARCHAR(30) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_SALOUTBILLENTRY' AND KSQL_COL_NAME ='FPID') 
 ALTER TABLE T_IM_SALOUTBILLENTRY ADD (FPID BIGINT DEFAULT 0 NOT NULL );