 -- 手工生成的索引 因为自动生成规则不允许索引第一个字段重复(应收单和预收单都有以forgid开头的索引)
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_AR_FIN_ORGASST') CREATE INDEX IDX_AR_FIN_ORGASST ON T_AR_FinArBill ( forgid, fasstactid, fsettlestatus, fcurrencyid );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_AR_BUS_ORGASSTUNWOFF') CREATE INDEX IDX_AR_BUS_ORGASSTUNWOFF ON T_AR_BusBill ( forgid, fasstactid, funwoffamt );
