--调拨申请单分录增加不更新库存字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_TRANSAPPLYENTRY' AND KSQL_COL_NAME ='FNOUPDATEINVFIELDS') 
 ALTER TABLE T_IM_TRANSAPPLYENTRY ADD(FNOUPDATEINVFIELDS VARCHAR(100) DEFAULT ' ' NOT NULL );
