-- 利库建议 修改表T_IM_INVADVICEENTRY，新增字段
-- 新增 供应库存组织 字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_INVADVICEENTRY' AND KSQL_COL_NAME IN ('FSUPPLYINVORGID'))
ALTER TABLE T_IM_INVADVICEENTRY ADD (FSUPPLYINVORGID BIGINT DEFAULT 0 NOT NULL);
