/**Begin D:\d_desk\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_SIM_VATINVOICE2') CREATE INDEX IDX_SIM_VATINVOICE2 ON T_SIM_VATINVOICE ( FMAINTAXORG ,FISSUETIME ,FBASEINVOICETYPE ,FINVOICESTATUS );


/**End D:\d_desk\pdm\PDM_UPGRADE_1.1\PDM_UPGRADE\pdm1\SIM_constraint.sql **/
