/**Begin D:\tool\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\RIM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_RIM_REIM_VOUCH_RELATION', 'T_RIM_REIM_VOUCH_RELATION', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_REIM_VOUCH_RELATION_FK') CREATE INDEX IDX_REIM_VOUCH_RELATION_FK ON T_RIM_REIM_VOUCH_RELATION ( FID );



/**End D:\tool\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\RIM_constraint.sql **/
