/**Begin D:\PDM\PDM_UPGRADE\pdm1\BCM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BCM_DSLGADJUSTDATA', 'T_BCM_DSLGADJUSTDATA', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BCM_DSLGADJUSTDATA_EFPC') CREATE INDEX IDX_BCM_DSLGADJUSTDATA_EFPC ON T_BCM_DSLGADJUSTDATA ( FENTITY ,FFY ,FPERIOD ,FCURRENCY );


 EXEC P_ALTERPK 'PK_T_BCM_DSLGADJUSTDATA_L', 'T_BCM_DSLGADJUSTDATA_L', 'FPKID', '1';

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



/**End D:\PDM\PDM_UPGRADE\pdm1\BCM_constraint.sql **/
