/**Begin D:\pdm\PDM_UPGRADE\pdm_new\RIM_constraint.sql **/
 EXEC p_AlterPK 'PK_T_RIM_INV_OVERSEA_ITEM', 'T_RIM_INV_OVERSEA_ITEM', 'fentryid', '1';
EXEC p_DropIdx 'IDX_ENTRY_ID', 'T_RIM_INV_OVERSEA_ITEM';
EXEC p_DropIdx 'IDX_ENTRY_LINE', 'T_RIM_INV_OVERSEA_ITEM';
EXEC p_DropIdx 'IDX_ID', 'T_RIM_INV_OVERSEA_ITEM';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_INV_OVERSEA_ITEM1') CREATE INDEX IDX_RIM_INV_OVERSEA_ITEM1 ON T_RIM_INV_OVERSEA_ITEM ( FID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RIM_INV_OVERSEA_ITEM2') CREATE INDEX IDX_RIM_INV_OVERSEA_ITEM2 ON T_RIM_INV_OVERSEA_ITEM ( FLINE );


/**End D:\pdm\PDM_UPGRADE\pdm_new\RIM_constraint.sql **/
