/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\PUR_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PUR_INSTOCK_FSUPPLIERID') CREATE INDEX IDX_PUR_INSTOCK_FSUPPLIERID ON T_PUR_INSTOCK ( FSUPPLIERID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PUR_RECEIPT_FSUPPLIERID') CREATE INDEX IDX_PUR_RECEIPT_FSUPPLIERID ON T_PUR_RECEIPT ( FSUPPLIERID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PUR_ORDER_FSUPPLIERID') CREATE INDEX IDX_PUR_ORDER_FSUPPLIERID ON T_PUR_ORDER ( FSUPPLIERID );


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