/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\AI_constraint.sql **/

EXEC p_DropIdx 'IDX_AI_BIZVOUCHER_ORG', 'T_AI_BIZVOUCHER';

IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_AI_BIZVOUCHER' AND KSQL_INDNAME = 'IDX_AI_BIZVOUCHER_ORGNUM') CREATE INDEX IDX_AI_BIZVOUCHER_ORGNUM ON T_AI_BIZVOUCHER ( FORGID ,FBOOKEDDATE ,FNUMBER ,FID );



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