/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TPO_constraint.sql **/
EXEC p_DropIdx 'IDX_TPO_DISCOUNT_ITEMS_L_0', 'T_TPO_DISCOUNT_ITEMS_L';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TPO_DISCOUNT_ITEMS_L_0') CREATE  CLUSTERED INDEX IDX_TPO_DISCOUNT_ITEMS_L_0 ON T_TPO_DISCOUNT_ITEMS_L ( FID ,FLOCALEID );


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