/**Begin D:\PDM_UPGRADE\PDM1\Physical Data _1_constraint.sql **/
 EXEC P_ALTERPK 'PK_FA_ASSETSPLITBILL', 'T_FA_ASSETSPLITBILL', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FA_ASSETSPLITBILL_FNO') CREATE INDEX IDX_FA_ASSETSPLITBILL_FNO ON T_FA_ASSETSPLITBILL ( FBILLNO );


 EXEC P_ALTERPK 'PK_T_FA_ASSETSPLITENTRY', 'T_FA_ASSETSPLITENTRY', 'FENTRYID', '1';

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


 EXEC P_ALTERPK 'PK_T_FA_ASSETSPLITENTRY_D', 'T_FA_ASSETSPLITENTRY_D', 'FDETAILID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FA_ASSETSPLITENTRY_D') CREATE INDEX IDX_FA_ASSETSPLITENTRY_D ON T_FA_ASSETSPLITENTRY_D ( FENTRYID );



/**End D:\PDM_UPGRADE\PDM1\Physical Data _1_constraint.sql **/
