/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\ER_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_ER_INVOICE_QUERY') CREATE INDEX IDX_ER_INVOICE_QUERY ON T_ER_INVOICEINFO ( FINVOICETYPE ,FINVOICEDATE );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_ER_INVOICE_PUB_QUERY') CREATE INDEX IDX_ER_INVOICE_PUB_QUERY ON T_ER_PUBREIMINVOICEINFO ( FINVOICETYPE ,FINVOICEDATE );


/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\ER_constraint.sql **/
