/**Begin D:\k3Cloud\PDM_UPGRADE\PDM1\MDS_constraint.sql **/
 EXEC P_ALTERPK 'PK_MRP_RESASSESSBILL', 'T_MRP_RESASSESSBILL', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_MRP_RESASSESSBILLENTRY', 'T_MRP_RESASSESSBILLENTRY', 'FENTRYID', '1';

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



/**End D:\k3Cloud\PDM_UPGRADE\PDM1\MDS_constraint.sql **/
