/**Begin D:\PDM_UPGRADE\PDM1\FA_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_FA_RESTARTREALBILL_D', 'T_FA_RESTARTREALBILL_D', 'FENTRYID', '1';

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


 EXEC P_ALTERPK 'PK_FA_RESTARTREALBILL', 'T_FA_RESTARTREALBILL', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FA_RESTARTBILL_FORG') CREATE INDEX IDX_FA_RESTARTBILL_FORG ON T_FA_RESTARTREALBILL ( FORGID );



/**End D:\PDM_UPGRADE\PDM1\FA_constraint.sql **/
