-- 运算日志分录增加字段：关联表单
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_CACULATELOGENTRY' AND KSQL_COL_NAME ='FASSOCIATEFORM')
ALTER TABLE T_MRP_CACULATELOGENTRY ADD (FASSOCIATEFORM VARCHAR(50) DEFAULT ' ' NOT NULL );