/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\HDM_constraint.sql **/
EXEC p_DropIdx 'IDX_HDM_DOCUMENTORG', 'T_HDM_DOCUMENTORG';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HDM_DOCUMENTORG') CREATE INDEX IDX_HDM_DOCUMENTORG ON T_HDM_DOCUMENTORG ( FMID );

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