/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BASE_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_BD_CUSTOMERGROUP_COMBINE') CREATE INDEX IDX_T_BD_CUSTOMERGROUP_COMBINE ON T_BD_CUSTOMERGROUP ( FSTANDARDID ,FPARENTID ,FCREATEORGID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_BD_SUPPLIERGROUP_COMBINE') CREATE INDEX IDX_T_BD_SUPPLIERGROUP_COMBINE ON T_BD_SUPPLIERGROUP ( FSTANDARDID ,FPARENTID ,FCREATEORGID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_BD_MATERIALGROUP_COMBINE') CREATE INDEX IDX_T_BD_MATERIALGROUP_COMBINE ON T_BD_MATERIALGROUP ( FSTANDARDID ,FPARENTID ,FCREATEORGID );


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